phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] api/skins/default account_mgr.xsl, 1.1.2.13, 1.1.2.14


From: Joseph Engo <address@hidden>
Subject: [Phpgroupware-cvs] api/skins/default account_mgr.xsl, 1.1.2.13, 1.1.2.14
Date: Fri, 14 Nov 2003 03:26:19 +0000

Update of /cvsroot/phpgroupware/api/skins/default
In directory subversions:/tmp/cvs-serv7007/api/skins/default

Modified Files:
      Tag: proposal-branch
        account_mgr.xsl 
Log Message:
- Added a edit account screen, mainly to test history update ... edit account 
needs a lot of work
- Fixed update history, it wasn't working


Index: account_mgr.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/api/skins/default/Attic/account_mgr.xsl,v
retrieving revision 1.1.2.13
retrieving revision 1.1.2.14
diff -C2 -d -r1.1.2.13 -r1.1.2.14
*** account_mgr.xsl     9 Nov 2003 18:52:14 -0000       1.1.2.13
--- account_mgr.xsl     14 Nov 2003 03:26:17 -0000      1.1.2.14
***************
*** 142,145 ****
--- 142,227 ----
  </xsl:template>
  
+ <xsl:template match="APP[action_type='edit_account']">
+       <br />
+       <form method="POST">
+       <input type="hidden" name="edit_account_submit" value="True" />
+       <input type="hidden" name="account_id" value="{account_id}" />
+ 
+       <table class="normalbox" cellSpacing="1" cellPadding="0" width="40%" 
border="0">
+               <tr> 
+                       <td class="sideboxtitle" align="center" height="28" 
width="100%">Edit 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 
type="password" name="account_password" value="{account_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 
type="password" name="account_password_confirm" 
value="{account_password_confirm}" /></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">&#160;</td>
+                                       </tr>
+                                       <tr>
+                                               <td colspan="3">
+                                                       <table width="100%" 
border="0">
+                                                               <td 
align="left" width="24"><input type="image" name="op" 
src="{$api_image_path}/clearform.png" value="api.statecache.clear" alt="Clear 
Form" title="Clear Form" /></td>
+                                                               <td 
align="left" width="24"><input type="image" name="op" 
src="{$api_image_path}/pause.png" value="api.statecache.pause" alt="Place form 
on hold" title="Place form on hold" /></td>
+                                                               <td 
width="*">&#160;</td>
+                                                               <td 
align="right" width="24"><input type="image" name="op" 
src="{$api_image_path}/cancel.png" value="api.statecache.cancel" alt="Cancel" 
title="Cancel" /></td>
+                                                               <td 
align="right" width="24"><input type="image" name="op" 
src="{$api_image_path}/save.png" value="api.account_mgr.edit" alt="Save 
changes" title="Save changes" /></td>
+                                                       </table>
+                                               </td>
+                                               <td>&#160;</td>
+                                       </tr>
+                               </table>
+                       </td>
+               </tr>
+       </table>
+       </form>
+ 
+       <p>&#160;</p>
+ </xsl:template>
+ 
  <!-- FIXME: Re-create this form -->
  <xsl:template match="APP[action_type='view_account']">





reply via email to

[Prev in Thread] Current Thread [Next in Thread]