|
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:variable name="work" select="/USERMODEL/WORK/MESSAGE[position()=1]"/>
<xsl:template match="/">
<HTML>
<HEAD>
<TITLE>WebMail Bandeja de Entrada para |
</TR>
<TR>
<TD>
<STRONG>Para:
</TD>
<TD>
<INPUT TYPE="TEXT" NAME="TO" SIZE="40" VALUE="{$work/HEADER/TO}"/>
</TD>
<TD>
<STRONG>CopiaCarbono:
</TD>
<TD>
<INPUT TYPE="TEXT" NAME="CC" SIZE="40" VALUE="{$work/HEADER/CC}"/>
</TD>
</TR>
<TR>
<TD>
<STRONG>Responder-a:
</TD>
<TD>
<INPUT TYPE="TEXT" NAME="REPLY-TO" SIZE="40" VALUE="{$work/HEADER/REPLY_TO}"/>
</TD>
<TD>
<STRONG>Copia Carbono Oculta:
</TD>
<TD>
<INPUT TYPE="TEXT" NAME="BCC" SIZE="40" VALUE="{$work/HEADER/BCC}"/>
</TD>
</TR>
<TR>
<TD>
<STRONG>Asunto:
</TD>
<TD COLSPAN="3">
<INPUT TYPE="TEXT" NAME="SUBJECT" SIZE="80" VALUE="{$work/HEADER/SUBJECT}"/>
</TD>
</TR>
<TR>
<TD>
<STRONG>Agregar:
</TD>
<TD COLSPAN="3">
<xsl:for-each select="$work/PART[position()=1]//PART[@type='binary']">
<xsl:apply-templates select="."/>
</xsl:for-each>
<xsl:text disable-output-escaping="yes">
</TD>
</TR>
<TR>
<TD COLSPAN="2" ALIGN="LEFT">
<INPUT TYPE="SUBMIT" VALUE="Send message..." NAME="SEND"/>
</TD>
<TD COLSPAN="2" ALIGN="RIGHT">
<INPUT TYPE="SUBMIT" VALUE="Attach files..." NAME="ATTACH"/>
</TD>
</TR>
<TR>
<TD COLSPAN="4" BGCOLOR="#ffffff" ALIGN="CENTER">
<TEXTAREA NAME="BODY" COLS="79" ROWS="50">
<xsl:for-each select="$work/PART[position()=1]/PART[position()=1]/CONTENT">
<xsl:apply-templates select="."/>
</xsl:for-each>
</TEXTAREA>
</TD>
</TR>
<TR>
<TD COLSPAN="2" ALIGN="LEFT">
<INPUT TYPE="SUBMIT" VALUE="Send message..." NAME="SEND"/>
</TD>
<TD COLSPAN="2" ALIGN="RIGHT">
<INPUT TYPE="SUBMIT" VALUE="Attach files..." NAME="ATTACH"/>
</TD>
</TR>
</TABLE>
</FORM>
</BODY>
</HTML>
</xsl:template>
<!-- All parts that are attachments (= have a file name) should be displayed with their name and
size only -->
<xsl:template match="PART">
<xsl:if test="@filename != ''">
| ... 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.