|
What this is
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" encoding="UTF-8"/>
<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 Mailbox for |
<TD WIDTH="3%" BGCOLOR="#dddddd">Nr
<TD WIDTH="5%" BGCOLOR="#dddddd">Flags
<TD WIDTH="35%" BGCOLOR="#dddddd">Subject
<TD WIDTH="24%" BGCOLOR="#dddddd">Sender
<TD WIDTH="24%" BGCOLOR="#dddddd">Date
<TD WIDTH="6%" BGCOLOR="#dddddd">Size
</TR>
<xsl:for-each select="MESSAGE[number(@msgnr) >= number(/USERMODEL/CURRENT[@type='folder']/@first_msg) and number(@msgnr) <= number(/USERMODEL/CURRENT[@type='folder']/@last_msg)]">
<xsl:sort select="@msgnr" data-type="number" order="descending"/>
<!--
<xsl:variable name="bgcolor" select="#ffffff"/>
-->
<xsl:choose>
<xsl:when test="@msgnr mod 2 = 1">
<TR bgcolor="#f7f3a8">
<xsl:call-template name="headerrow"/>
</TR>
</xsl:when>
<xsl:otherwise>
<TR>
<xsl:call-template name="headerrow"/>
</TR>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</TABLE>
<TABLE WIDTH="100%" BGCOLOR="#dddddd" CELLSPACING="0" BORDER="0">
<TR>
<FONT SIZE="-1">
<TD>
<SELECT NAME="MARK">
<OPTION VALUE="MARK">set
<OPTION VALUE="UNMARK">remove
</SELECT>
<STRONG>message flag
<SELECT NAME="MESSAGE FLAG">
<OPTION VALUE="DELETED">deleted
<OPTION VALUE="SEEN">seen
<OPTION VALUE="ANSWERED">answered
<OPTION VALUE="RECENT">recent
<OPTION VALUE="DRAFT">draft
</SELECT>
<INPUT TYPE="SUBMIT" NAME="flagmsgs" VALUE="Perform!"/>
</TD>
<TD>
<SELECT NAME="COPYMOVE">
<OPTION VALUE="COPY">copy
<OPTION VALUE="MOVE">move
</SELECT>
<STRONG>messages to folder
<SELECT NAME="TO">
<xsl:for-each select="/USERMODEL/MAILHOST_MODEL//FOLDER">
<OPTION value="{@id}">
| ... 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.