[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.2, 1.1.2.3 m
From: |
Joseph Engo <address@hidden> |
Subject: |
[Phpgroupware-cvs] api/skins/default account_mgr.xsl, 1.1.2.2, 1.1.2.3 msgbox.xsl, 1.1.1.1.2.3, 1.1.1.1.2.4 widgets.xsl, 1.1.1.1.2.5, 1.1.1.1.2.6 |
Date: |
Sun, 26 Oct 2003 05:49:35 +0000 |
Update of /cvsroot/phpgroupware/api/skins/default
In directory subversions:/tmp/cvs-serv20032/api/skins/default
Modified Files:
Tag: proposal-branch
account_mgr.xsl msgbox.xsl widgets.xsl
Log Message:
Working on the user delete part
Index: widgets.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/api/skins/default/widgets.xsl,v
retrieving revision 1.1.1.1.2.5
retrieving revision 1.1.1.1.2.6
diff -C2 -d -r1.1.1.1.2.5 -r1.1.1.1.2.6
*** widgets.xsl 25 Oct 2003 18:29:22 -0000 1.1.1.1.2.5
--- widgets.xsl 26 Oct 2003 05:49:33 -0000 1.1.1.1.2.6
***************
*** 35,39 ****
<td align="center">
<form method="POST">
! <input
type="hidden" name="op" value="{$no_op}" />
<input
type="submit" name="{$param_name}" value="{$yes_value}" />
<xsl:if
test="count($inputs) > 0">
--- 35,39 ----
<td align="center">
<form method="POST">
! <input
type="hidden" name="op" value="{$yes_op}" />
<input
type="submit" name="{$param_name}" value="{$yes_value}" />
<xsl:if
test="count($inputs) > 0">
***************
*** 46,50 ****
<td align="center">
<form method="POST">
! <input
type="hidden" name="op" value="{$yes_op}" />
<input
type="submit" name="{$param_name}" value="{$no_value}" />
<xsl:if
test="count($inputs) > 0">
--- 46,50 ----
<td align="center">
<form method="POST">
! <input
type="hidden" name="op" value="{$no_op}" />
<input
type="submit" name="{$param_name}" value="{$no_value}" />
<xsl:if
test="count($inputs) > 0">
Index: msgbox.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/api/skins/default/msgbox.xsl,v
retrieving revision 1.1.1.1.2.3
retrieving revision 1.1.1.1.2.4
diff -C2 -d -r1.1.1.1.2.3 -r1.1.1.1.2.4
*** msgbox.xsl 24 Oct 2003 04:01:36 -0000 1.1.1.1.2.3
--- msgbox.xsl 26 Oct 2003 05:49:32 -0000 1.1.1.1.2.4
***************
*** 17,21 ****
<xsl:template match="msgbox_item">
<tr>
! <td class="sideboxtitle" align="left" height="28">
<font color="#CC0000">NOTICE!</font></td>
</tr>
<tr>
--- 17,21 ----
<xsl:template match="msgbox_item">
<tr>
! <td class="sideboxtitle" align="left"
height="28"> NOTICE!</td>
</tr>
<tr>
***************
*** 35,39 ****
<xsl:template match="msgbox_item[type='fatal']">
<tr>
! <td class="sideboxtitle" align="left" height="28">
<font color="red">FATAL ERROR!</font></td>
</tr>
<tr>
--- 35,39 ----
<xsl:template match="msgbox_item[type='fatal']">
<tr>
! <td class="sideboxtitle" align="left"
height="28"> <font color="red">FATAL ERROR!</font></td>
</tr>
<tr>
***************
*** 53,57 ****
<xsl:template match="msgbox_item[type='warning']">
<tr>
! <td class="sideboxtitle" align="left" height="28">
<font color="#CC0000">WARNING!</font></td>
</tr>
<tr>
--- 53,57 ----
<xsl:template match="msgbox_item[type='warning']">
<tr>
! <td class="sideboxtitle" align="left"
height="28"> <font color="#CC0000">WARNING!</font></td>
</tr>
<tr>
***************
*** 78,82 ****
<xsl:variable name="app_image_path"><xsl:value-of
select="/PHPGW/API/op/appname" />/skins/<xsl:value-of
select="/PHPGW/API/prefs/api.skin" />/images</xsl:variable>
<tr>
! <td class="sideboxtitle" align="left" height="28">
<font color="#CC0000">ACCESS DENIED!</font></td>
</tr>
<tr>
--- 78,82 ----
<xsl:variable name="app_image_path"><xsl:value-of
select="/PHPGW/API/op/appname" />/skins/<xsl:value-of
select="/PHPGW/API/prefs/api.skin" />/images</xsl:variable>
<tr>
! <td class="sideboxtitle" align="left"
height="28"> <font color="#CC0000">ACCESS DENIED!</font></td>
</tr>
<tr>
***************
*** 136,140 ****
<xsl:template match="msgbox_item[type='debug']">
<tr>
! <td class="sideboxtitle" align="left" height="28">
<font color="#CC0000">DEBUG!</font></td>
</tr>
<tr>
--- 136,140 ----
<xsl:template match="msgbox_item[type='debug']">
<tr>
! <td class="sideboxtitle" align="left"
height="28"> <font color="#CC0000">DEBUG!</font></td>
</tr>
<tr>
Index: account_mgr.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/api/skins/default/Attic/account_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
*** account_mgr.xsl 26 Oct 2003 04:57:27 -0000 1.1.2.2
--- account_mgr.xsl 26 Oct 2003 05:49:32 -0000 1.1.2.3
***************
*** 26,31 ****
<table class="sideboxtext" cellSpacing="0"
cellPadding="0" width="100%" border="0" valign="top">
<xsl:for-each select="accounts_item">
! <xsl:variable name="account_id"
select="account_id" />
!
<tr>
<xsl:choose>
--- 26,31 ----
<table class="sideboxtext" cellSpacing="0"
cellPadding="0" width="100%" border="0" valign="top">
<xsl:for-each select="accounts_item">
! <xsl:variable name="account_id"
select="account_id" />
! <xsl:variable name="account_lid"
select="account_lid" />
<tr>
<xsl:choose>
***************
*** 42,46 ****
<td width="24"
align="center"><a
href="{$baseurl}&op=api.account_mgr.edit&account_id={$account_id}"><img
alt="Edit" title="Edit" src="{$api_image_path}/edit.png" border="0" /></a></td>
<xsl:choose>
! <xsl:when
test="$account_id = /PHPGW/API/user/id">
<td width="24"
align="center"><img alt="Delete" title="Delete"
src="{$api_image_path}/delete_x.png" border="0" /></td>
</xsl:when>
--- 42,46 ----
<td width="24"
align="center"><a
href="{$baseurl}&op=api.account_mgr.edit&account_id={$account_id}"><img
alt="Edit" title="Edit" src="{$api_image_path}/edit.png" border="0" /></a></td>
<xsl:choose>
! <xsl:when
test="$account_id = /PHPGW/API/user/id or $account_lid = 'anonymous'">
<td width="24"
align="center"><img alt="Delete" title="Delete"
src="{$api_image_path}/delete_x.png" border="0" /></td>
</xsl:when>
***************
*** 123,128 ****
</tr>
<tr>
! <td align="left"><input
type="image" name="op" src="{$api_image_path}/cancel.png"
value="api.admin.start" /></td>
! <td align="right"><input
type="image" name="op" src="{$api_image_path}/save.png"
value="api.account_mgr.create" /></td>
<td> </td>
</tr>
--- 123,128 ----
</tr>
<tr>
! <td align="left"><input
type="image" name="op" src="{$api_image_path}/cancel.png"
value="api.admin.start" alt="Cancel" title="Cancel" /></td>
! <td align="right"><input
type="image" name="op" src="{$api_image_path}/save.png"
value="api.account_mgr.create" alt="Create" title="Create" /></td>
<td> </td>
</tr>
***************
*** 187,190 ****
--- 187,203 ----
</table>
</form>
+ </xsl:template>
+
+ <xsl:template match="APP/delete_account">
+ <xsl:if test="count(../dialog) > 0">
+ <br />
+ <xsl:call-template name="widget_dialog_yesno">
+ <xsl:with-param name="question" select="../dialog/question" />
+ <xsl:with-param name="yes_op" select="../dialog/yes_op" />
+ <xsl:with-param name="no_op" select="../dialog/no_op" />
+ <xsl:with-param name="inputs"
select="../dialog/current_inputs/current_inputs_item" />
+ </xsl:call-template>
+ <p> </p>
+ </xsl:if>
</xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] api/skins/default account_mgr.xsl, 1.1.2.2, 1.1.2.3 msgbox.xsl, 1.1.1.1.2.3, 1.1.1.1.2.4 widgets.xsl, 1.1.1.1.2.5, 1.1.1.1.2.6,
Joseph Engo <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] api class.account_mgr.php,1.1.2.2,1.1.2.3
- Next by Date:
[Phpgroupware-cvs] phpgwapi/inc class.accounts_ldap.inc.php, 1.101.2.13.2.4, 1.101.2.13.2.5 class.accounts_sql.inc.php, 1.80.2.8.2.15, 1.80.2.8.2.16
- Previous by thread:
[Phpgroupware-cvs] api class.account_mgr.php,1.1.2.2,1.1.2.3
- Next by thread:
[Phpgroupware-cvs] phpgwapi/inc class.accounts_ldap.inc.php, 1.101.2.13.2.4, 1.101.2.13.2.5 class.accounts_sql.inc.php, 1.80.2.8.2.15, 1.80.2.8.2.16
- Index(es):