alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  
<TD WIDTH="60%" ALIGN="CENTER"> <FORM ACTION="{$base}/admin/login" METHOD="POST" NAME="loginForm"> <TABLE CELLSPACING="0" CELLPADDING="20" BORDER="4" bgcolor="#ff0000"> <TR> <TD ALIGN="CENTER"> <TABLE CELLSPACING="0" CELLPADDING="10" BORDER="0" bgcolor="#ff0000"> <TR> <TD COLSPAN="2" ALIGN="CENTER"> <IMG SRC="{$imgbase}/images/login_title.png" ALT="WebMail login"/> </TR> <TR> <TD WIDTH="50%" ALIGN="RIGHT">Login: <TD WIDTH="50%">Administrator </TR> <TR> <TD WIDTH="50%" ALIGN="RIGHT">Password: <TD WIDTH="50%"> </TR> <TR> <TD ALIGN="CENTER"> <TD ALIGN="CENTER"> </TR> </TABLE> </TD> </TR> </TABLE> </FORM> </TD> <TD WIDTH="20%"> </TD> </TR> <xsl:if test="/GENERICMODEL/STATEDATA/VAR[@name='invalid password']/@value = 'yes'"> <!-- START invalid pass --> <TR> <TD COLSPAN="3" ALIGN="CENTER"> <FONT COLOR="red" SIZE="+1"> Login incorrect. The passwords did not match or the name/password field was empty! Attempt will be logged. </FONT> </TD> </TR> <!-- END invalid pass --> </xsl:if> </TABLE> </BODY> </HTML> </xsl:template> </xsl:stylesheet>

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

<?xml version="1.0" encoding="UTF-8"?>
<!--
 * Copyright (C) 2000 Sebastian Schaffert
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:output method="html" indent="yes"/>
  
  <xsl:variable name="imgbase" select="/GENERICMODEL/STATEDATA/VAR[@name='img base uri']/@value"/>
  <xsl:variable name="base" select="/GENERICMODEL/STATEDATA/VAR[@name='base uri']/@value"/>

  <xsl:template match="/">
    
    <HTML>
      <HEAD>
        <TITLE>WebMail Administrator Login Screen
	<META CONTENT="AUTHOR" VALUE="Sebastian Schaffert"/>
      </HEAD>
      
      <BODY bgcolor="#ffffff">
	<TABLE WIDTH="100%">
	  <TR>
	    <TD COLSPAN="3" ALIGN="CENTER" HEIGHT="70">
	    </TD>
	  </TR>
	  <TR>
	    <TD WIDTH="20%" VALIGN="TOP">Java powered
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.