<?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="/GENERICMODEL/STATEDATA/VAR[@name='img base uri']/@value"/>
<xsl:variable name="base" select="/GENERICMODEL/STATEDATA/VAR[@name='base uri']/@value"/>
<xsl:variable name="session-id" select="/GENERICMODEL/STATEDATA/VAR[@name='session id']/@value"/>
<xsl:variable name="ud" select="/GENERICMODEL/STATEDATA/USERDATA"/>
<xsl:template match="/">
<HTML>
<HEAD>
<xsl:choose>
<xsl:when test="$ud != ''">
<TITLE>WebMail Administration Interface: User Setup for user
</xsl:when>
<xsl:otherwise>
<TITLE>WebMail Administration Interface: Creating new user
</xsl:otherwise>
</xsl:choose>
<META CONTENT="AUTHOR" VALUE="Sebastian Schaffert"/>
</HEAD>
<BODY BGCOLOR="white">
<FORM ACTION="{$base}/admin/user/edit?session-id={$session-id}" METHOD="POST">
<TABLE WIDTH="100%" CELLSPACING="0" CELLPADDING="0">
<TR bgcolor="#dddddd">
<xsl:choose>
<xsl:when test="$ud != ''">
<TD COLSPAN="4" ALIGN="center">Editing user , Domain