[Top][All Lists]
[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="*"> </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>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [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,
Joseph Engo <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] api class.account_mgr.php, 1.1.2.24, 1.1.2.25 class.acl_mgr.php, 1.1.2.1, 1.1.2.2 class.admin.php, 1.1.2.11, 1.1.2.12 class.auth.php, 1.1.1.1.2.4, 1.1.1.1.2.5 class.base.php, 1.1.1.1.2.23, 1.1.1.1.2.24 class.history.php, 1.1.2.4, 1.1.2.5 class.msgbox.php, 1.1.1.1.2.4, 1.1.1.1.2.5 core_functions.inc.php, 1.1.1.1.2.12, 1.1.1.1.2.13
- Next by Date:
[Phpgroupware-cvs] addressbook/inc class.uiaddressbook.inc.php, 1.36.2.15.2.31, 1.36.2.15.2.32 class.boaddressbook.inc.php, 1.21.2.2.2.20, 1.21.2.2.2.21
- Previous by thread:
[Phpgroupware-cvs] api class.account_mgr.php, 1.1.2.24, 1.1.2.25 class.acl_mgr.php, 1.1.2.1, 1.1.2.2 class.admin.php, 1.1.2.11, 1.1.2.12 class.auth.php, 1.1.1.1.2.4, 1.1.1.1.2.5 class.base.php, 1.1.1.1.2.23, 1.1.1.1.2.24 class.history.php, 1.1.2.4, 1.1.2.5 class.msgbox.php, 1.1.1.1.2.4, 1.1.1.1.2.5 core_functions.inc.php, 1.1.1.1.2.12, 1.1.1.1.2.13
- Next by thread:
[Phpgroupware-cvs] addressbook/inc class.uiaddressbook.inc.php, 1.36.2.15.2.31, 1.36.2.15.2.32 class.boaddressbook.inc.php, 1.21.2.2.2.20, 1.21.2.2.2.21
- Index(es):