[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.12, 1.1.2.13
From: |
Joseph Engo <address@hidden> |
Subject: |
[Phpgroupware-cvs] api/skins/default account_mgr.xsl, 1.1.2.12, 1.1.2.13 widgets.xsl, 1.1.1.1.2.10, 1.1.1.1.2.11 |
Date: |
Sun, 09 Nov 2003 18:52:16 +0000 |
Update of /cvsroot/phpgroupware/api/skins/default
In directory subversions:/tmp/cvs-serv25968/api/skins/default
Modified Files:
Tag: proposal-branch
account_mgr.xsl widgets.xsl
Log Message:
- Started working on history
Update history isn't finished
The phpgw_history table might have the field history_app changed to history_op
You have to run setup to add the new table
View history is missing the alternate handlers
- Fixed account creating not setting the correct password by default
- Fixed some alignment issues with tables
Index: widgets.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/api/skins/default/widgets.xsl,v
retrieving revision 1.1.1.1.2.10
retrieving revision 1.1.1.1.2.11
diff -C2 -d -r1.1.1.1.2.10 -r1.1.1.1.2.11
*** widgets.xsl 9 Nov 2003 15:47:42 -0000 1.1.1.1.2.10
--- widgets.xsl 9 Nov 2003 18:52:14 -0000 1.1.1.1.2.11
***************
*** 306,309 ****
--- 306,356 ----
</xsl:template>
+ <xsl:template name="record_history">
+ <xsl:param name="history_data" />
+
+ <table class="normalbox" cellSpacing="1" cellPadding="0" width="95%"
border="0">
+ <tr>
+ <td class="sideboxtitle" align="center" height="28"
width="100%">
+
+ <table border="0" width="100%" cellspacing="0"
cellpadding="0" class="normalbox_title">
+ <tr>
+ <td width="22%">Date</td>
+ <td width="15%">User</td>
+ <td width="20%">Field</td>
+ <td width="10%">Action</td>
+ <td width="*">Old value</td>
+ <td width="*">New value</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="sideboxcontent" bgColor="#efefef">
+ <table class="sideboxtext" cellSpacing="0"
cellPadding="0" width="100%" border="0" valign="top">
+
+ <xsl:if
test="count(history_data/history_data_item) = 0">
+ <tr class="sideboxtext">
+ <td colspan="6"
align="center"><font color="#000000">History for this record not
found</font></td>
+ </tr>
+ </xsl:if>
+
+ <xsl:for-each
select="history_data/history_data_item">
+ <tr class="sideboxtext">
+ <td width="22%"><font
color="#000000"><xsl:value-of select="timestamp" /></font></td>
+ <td width="15%"><font
color="#000000"><xsl:value-of select="owner" /></font></td>
+ <td width="20%"><font
color="#000000"><xsl:value-of select="field" /></font></td>
+ <td width="10%"><font
color="#000000"><xsl:value-of select="type" /></font></td>
+ <td width="*"><font
color="#000000"><xsl:value-of select="old_value" /></font></td>
+ <td width="*"><font
color="#000000"><xsl:value-of select="new_value" /></font></td>
+ </tr>
+ </xsl:for-each>
+
+ </table>
+ </td>
+ </tr>
+ </table>
+ <p> </p>
+ </xsl:template>
+
<!--
Index: account_mgr.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/api/skins/default/Attic/account_mgr.xsl,v
retrieving revision 1.1.2.12
retrieving revision 1.1.2.13
diff -C2 -d -r1.1.2.12 -r1.1.2.13
*** account_mgr.xsl 3 Nov 2003 20:21:42 -0000 1.1.2.12
--- account_mgr.xsl 9 Nov 2003 18:52:14 -0000 1.1.2.13
***************
*** 7,11 ****
<xsl:template match="APP[action_type='accounts']">
<br />
! <table class="normalbox" cellSpacing="0" cellPadding="0" width="80%"
border="0">
<tr>
<td class="sideboxtitle" align="center" height="28"
width="100%">
--- 7,11 ----
<xsl:template match="APP[action_type='accounts']">
<br />
! <table class="normalbox" cellSpacing="1" cellPadding="0" width="80%"
border="0">
<tr>
<td class="sideboxtitle" align="center" height="28"
width="100%">
***************
*** 193,196 ****
--- 193,200 ----
</table>
</form>
+
+ <xsl:call-template name="record_history">
+ <xsl:with-param name="history_data" select="history_data" />
+ </xsl:call-template>
</xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] api/skins/default account_mgr.xsl, 1.1.2.12, 1.1.2.13 widgets.xsl, 1.1.1.1.2.10, 1.1.1.1.2.11,
Joseph Engo <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] api class.history.php, NONE, 1.1.2.1 class.account_mgr.php, 1.1.2.18, 1.1.2.19
- Next by Date:
[Phpgroupware-cvs] api class.admin.php,1.1.2.10,1.1.2.11
- Previous by thread:
[Phpgroupware-cvs] api class.history.php, NONE, 1.1.2.1 class.account_mgr.php, 1.1.2.18, 1.1.2.19
- Next by thread:
[Phpgroupware-cvs] api class.admin.php,1.1.2.10,1.1.2.11
- Index(es):