| career | drupal | java | mac | mysql | perl | scala | uml | unix  
</TR> </TABLE> <TABLE WIDTH="100%"> <xsl:for-each select="/USERMODEL/MAILHOST_MODEL"> <xsl:apply-templates select="."/> </xsl:for-each> </TABLE> <P> Carpetas mostradas en <STRONG>bold can hold subfolders, folders that are displayed normal cannot hold subfolders. Folders displayed in italic are hidden (in the main mailbox view), others are not. </P> <P>¡Advertencia! If you delete a folder, all messages (and subfolders) in it will be borrado not only from WebMail but físicamente desde el servidor* de correo! This is dangerous and cannot be undone! </P> </BODY> </HTML> </xsl:template> <xsl:template match="/USERMODEL/USERDATA/INTVAR"> <xsl:value-of select="@value"/> </xsl:template> <xsl:template match="/USERMODEL/STATEDATA/VAR"> <xsl:value-of select="@value"/> </xsl:template> <xsl:template match="/USERMODEL/MAILHOST_MODEL"> <TR BGCOLOR="#dddddd"> <TD COLSPAN="{/USERMODEL/STATEDATA/VAR[@name='max folder depth']/@value}" WIDTH="50%"> <STRONG> <FONT COLOR="green"> <xsl:value-of select="@name"/> </FONT> </STRONG> </TD> <TD WIDTH="50%">Host: </TR> <xsl:for-each select="FOLDER"> <xsl:apply-templates select="."/> </xsl:for-each> </xsl:template> <xsl:template match="FOLDER"> <xsl:variable name="level" select="count(ancestor::FOLDER)"/> <TR> <xsl:call-template name="recurse folder"> <xsl:with-param name="level" select="$level"/> </xsl:call-template> <TD> <IMG SRC="{$imgbase}/images/icon-folder.png"/> </TD> <xsl:choose> <xsl:when test="@holds_folders = 'true'"> <TD COLSPAN="{/USERMODEL/STATEDATA/VAR[@name='max folder depth']/@value - $level - 1}"> <xsl:choose> <xsl:when test="@subscribed = 'true'"> <STRONG> <xsl:value-of select="@name"/> </STRONG> </xsl:when> <xsl:otherwise> <EM> <STRONG> <xsl:value-of select="@name"/> </STRONG> </EM> </xsl:otherwise> </xsl:choose> </TD> <TD>Agregar subcarpeta - Borrar esta carpeta (y todas las subcarpetas) - <xsl:choose>OcultarNo_ocultar </xsl:when> <xsl:otherwise> <TD COLSPAN="{/USERMODEL/STATEDATA/VAR[@name='max folder depth']/@value - $level - 1}"> <xsl:choose> <xsl:when test="@subscribed = 'true'"> <xsl:value-of select="@name"/> </xsl:when> <xsl:otherwise> <EM> <xsl:value-of select="@name"/> </EM> </xsl:otherwise> </xsl:choose> </TD> <TD>Borrar esta carpeta - <xsl:choose>OcultarNo_ocultar </xsl:otherwise> </xsl:choose> </TR> <xsl:for-each select="FOLDER"> <xsl:apply-templates select="."/> </xsl:for-each> </xsl:template> <!-- Create an appropriate number of before a folder, depending on the level --> <xsl:template name="recurse folder"> <xsl:if test="$level>0"> <TD/> <xsl:variable name="levelneu" select="$level - 1"/> <xsl:call-template name="recurse folder"> <xsl:with-param name="level" select="$levelneu"/> </xsl:call-template> </xsl:if> </xsl:template> </xsl:stylesheet>

What this is

This file is included in the "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="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
 * 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="" 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="/">
        <TITLE>WebMail Casilla de entrada para : Folder Setup
        <META CONTENT="AUTHOR" VALUE="Sebastian Schaffert"/>
      <BODY bgcolor="#ffffff">
        <TABLE BGCOLOR="#dddddd" CELLSPACING="0" BORDER="0" WIDTH="100%">
            <TD VALIGN="CENTER">
              <IMG SRC="{$imgbase}/images/btn-folders.png"/>
            <TD VALIGN="CENTER" COLSPAN="2">JWebmail Configuración de Carpetas para  (Ayuda)
Nombre de usuario
La cuenta existe desde
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller


new blog posts


Copyright 1998-2021 Alvin Alexander,
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.