|
What this is
Other links
The source code
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
* 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="/USERMODEL/STATEDATA/VAR[@name='img base uri']/@value"/>
<xsl:variable name="base" select="/USERMODEL/STATEDATA/VAR[@name='base uri']/@value"/>
<xsl:variable name="session-id" select="/USERMODEL/STATEDATA/VAR[@name='session id']/@value"/>
<xsl:template match="/">
<HTML>
<HEAD>
<TITLE>WebMail Casilla de correos para |
</TR>
<TR>
<TD COLSPAN="4" BGCOLOR="#aaaaaa" ALIGN="CENTER">
<EM>
<FONT SIZE="+1">Preferencias personales
</EM>
</TD>
</TR>
<TR>
<TD WIDTH="10%">
<STRONG>Nombre completo:
</TD>
<TD WIDTH="40%">
<INPUT TYPE="TEXT" NAME="FULLNAME" VALUE="{normalize-space(/USERMODEL/USERDATA/FULL_NAME)}" SIZE="30"/>
</TD>
<TD WIDTH="10%">
<STRONG>Contraseña:
</TD>
<TD WIDTH="40%">
<INPUT TYPE="PASSWORD" NAME="PASSWORD" SIZE="10"/>
</TD>
</TR>
<TR>
<TD>
<STRONG>Idioma:
</TD>
<TD>
<SELECT NAME="LANGUAGE">
<xsl:for-each select="/USERMODEL/STATEDATA/VAR[@name='language']">
<xsl:choose>
<xsl:when test="@value = /USERMODEL/USERDATA/LOCALE">
<OPTION selected="selected">
<xsl:apply-templates select="."/>
</OPTION>
</xsl:when>
<xsl:otherwise>
<OPTION>
<xsl:apply-templates select="."/>
</OPTION>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</SELECT>
</TD>
<TD WIDTH="10%">
<STRONG>Verificar:
</TD>
<TD WIDTH="40%">
<INPUT TYPE="PASSWORD" NAME="VERIFY" SIZE="10"/>
</TD>
</TR>
<TR>
<TD COLSPAN="4" BGCOLOR="#aaaaaa" ALIGN="CENTER">
<EM>
<FONT SIZE="+1">Casilla de correo opciones de presentación
</EM>
</TD>
</TR>
<TR>
<TD>
<STRONG>Mensajes por página
</TD>
<TD>
<INPUT TYPE="TEXT" NAME="intvar%max show messages" SIZE="3" VALUE="{/USERMODEL/USERDATA/INTVAR[@name='max show messages']/@value}"/>
</TD>
<TD>
<STRONG>Tamaño de la barra de navegación
</TD>
<TD>
<INPUT TYPE="TEXT" NAME="intvar%icon size" SIZE="3" VALUE="{/USERMODEL/USERDATA/INTVAR[@name='icon size']/@value}"/>
</TD>
</TR>
<TR>
<TD>
<STRONG>Mostras detalles superfluos
</TD>
<TD>
<xsl:choose>
<xsl:when test="/USERMODEL/USERDATA/BOOLVAR[@name='show fancy']/@value = 'yes'">
<INPUT TYPE="CHECKBOX" NAME="boolvar%show fancy" checked="checked"/>
</xsl:when>
<xsl:otherwise>
<INPUT TYPE="CHECKBOX" NAME="boolvar%show fancy"/>
</xsl:otherwise>
</xsl:choose>
</TD>
<TD>
<STRONG>Mostrar atrib. de imágenes
</TD>
<TD>
<xsl:choose>
<xsl:when test="/USERMODEL/USERDATA/BOOLVAR[@name='show images']/@value = 'yes'">
<INPUT TYPE="CHECKBOX" NAME="boolvar%show images" checked="checked"/>
</xsl:when>
<xsl:otherwise>
<INPUT TYPE="CHECKBOX" NAME="boolvar%show images"/>
</xsl:otherwise>
</xsl:choose>
</TD>
</TR>
<TR>
<TD>
<STRONG>Autoexpunge* carpetas
</TD>
<TD>
<xsl:choose>
<xsl:when test="/USERMODEL/USERDATA/BOOLVAR[@name='autoexpunge']/@value = 'yes'">
<INPUT TYPE="CHECKBOX" NAME="boolvar%autoexpunge" checked="checked"/>
</xsl:when>
<xsl:otherwise>
<INPUT TYPE="CHECKBOX" NAME="boolvar%autoexpunge"/>
</xsl:otherwise>
</xsl:choose>
</TD>
<TD>
<STRONG>Colocar banderas de mensajes
</TD>
<TD>
<xsl:choose>
<xsl:when test="/USERMODEL/USERDATA/BOOLVAR[@name='set message flags']/@value = 'yes'">
<INPUT TYPE="CHECKBOX" NAME="boolvar%set message flags" checked="checked"/>
</xsl:when>
<xsl:otherwise>
<INPUT TYPE="CHECKBOX" NAME="boolvar%set message flags"/>
</xsl:otherwise>
</xsl:choose>
</TD>
</TR>
<TR>
<TD>
<STRONG>Cortar líneas (vista y redacción)
</TD>
<TD>
<xsl:choose>
<xsl:when test="/USERMODEL/USERDATA/BOOLVAR[@name='break lines']/@value = 'yes'">
<INPUT TYPE="CHECKBOX" NAME="boolvar%break lines" checked="checked"/>
</xsl:when>
<xsl:otherwise>
<INPUT TYPE="CHECKBOX" NAME="boolvar%break lines"/>
</xsl:otherwise>
</xsl:choose>
</TD>
<TD>
<STRONG>long. max. de la línea
</TD>
<TD>
<INPUT TYPE="TEXT" NAME="intvar%max line length" SIZE="3" VALUE="{/USERMODEL/USERDATA/INTVAR[@name='max line length']/@value}"/>
</TD>
</TR>
<TR>
<TD COLSPAN="4" BGCOLOR="#aaaaaa" ALIGN="CENTER">
<EM>
<FONT SIZE="+1">Preferencias de redacción
</EM>
</TD>
</TR>
<TR>
<TD>
<STRONG>Guardar mensaje enviado
</TD>
<TD>
<xsl:choose>
<xsl:when test="/USERMODEL/USERDATA/BOOLVAR[@name='save sent messages']/@value = 'yes'">
<INPUT TYPE="CHECKBOX" NAME="boolvar%save sent messages" checked="checked"/>
</xsl:when>
<xsl:otherwise>
<INPUT TYPE="CHECKBOX" NAME="boolvar%save sent messages"/>
</xsl:otherwise>
</xsl:choose>
</TD>
<TD>en la carpeta
<TD>
<SELECT NAME="SENTFOLDER">
<xsl:for-each select="/USERMODEL/MAILHOST_MODEL//FOLDER">
<xsl:choose>
<xsl:when test="normalize-space(/USERMODEL/USERDATA/SENT_FOLDER) = @id">
<OPTION value="{@id}" selected="selected">
<xsl:value-of select="@name"/>
</OPTION>
</xsl:when>
<xsl:otherwise>
<OPTION value="{@id}">
<xsl:value-of select="@name"/>
</OPTION>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</SELECT>
</TD>
</TR>
<TR>
<TD>
<STRONG>Dirección de correoE:
</TD>
<TD COLSPAN="3">
<INPUT TYPE="TEXT" NAME="EMAIL" SIZE="40" VALUE="{normalize-space(/USERMODEL/USERDATA/EMAIL)}"/>
</TD>
</TR>
<TR>
<TD VALIGN="TOP">
<STRONG>Firma:
</TD>
<TD COLSPAN="3">
<TEXTAREA ROWS="5" COLS="79" NAME="SIGNATURE">
<xsl:value-of select="/USERMODEL/USERDATA/SIGNATURE"/>
</TEXTAREA>
</TD>
</TR>
<TR>
<TD COLSPAN="2" BGCOLOR="#aaaaaa">
<CENTER>
<INPUT TYPE="submit" VALUE="Submit"/>
</CENTER>
</TD>
<TD COLSPAN="2" BGCOLOR="#aaaaaa">
<CENTER>
<INPUT TYPE="reset" VALUE="Reset"/>
</CENTER>
</TD>
</TR>
</TABLE>
</FORM>
</BODY>
</HTML>
</xsl:template>
<xsl:template match="/USERMODEL/STATEDATA/VAR">
<xsl:value-of select="@value"/>
</xsl:template>
</xsl:stylesheet>
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
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.