|
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="no"/>
<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 WIDTH="10%" VALIGN="top">
<STRONG>De:
</TD>
<TD WIDTH="40%" VALIGN="top">
<xsl:apply-templates select="HEADER/FROM"/>
</TD>
<TD WIDTH="10%" VALIGN="top">
<STRONG>Para:
</TD>
<TD WIDTH="40%" VALIGN="top">
<xsl:for-each select="HEADER/TO">
<xsl:apply-templates select="."/>
<BR/>
</xsl:for-each>
</TD>
</TR>
<TR>
<TD VALGIN="top">
<STRONG>Responder-a:
</TD>
<TD VALIGN="top">
<xsl:apply-templates select="HEADER/REPLY_TO"/>
<xsl:text disable-output-escaping="yes">
</TD>
<TD VALIGN="top">
<STRONG>CC:
</TD>
<TD VALIGN="top">
<xsl:for-each select="HEADER/CC">
<xsl:apply-templates select="."/>
<BR/>
</xsl:for-each>
<xsl:text disable-output-escaping="yes">
</TD>
</TR>
<TR>
<TD>
<STRONG>Fecha:
</TD>
<TD COLSPAN="3">
<xsl:apply-templates select="HEADER/DATE"/>
</TD>
</TR>
<TR>
<TD COLSPAN="4" ALIGN="right">Responder a este mensaje... -
<A HREF="{$base}/compose?session-id={$session-id}&folder-id={/USERMODEL/CURRENT[@type='folder']/@id}&message-nr={@msgnr}&forward=1">reenviar este mensaje...
</TR>
</TABLE>
<xsl:for-each select="PART">
<xsl:apply-templates select="."/>
</xsl:for-each>
<TABLE WIDTH="100%" BGCOLOR="#dddddd" CELLSPACING="0" BORDER="0">
<TR>
<FONT SIZE="-1">
<FORM ACTION="{$base}/folder/list?flag=1&session-id={$session-id}&folder-id={/USERMODEL/CURRENT[@type='folder']/@id}" METHOD="POST">
<TD>
<INPUT TYPE="HIDDEN" NAME="CH%{@msgnr}" VALUE="on"/>
<SELECT NAME="MARK">
<OPTION VALUE="MARK">colocar
<OPTION VALUE="UNMARK">borrar
</SELECT>
<STRONG>bandera del mensaje
<SELECT NAME="MESSAGE FLAG">
<OPTION VALUE="DELETED">borrado
<OPTION VALUE="SEEN">visto
<OPTION VALUE="ANSWERED">respondido
<OPTION VALUE="RECENT">reciente
<OPTION VALUE="DRAFT">borrador
</SELECT>
<INPUT TYPE="SUBMIT" NAME="flagmsgs" VALUE="Perform!"/>
</TD>
</FORM>
<FORM ACTION="{$base}/folder/showmsg?flag=1&session-id={$session-id}&folder-id={/USERMODEL/CURRENT[@type='folder']/@id}" METHOD="POST">
<TD>
<INPUT TYPE="HIDDEN" NAME="CH%{@msgnr}" VALUE="on"/>
<SELECT NAME="COPYMOVE">
<OPTION VALUE="COPY">copiar
<OPTION VALUE="MOVE">mover
</SELECT>
<STRONG>mensaje a la carpeta
<SELECT NAME="TO">
<xsl:for-each select="/USERMODEL/MAILHOST_MODEL//FOLDER">
<OPTION value="{@id}">
<xsl:value-of select="@name"/>
</OPTION>
</xsl:for-each>
</SELECT>
<INPUT TYPE="SUBMIT" NAME="copymovemsgs" VALUE="Perform!"/>
</TD>
</FORM>
</FONT>
</TR>
</TABLE>
<xsl:call-template name="navigation"/>
</xsl:template>
<xsl:template match="PART">
<xsl:choose>
<xsl:when test="@type='text' and @hidden='true'" />
<xsl:when test="@type='text' and not(@hidden='true')">
<PRE>
<xsl:for-each select="*">
<xsl:apply-templates select="."/>
</xsl:for-each>
</PRE>
</xsl:when>
<xsl:when test="@type='html'">
<xsl:for-each select="*">
<xsl:apply-templates select="."/>
</xsl:for-each>
</xsl:when>
<xsl:when test="@type='multi'">
<HR/>
<xsl:for-each select="PART">
<CENTER>
<EM>parte MIME
</CENTER>
<BR/>
<xsl:apply-templates select="."/>
<HR/>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<HR/>
<TABLE WIDTH="100%" BGCOLOR="#f7f3a8" CELLPADDING="0" CELLSPACING="0" BORDER="0">
<TR>
<TD>
<STRONG>Archivo adjunto
</TD>
<TD>
<A HREF="{$base}/showmime/{@filename}?session-id={$session-id}&msgid={ancestor::MESSAGE/@msgid}">
<xsl:value-of select="@filename"/>
<xsl:value-of select="@name"/>
</A>
</TD>
</TR>
<xsl:if test="@description != ''">
<TR>
<TD>
<STRONG>Descripción:
</TD>
<TD>
<xsl:value-of select="@description"/>
<xsl:text disable-output-escaping="yes">
</TD>
</TR>
</xsl:if>
<TR>
<TD>
<STRONG>Tipo:
</TD>
<TD>
<xsl:value-of select="@content-type"/>
</TD>
</TR>
<TR>
<TD>
<STRONG>Tamaño:
</TD>
<TD>
| ... 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.