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.16, 1.1.2.17


From: Joseph Engo <address@hidden>
Subject: [Phpgroupware-cvs] api/skins/default account_mgr.xsl, 1.1.2.16, 1.1.2.17 acl_mgr.xsl, 1.1.2.3, 1.1.2.4
Date: Mon, 17 Nov 2003 23:39:09 +0000

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

Modified Files:
      Tag: proposal-branch
        account_mgr.xsl acl_mgr.xsl 
Log Message:
- The ACL manager is going to be split into 2 different styles.  Basic and 
advanced.  Basic is for normal adverage installs.  Advanced allows you to 
better define WHAT the user does or doesn't have access to.  The basic mode 
just grants you access to <app>.base
- Started making changes to the admin screens for new ACL manager
- View account is going to change quite a bit


Index: acl_mgr.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/api/skins/default/Attic/acl_mgr.xsl,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** acl_mgr.xsl 17 Nov 2003 21:05:09 -0000      1.1.2.3
--- acl_mgr.xsl 17 Nov 2003 23:39:07 -0000      1.1.2.4
***************
*** 58,62 ****
  </xsl:template>
  
! <xsl:template match="APP[action='acl_mgr_account']">
        <form>
        <xsl:for-each select="acl_options/acl_options_item">
--- 58,96 ----
  </xsl:template>
  
! <xsl:template name="acl_mgr_account_basic">
!       <table class="normalbox" cellSpacing="1" cellPadding="0" width="100%" 
border="0">
!               <tr> 
!                       <td class="sideboxtitle" align="center" height="28" 
width="100%">Basic ACL options</td>
!               </tr>
!               <tr>
!                       <td class="sideboxcontent" bgColor="#efefef">
!                               <table class="sideboxtext" cellSpacing="0" 
cellPadding="0" width="100%" border="0" valign="top">
!                                       <xsl:for-each 
select="/PHPGW/APP/acl_options/acl_options_item">
! 
!                                                       <xsl:if 
test="(position() mod 2) = 1">
!                                                               <tr 
class="sideboxtext">
!                                                                       <td 
width="50%">
!                                                                               
<input name="acl_allow[{app}.base]" type="checkbox" /><xsl:value-of 
select="title" />
!                                                                       </td>
!                                                                       <xsl:if 
test="following-sibling::acl_options_item[position() = 1]">
!                                                                               
<td width="33%" valign="top">
!                                                                               
        <xsl:variable name="app" 
select="following-sibling::acl_options_item/title[position() = 1]" />
!                                                                               
        <input name="acl_allow[{$app}.base]" type="checkbox" /><xsl:value-of 
select="following-sibling::acl_options_item/title[position() = 1]" />
!                                                                               
</td> 
!                                                                       
</xsl:if>
!                                                                       <td 
width="*">&#160;</td>       
!                                                               </tr>
!                                                       </xsl:if>
!                                               </xsl:for-each>
!                               </table>
!                       </td>
!               </tr>
!               <tr>
!                       <td align="right"><input type="submit" 
name="advanced_submit" value=">> Advanced" /></td>
!               </tr>
!       </table>
! </xsl:template>
! 
! <xsl:template match="APP[action='acl_mgr_account_advanced']">
        <form>
        <xsl:for-each select="acl_options/acl_options_item">
***************
*** 87,91 ****
                                                                <tr 
class="sideboxtext">
                                                                        <td 
width="33%" valign="top">
!                                                                               
<xsl:call-template name="acl_show_column">
                                                                                
        <xsl:with-param name="locations_item" select="current()" />
                                                                                
        <xsl:with-param name="app" select="$app" />
--- 121,127 ----
                                                                <tr 
class="sideboxtext">
                                                                        <td 
width="33%" valign="top">
!                                                                               
<xsl:call-template name="acl_show_column">              <xsl:sort select="app" 
/>
!               <xsl:variable name="app" select="app" />
! 
                                                                                
        <xsl:with-param name="locations_item" select="current()" />
                                                                                
        <xsl:with-param name="app" select="$app" />

Index: account_mgr.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/api/skins/default/Attic/account_mgr.xsl,v
retrieving revision 1.1.2.16
retrieving revision 1.1.2.17
diff -C2 -d -r1.1.2.16 -r1.1.2.17
*** account_mgr.xsl     15 Nov 2003 04:09:07 -0000      1.1.2.16
--- account_mgr.xsl     17 Nov 2003 23:39:07 -0000      1.1.2.17
***************
*** 66,96 ****
        <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">
--- 66,100 ----
        <input type="hidden" name="create_account_submit" value="True" />
  
!       <table width="95%" align="center">
                <tr>
!                       <td valign="top">
! 
!                               <table class="normalbox" cellSpacing="1" 
cellPadding="0" width="95%" 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">
***************
*** 138,141 ****
--- 142,152 ----
                        </td>
                </tr>
+       </table>
+               </td>
+               <td valign="top">
+                       <xsl:call-template name="acl_mgr_account_basic" />
+               </td>
+       </tr>
+ 
        </table>
        </form>





reply via email to

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