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.2,1.1.2.3


From: Joseph Engo <address@hidden>
Subject: [Phpgroupware-cvs] api/skins/default acl_mgr.xsl,1.1.2.2,1.1.2.3
Date: Mon, 17 Nov 2003 21:05:12 +0000

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

Modified Files:
      Tag: proposal-branch
        acl_mgr.xsl 
Log Message:
Layout #3, this one has the checkboxes aligned to the left and Removed the 
table border around the options.  The labels for selectboxes are show on left.


Index: acl_mgr.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/api/skins/default/Attic/acl_mgr.xsl,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -d -r1.1.2.2 -r1.1.2.3
*** acl_mgr.xsl 17 Nov 2003 20:54:27 -0000      1.1.2.2
--- acl_mgr.xsl 17 Nov 2003 21:05:09 -0000      1.1.2.3
***************
*** 11,47 ****
        <xsl:param name="pos" />
  
!       <table border="0" width="100%" cellspacing="0" cellpadding="1">
                <tr>
!                       <td colspan="3">
!                               <table border="0" cellspacing="1" 
cellpadding="0" class="normalbox" width="100%">
!                                       <tr>
!                                               <td width="*" 
align="left"><xsl:value-of select="$locations_item/title" /></td>
!                                               <td width="10%" align="right">
!                                                       <xsl:choose>
!                                                               <xsl:when 
test="count($locations_item/values) > 0">
!                                                                       <select 
multiple="multiple" name="acl_allow[{$app}.{$locations_item/location}]">
!                                                                       
<xsl:choose>
!                                                                               
<xsl:when test="5 > count($locations_item/values/values_item)">
!                                                                               
        <xsl:attribute name="size"><xsl:value-of 
select="count($locations_item/values/values_item)" /></xsl:attribute>
!                                                                               
</xsl:when>
!                                                                               
<xsl:otherwise>
!                                                                               
        <xsl:attribute name="size">5</xsl:attribute>
!                                                                               
</xsl:otherwise>
!                                                                       
</xsl:choose>
  
!                                                                       
<xsl:for-each select="$locations_item/values/values_item">
!                                                                               
<option value="{$locations_item/value}"><xsl:value-of select="title" /></option>
!                                                                       
</xsl:for-each>
!                                                                       
</select>
                                                                </xsl:when>
                                                                <xsl:otherwise>
!                                                                       <input 
name="acl_allow[{$app}.{$locations_item/location}]" type="checkbox" />
                                                                </xsl:otherwise>
                                                        </xsl:choose>
!                                               </td>
!                                       </tr>                           
!                               </table>
                        </td>
!               </tr>
        </table>
  </xsl:template>
--- 11,58 ----
        <xsl:param name="pos" />
  
!       <table border="0" cellspacing="1" cellpadding="0" width="100%">
                <tr>
!                       <td align="left" valign="top">
!                       <xsl:choose>
!                               <xsl:when test="count($locations_item/values) > 
0">
!                                       <xsl:attribute 
name="width">*</xsl:attribute>
!                                       <xsl:value-of 
select="$locations_item/title" />
!                               </xsl:when>
!                               <xsl:otherwise>
!                                       <xsl:attribute 
name="width">10%</xsl:attribute>
!                                       <input 
name="acl_allow[{$app}.{$locations_item/location}]" type="checkbox" />
!                               </xsl:otherwise>
!                       </xsl:choose>
!                       </td>
  
!                       <td>
!                               <xsl:choose>
!                                       <xsl:when 
test="count($locations_item/values) > 0">
!                                               <xsl:attribute 
name="align">right</xsl:attribute>
!                                               <xsl:attribute 
name="width">10%</xsl:attribute>
! 
!                                               <select multiple="multiple" 
name="acl_allow[{$app}.{$locations_item/location}]">
!                                                       <xsl:choose>
!                                                               <xsl:when 
test="5 > count($locations_item/values/values_item)">
!                                                                       
<xsl:attribute name="size"><xsl:value-of 
select="count($locations_item/values/values_item)" /></xsl:attribute>
                                                                </xsl:when>
                                                                <xsl:otherwise>
!                                                                       
<xsl:attribute name="size">5</xsl:attribute>
                                                                </xsl:otherwise>
                                                        </xsl:choose>
! 
!                                                       <xsl:for-each 
select="$locations_item/values/values_item">
!                                                               <option 
value="{$locations_item/value}"><xsl:value-of select="title" /></option>
!                                                       </xsl:for-each>
!                                               </select>
!                                       </xsl:when>
!                                       <xsl:otherwise>
!                                               <xsl:attribute 
name="align">left</xsl:attribute>
!                                               <xsl:attribute 
name="width">*</xsl:attribute>
!                                               <xsl:value-of 
select="$locations_item/title" />
!                                       </xsl:otherwise>
!                               </xsl:choose>
                        </td>
!               </tr>                           
        </table>
  </xsl:template>
***************
*** 61,65 ****
                                                        <td align="left" 
width="*"><input name="acl_checked[{$app}.base.start]" type="checkbox" 
/>&#160;<xsl:value-of select="title" /></td>
                                                        <xsl:if 
test="count(locations) > 0">
!                                                               <td 
align="right" width="10%">All <input type="checkbox" /></td>
                                                        </xsl:if>
                                                </tr>
--- 72,76 ----
                                                        <td align="left" 
width="*"><input name="acl_checked[{$app}.base.start]" type="checkbox" 
/>&#160;<xsl:value-of select="title" /></td>
                                                        <xsl:if 
test="count(locations) > 0">
!                                                               <td 
align="right" width="10%"><input type="checkbox" /> All</td>
                                                        </xsl:if>
                                                </tr>





reply via email to

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