[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property inc/class.uientity.inc.php templates/b...
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] property inc/class.uientity.inc.php templates/b... |
Date: |
Tue, 14 Aug 2007 08:09:15 +0000 |
CVSROOT: /sources/phpgroupware
Module name: property
Changes by: Sigurd Nes <sigurdne> 07/08/14 08:09:15
Modified files:
inc : class.uientity.inc.php
templates/base : entity.xsl
Log message:
clean up
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/property/inc/class.uientity.inc.php?cvsroot=phpgroupware&r1=1.46&r2=1.47
http://cvs.savannah.gnu.org/viewcvs/property/templates/base/entity.xsl?cvsroot=phpgroupware&r1=1.14&r2=1.15
Patches:
Index: inc/class.uientity.inc.php
===================================================================
RCS file: /sources/phpgroupware/property/inc/class.uientity.inc.php,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -b -r1.46 -r1.47
--- inc/class.uientity.inc.php 12 Aug 2007 21:25:10 -0000 1.46
+++ inc/class.uientity.inc.php 14 Aug 2007 08:09:14 -0000 1.47
@@ -24,7 +24,7 @@
* @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
* @package property
* @subpackage entity
- * @version $Id: class.uientity.inc.php,v 1.46 2007/08/12 21:25:10
sigurdne Exp $
+ * @version $Id: class.uientity.inc.php,v 1.47 2007/08/14 08:09:14
sigurdne Exp $
*/
/**
@@ -1363,7 +1363,7 @@
}
function attrib_history()
- {
$GLOBALS['phpgw']->xslttpl->add_file(array('entity','nextmatchs'));
+ {
$GLOBALS['phpgw']->xslttpl->add_file(array('attrib_history','nextmatchs'));
$GLOBALS['phpgw_info']['flags']['noframework'] = True;
$id = get_var('id',array('POST','GET'));
Index: templates/base/entity.xsl
===================================================================
RCS file: /sources/phpgroupware/property/templates/base/entity.xsl,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- templates/base/entity.xsl 14 Feb 2007 14:22:22 -0000 1.14
+++ templates/base/entity.xsl 14 Aug 2007 08:09:15 -0000 1.15
@@ -1,4 +1,4 @@
-<!-- $Id: entity.xsl,v 1.14 2007/02/14 14:22:22 sigurdne Exp $ -->
+<!-- $Id: entity.xsl,v 1.15 2007/08/14 08:09:15 sigurdne Exp $ -->
<xsl:template name="app_data">
<xsl:choose>
@@ -11,12 +11,6 @@
<xsl:when test="empty">
<xsl:apply-templates select="empty"/>
</xsl:when>
- <xsl:when test="attrib_history">
- <xsl:apply-templates select="attrib_history"/>
- </xsl:when>
- <xsl:when test="attrib_help">
- <xsl:apply-templates select="attrib_help"/>
- </xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="list"/>
</xsl:otherwise>
@@ -705,79 +699,3 @@
</tr>
</xsl:template>
-<!-- attrib_history -->
- <xsl:template match="attrib_history">
- <table width="100%" cellpadding="2" cellspacing="2"
align="center">
- <xsl:choose>
- <xsl:when test="msgbox_data != ''">
- <tr>
- <td align="left" colspan="3">
- <xsl:call-template
name="msgbox"/>
- </td>
- </tr>
- </xsl:when>
- </xsl:choose>
- <tr>
- <td colspan="3" width="100%">
- <xsl:call-template name="nextmatchs"/>
- </td>
- </tr>
- </table>
- <table width="100%" cellpadding="2" cellspacing="2"
align="center">
- <xsl:apply-templates select="table_header"/>
- <xsl:apply-templates select="values"/>
- </table>
- </xsl:template>
-
- <xsl:template match="table_header">
- <xsl:variable name="sort_time_created"
select="sort_time_created"/>
- <xsl:variable name="sort_value" select="sort_value"/>
-
- <tr class="th">
- <td width="40%">
- <a href="{$sort_value}"
class="th_text"><xsl:value-of select="lang_value"/></a>
- </td>
- <td width="10%" align="center">
- <a href="{$sort_time_created}"
class="th_text"><xsl:value-of select="lang_time_created"/></a>
- </td>
- <td width="5%" align="center">
- <xsl:value-of select="lang_user"/>
- </td>
- <td width="5%" align="center">
- <xsl:value-of select="lang_delete"/>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template match="values">
- <xsl:variable name="lang_delete_statustext"><xsl:value-of
select="lang_delete_statustext"/></xsl:variable>
- <tr>
- <xsl:attribute name="class">
- <xsl:choose>
- <xsl:when test="@class">
- <xsl:value-of
select="@class"/>
- </xsl:when>
- <xsl:when test="position() mod
2 = 0">
-
<xsl:text>row_off</xsl:text>
- </xsl:when>
- <xsl:otherwise>
-
<xsl:text>row_on</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
-
- <td align="left">
- <xsl:value-of select="value"/>
- </td>
- <td align="left">
- <xsl:value-of select="time_created"/>
- </td>
- <td align="left">
- <xsl:value-of select="user"/>
- </td>
- <td align="center">
- <xsl:variable
name="link_delete"><xsl:value-of select="link_delete"/></xsl:variable>
- <a href="{$link_delete}"
onMouseover="window.status='{$lang_delete_statustext}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="text_delete"/></a>
- </td>
- </tr>
- </xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property inc/class.uientity.inc.php templates/b...,
Sigurd Nes <=