[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] api/skins/default acl_mgr.xsl,1.1.2.1,1.1.2.2
From: |
Joseph Engo <address@hidden> |
Subject: |
[Phpgroupware-cvs] api/skins/default acl_mgr.xsl,1.1.2.1,1.1.2.2 |
Date: |
Mon, 17 Nov 2003 20:54:30 +0000 |
Update of /cvsroot/phpgroupware/api/skins/default
In directory subversions:/tmp/cvs-serv22276/skins/default
Modified Files:
Tag: proposal-branch
acl_mgr.xsl
Log Message:
This is layout option #2, this would be "Allow" and "Deny" on seperate tabs or
pages.
Index: acl_mgr.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/api/skins/default/Attic/acl_mgr.xsl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** acl_mgr.xsl 17 Nov 2003 20:43:56 -0000 1.1.2.1
--- acl_mgr.xsl 17 Nov 2003 20:54:27 -0000 1.1.2.2
***************
*** 12,22 ****
<table border="0" width="100%" cellspacing="0" cellpadding="1">
- <xsl:if test="$pos = 1">
- <tr>
- <td width="*" align="left"> </td>
- <td width="10%" align="right">Allow</td>
- <td width="10%" align="right">Deny</td>
- </tr>
- </xsl:if>
<tr>
<td colspan="3">
--- 12,15 ----
***************
*** 47,73 ****
</xsl:choose>
</td>
- <td width="10%" align="right">
- <xsl:choose>
- <xsl:when
test="count(values) > 0">
- <select
multiple="multiple" name="acl_deny[{$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="{value}"><xsl:value-of select="title" /></option>
-
</xsl:for-each>
-
</select>
- </xsl:when>
- <xsl:otherwise>
- <input
name="acl_deny[{$app}.{$locations_item/location}]" type="checkbox" />
- </xsl:otherwise>
- </xsl:choose>
- </td>
</tr>
</table>
--- 40,43 ----
***************
*** 91,95 ****
<td align="left"
width="*"><input name="acl_checked[{$app}.base.start]" type="checkbox"
/> <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>
--- 61,65 ----
<td align="left"
width="*"><input name="acl_checked[{$app}.base.start]" type="checkbox"
/> <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>
***************
*** 103,109 ****
<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 2) = 1">
<tr
class="sideboxtext">
! <td
width="49%" valign="top">
<xsl:call-template name="acl_show_column">
<xsl:with-param name="locations_item" select="current()" />
--- 73,79 ----
<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:with-param name="locations_item" select="current()" />
***************
*** 114,120 ****
<td
width="1%"> </td>
<xsl:if
test="following-sibling::locations_item[position() = 1]">
!
<td width="49%">
<xsl:call-template name="acl_show_column">
<xsl:with-param name="locations_item"
select="following-sibling::locations_item[position() = 1]" />
<xsl:with-param name="app" select="$app" />
<xsl:with-param name="pos" select="position()" />
--- 84,99 ----
<td
width="1%"> </td>
<xsl:if
test="following-sibling::locations_item[position() = 1]">
!
<td width="33%" valign="top">
<xsl:call-template name="acl_show_column">
<xsl:with-param name="locations_item"
select="following-sibling::locations_item[position() = 1]" />
+
<xsl:with-param name="app" select="$app" />
+
<xsl:with-param name="pos" select="position()" />
+
</xsl:call-template>
+
</td>
+
</xsl:if>
+ <xsl:if
test="following-sibling::locations_item[position() = 2]">
+
<td width="33%" valign="top">
+
<xsl:call-template name="acl_show_column">
+
<xsl:with-param name="locations_item"
select="following-sibling::locations_item[position() = 2]" />
<xsl:with-param name="app" select="$app" />
<xsl:with-param name="pos" select="position()" />
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] api/skins/default acl_mgr.xsl,1.1.2.1,1.1.2.2,
Joseph Engo <address@hidden> <=