phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] api/skins/default acl_mgr.xsl,1.1.2.6,1.1.2.7


From: Joseph Engo <address@hidden>
Subject: [Phpgroupware-cvs] api/skins/default acl_mgr.xsl,1.1.2.6,1.1.2.7
Date: Mon, 01 Dec 2003 07:36:38 +0000

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

Modified Files:
      Tag: proposal-branch
        acl_mgr.xsl 
Log Message:
- Added a possiable table structure for acl_locations
  *You will have to re-create your tables for this*
- Create account will show the basic ACL locations
- Added a few example acl_locations and a few actual working ones


Index: acl_mgr.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/api/skins/default/Attic/acl_mgr.xsl,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -C2 -d -r1.1.2.6 -r1.1.2.7
*** acl_mgr.xsl 18 Nov 2003 16:21:26 -0000      1.1.2.6
--- acl_mgr.xsl 1 Dec 2003 07:36:36 -0000       1.1.2.7
***************
*** 67,80 ****
                                <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>
--- 67,79 ----
                                <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[{op}]" type="checkbox" /><xsl:value-of select="title" />
                                                                        </td>
                                                                        <xsl:if 
test="following-sibling::acl_options_item[position() = 1]">
!                                                                               
<td width="50%" valign="top">
!                                                                               
        <xsl:variable name="op" 
select="following-sibling::acl_options_item/op[position() = 1]" />
!                                                                               
        <input name="acl_allow[{$op}]" type="checkbox" /><xsl:value-of 
select="following-sibling::acl_options_item/title[position() = 1]" />
                                                                                
</td> 
                                                                        
</xsl:if>
***************
*** 118,127 ****
                                        <table class="sideboxtext" 
cellSpacing="0" cellPadding="0" width="100%" border="0" valign="top">
                                                <xsl:for-each 
select="locations/locations_item">
                                                        <xsl:if 
test="(position() mod 3) = 1">
                                                                <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" />
--- 117,125 ----
                                        <table class="sideboxtext" 
cellSpacing="0" cellPadding="0" width="100%" border="0" valign="top">
                                                <xsl:for-each 
select="locations/locations_item">
+                                                       <xsl:sort select="app" 
/>
                                                        <xsl:if 
test="(position() mod 3) = 1">
                                                                <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" />
***************
*** 160,164 ****
        </form>
        <p>&#160;</p>
- 
  </xsl:template>
  
--- 158,161 ----





reply via email to

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