[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.9, 1.1.2.10
From: |
Joseph Engo <address@hidden> |
Subject: |
[Phpgroupware-cvs] api/skins/default account_mgr.xsl, 1.1.2.9, 1.1.2.10 |
Date: |
Mon, 03 Nov 2003 12:16:14 +0000 |
Update of /cvsroot/phpgroupware/api/skins/default
In directory subversions:/tmp/cvs-serv7803/api/skins/default
Modified Files:
Tag: proposal-branch
account_mgr.xsl
Log Message:
More work on the state caching, it should be working correctly now
Index: account_mgr.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/api/skins/default/Attic/account_mgr.xsl,v
retrieving revision 1.1.2.9
retrieving revision 1.1.2.10
diff -C2 -d -r1.1.2.9 -r1.1.2.10
*** account_mgr.xsl 3 Nov 2003 10:52:38 -0000 1.1.2.9
--- account_mgr.xsl 3 Nov 2003 12:16:12 -0000 1.1.2.10
***************
*** 59,66 ****
</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 />
--- 59,67 ----
</xsl:template>
+ <xsl:template match="APP/form_state_values">
+
+ </xsl:template>
+
<xsl:template match="APP/add_account">
<br />
***************
*** 77,81 ****
<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">
--- 78,91 ----
<tr>
<td>Login ID:</td>
! <xsl:choose>
! <xsl:when
test="count(/PHPGW/APP/form_state_values) > 0">
! <xsl:variable
name="account_lid" select="/PHPGW/APP/form_state_values/account_lid" />
! <td
align="right"><input name="account_lid" value="{$account_lid}" /></td>
! </xsl:when>
! <xsl:otherwise>
! <xsl:variable
name="account_lid" select="account_lid" />
! <td
align="right"><input name="account_lid" value="{$account_lid}" /></td>
! </xsl:otherwise>
! </xsl:choose>
<td align="right">
<xsl:if
test="missing_fields/account_lid = 1">
***************
*** 86,90 ****
<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">
--- 96,109 ----
<tr>
<td>First Name:</td>
! <xsl:choose>
! <xsl:when
test="count(/PHPGW/APP/form_state_values) > 0">
! <xsl:variable
name="account_firstname"
select="/PHPGW/APP/form_state_values/account_firstname" />
! <td
align="right"><input name="account_firstname" value="{$account_firstname}"
/></td>
! </xsl:when>
! <xsl:otherwise>
! <xsl:variable
name="account_firstname" select="account_firstname" />
! <td
align="right"><input name="account_firstname" value="{$account_firstname}"
/></td>
! </xsl:otherwise>
! </xsl:choose>
<td align="right">
<xsl:if
test="missing_fields/account_firstname = 1">
***************
*** 95,99 ****
<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">
--- 114,127 ----
<tr>
<td>Last Name:</td>
! <xsl:choose>
! <xsl:when
test="count(/PHPGW/APP/form_state_values) > 0">
! <xsl:variable
name="account_lastname" select="/PHPGW/APP/form_state_values/account_lastname"
/>
! <td
align="right"><input name="account_lastname" value="{$account_lastname}" /></td>
! </xsl:when>
! <xsl:otherwise>
! <xsl:variable
name="account_lastname" select="account_lastname" />
! <td
align="right"><input name="account_lastname" value="{$account_lastname}" /></td>
! </xsl:otherwise>
! </xsl:choose>
<td align="right">
<xsl:if
test="missing_fields/account_lastname = 1">
***************
*** 104,108 ****
<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">
--- 132,145 ----
<tr>
<td>Password:</td>
! <xsl:choose>
! <xsl:when
test="count(/PHPGW/APP/form_state_values) > 0">
! <xsl:variable
name="account_password" select="/PHPGW/APP/form_state_values/account_password"
/>
! <td
align="right"><input type="password" name="account_password"
value="{$account_password}" /></td>
! </xsl:when>
! <xsl:otherwise>
! <xsl:variable
name="account_password" select="account_password" />
! <td
align="right"><input type="password" name="account_password"
value="{$account_password}" /></td>
! </xsl:otherwise>
! </xsl:choose>
<td align="right">
<xsl:if
test="missing_fields/account_password = 1">
***************
*** 113,117 ****
<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">
--- 150,163 ----
<tr>
<td>Re-enter Password:</td>
! <xsl:choose>
! <xsl:when
test="count(/PHPGW/APP/form_state_values) > 0">
! <xsl:variable
name="account_password_confirm"
select="/PHPGW/APP/form_state_values/account_password_confirm" />
! <td
align="right"><input type="password" name="account_password_confirm"
value="{$account_password_confirm}" /></td>
! </xsl:when>
! <xsl:otherwise>
! <xsl:variable
name="account_password_confirm" select="account_password_confirm" />
! <td
align="right"><input type="password" name="account_password_confirm"
value="{$account_password_confirm}" /></td>
! </xsl:otherwise>
! </xsl:choose>
<td align="right">
<xsl:if
test="missing_fields/account_password_confirm = 1">
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] api/skins/default account_mgr.xsl, 1.1.2.9, 1.1.2.10,
Joseph Engo <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] api/skins/default docs.xsl,NONE,1.1.2.1
- Next by Date:
[Phpgroupware-cvs] api class.account_mgr.php, 1.1.2.13, 1.1.2.14 class.base.php, 1.1.1.1.2.16, 1.1.1.1.2.17 class.phpgw.php, 1.1.1.1.2.25, 1.1.1.1.2.26 starter.inc.php, 1.1.1.1.2.17, 1.1.1.1.2.18
- Previous by thread:
[Phpgroupware-cvs] api/skins/default docs.xsl,NONE,1.1.2.1
- Next by thread:
[Phpgroupware-cvs] api class.account_mgr.php, 1.1.2.13, 1.1.2.14 class.base.php, 1.1.1.1.2.16, 1.1.1.1.2.17 class.phpgw.php, 1.1.1.1.2.25, 1.1.1.1.2.26 starter.inc.php, 1.1.1.1.2.17, 1.1.1.1.2.18
- Index(es):