[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] api/skins/default account_mgr.xsl, 1.1.2.1, 1.1.2.2
From: |
Joseph Engo <address@hidden> |
Subject: |
[Phpgroupware-cvs] api/skins/default account_mgr.xsl, 1.1.2.1, 1.1.2.2 |
Date: |
Sun, 26 Oct 2003 04:57:29 +0000 |
Update of /cvsroot/phpgroupware/api/skins/default
In directory subversions:/tmp/cvs-serv3868/api/skins/default
Modified Files:
Tag: proposal-branch
account_mgr.xsl
Log Message:
Created the admin view account and add account screens
Index: account_mgr.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/api/skins/default/Attic/account_mgr.xsl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** account_mgr.xsl 26 Oct 2003 02:16:53 -0000 1.1.2.1
--- account_mgr.xsl 26 Oct 2003 04:57:27 -0000 1.1.2.2
***************
*** 2,5 ****
--- 2,7 ----
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output indent="yes"/>
+ <!-- $Id$ -->
+ <!-- $Source$ -->
<xsl:template match="APP/accounts">
***************
*** 54,57 ****
--- 56,190 ----
</table>
<p> </p>
+ </xsl:template>
+
+ <xsl:template match="APP/add_account">
+ <xsl:variable name="account_lid" select="account_lid" />
+ <xsl:variable name="account_firstname" select="account_firstname" />
+ <xsl:variable name="account_lastname" select="account_lastname" />
+
+ <br />
+ <form method="POST">
+ <input type="hidden" name="create_account_submit" value="True" />
+
+ <table class="normalbox" cellSpacing="1" cellPadding="0" width="40%"
border="0">
+ <tr>
+ <td class="sideboxtitle" align="center" height="28"
width="100%">Create new account</td>
+ </tr>
+ <tr>
+ <td class="sideboxcontent" bgColor="#efefef">
+ <table class="sideboxtext" cellSpacing="0"
cellPadding="0" width="100%" border="0" valign="top">
+ <tr>
+ <td>Login ID:</td>
+ <td align="right"><input
name="account_lid" value="{$account_lid}" /></td>
+ <td align="right">
+ <xsl:if
test="missing_fields/account_lid = 1">
+ <font
color="#CC0000">*</font>
+ </xsl:if>
+ </td>
+ </tr>
+ <tr>
+ <td>First Name:</td>
+ <td align="right"><input
name="account_firstname" value="{$account_firstname}" /></td>
+ <td align="right">
+ <xsl:if
test="missing_fields/account_firstname = 1">
+ <font
color="#CC0000">*</font>
+ </xsl:if>
+ </td>
+ </tr>
+ <tr>
+ <td>Last Name:</td>
+ <td align="right"><input
name="account_lastname" value="{$account_lastname}" /></td>
+ <td align="right">
+ <xsl:if
test="missing_fields/account_lastname = 1">
+ <font
color="#CC0000">*</font>
+ </xsl:if>
+ </td>
+ </tr>
+ <tr>
+ <td>Password:</td>
+ <td align="right"><input
name="account_password" value="" type="password" /></td>
+ <td align="right">
+ <xsl:if
test="missing_fields/account_password = 1">
+ <font
color="#CC0000">*</font>
+ </xsl:if>
+ </td>
+ </tr>
+ <tr>
+ <td>Re-enter Password:</td>
+ <td align="right"><input
name="account_password_confirm" value="" type="password"/></td>
+ <td align="right">
+ <xsl:if
test="missing_fields/account_password_confirm = 1">
+ <font
color="#CC0000">*</font>
+ </xsl:if>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="3"> </td>
+ </tr>
+ <tr>
+ <td align="left"><input
type="image" name="op" src="{$api_image_path}/cancel.png"
value="api.admin.start" /></td>
+ <td align="right"><input
type="image" name="op" src="{$api_image_path}/save.png"
value="api.account_mgr.create" /></td>
+ <td> </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </form>
+
+ <p> </p>
+ </xsl:template>
+
+ <!-- FIXME: Re-create this form -->
+ <xsl:template match="APP/view_account">
+ <br />
+ <form method="POST">
+ <table class="normalbox" cellSpacing="1" cellPadding="0" width="40%"
border="0">
+ <tr>
+ <td class="sideboxtitle" align="center" height="28"
width="100%">View account</td>
+ </tr>
+ <tr>
+ <td class="sideboxcontent" bgColor="#efefef">
+ <table class="sideboxtext" cellSpacing="0"
cellPadding="0" width="50%" border="0" valign="top" align="center">
+ <tr>
+ <td>Login ID:</td>
+ <td align="right"><xsl:value-of
select="lid" /></td>
+ </tr>
+ <tr>
+ <td>First Name:</td>
+ <td align="right"><xsl:value-of
select="firstname" /></td>
+ </tr>
+ <tr>
+ <td>Last Name:</td>
+ <td align="right"><xsl:value-of
select="lastname" /></td>
+ </tr>
+ <tr>
+ <td>Expires:</td>
+ <td align="right"><xsl:value-of
select="expires" /></td>
+ </tr>
+ <tr>
+ <td>Status:</td>
+ <td align="right">
+ <xsl:choose>
+ <xsl:when test="status
= 'A'">
+ Active
+ </xsl:when>
+ <xsl:otherwise>
+ <b>Disabled</b>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"> </td>
+ </tr>
+ <tr>
+ <td colspan="2"
align="right"><input type="image" name="op" src="{$api_image_path}/cancel.png"
value="api.admin.start" alt="Done" title="Done" /></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </form>
</xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] api/skins/default account_mgr.xsl, 1.1.2.1, 1.1.2.2,
Joseph Engo <address@hidden> <=