[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: property/templates/default report.xsl,1.3,1.4
From: |
Sigurd Nes <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: property/templates/default report.xsl,1.3,1.4 |
Date: |
Wed, 25 Jun 2003 14:27:52 -0400 |
Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv25983/templates/default
Modified Files:
report.xsl
Log Message:
no message
Index: report.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/report.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** report.xsl 21 May 2003 12:46:39 -0000 1.3
--- report.xsl 25 Jun 2003 18:27:48 -0000 1.4
***************
*** 40,154 ****
</table>
<table width="100%" cellpadding="2" cellspacing="2"
align="center">
! <xsl:apply-templates select="table_header"/>
! <xsl:apply-templates select="values"/>
! <xsl:apply-templates select="table_add"/>
</table>
</xsl:template>
- <xsl:template match="table_header">
- <xsl:variable name="sort_report"><xsl:value-of
select="sort_report"/></xsl:variable>
- <xsl:variable name="sort_property"><xsl:value-of
select="sort_property"/></xsl:variable>
- <xsl:variable name="sort_address"><xsl:value-of
select="sort_address"/></xsl:variable>
- <tr class="th">
- <td class="th_text" width="5%" align="right">
- <a href="{$sort_report}"><xsl:value-of
select="lang_report"/></a>
- </td>
- <td class="th_text" width="30%" align="center">
- <xsl:value-of select="lang_title"/>
- </td>
- <td class="th_text" width="5%" align="right">
- <xsl:value-of select="lang_category"/>
- </td>
- <td class="th_text" width="5%" align="right">
- <a
href="{$sort_property}"><xsl:value-of select="lang_property"/></a>
- </td>
-
- <td class="th_text" width="2%" align="right">
- <xsl:value-of select="lang_building"/>
- </td>
- <td class="th_text" width="2%" align="right">
- <xsl:value-of select="lang_entrance"/>
- </td>
- <!-- <td class="th_text" width="5%" align="right">
- <xsl:value-of select="lang_floor"/>
- </td> -->
- <td class="th_text" width="4%" align="right">
- <xsl:value-of select="lang_apartment"/>
- </td>
- <td class="th_text" width="30%" align="left">
- <a href="{$sort_address}"><xsl:value-of
select="lang_address"/></a>
- </td>
- <td class="th_text" width="5%" align="center">
- <xsl:value-of select="lang_view"/>
- </td>
- <td class="th_text" width="5%" align="center">
- <xsl:value-of select="lang_edit"/>
- </td>
- <td class="th_text" width="5%" align="center">
- <xsl:value-of select="lang_delete"/>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template match="values">
- <xsl:variable name="lang_view_statustext"><xsl:value-of
select="lang_view_statustext"/></xsl:variable>
- <xsl:variable name="lang_edit_statustext"><xsl:value-of
select="lang_edit_statustext"/></xsl:variable>
- <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="right">
- <xsl:value-of select="report_id"/>
- </td>
- <td align="left">
- <xsl:value-of select="title"/>
- </td>
- <td align="right">
- <xsl:value-of select="category"/>
- </td>
- <td align="right">
- <xsl:value-of select="property_id"/>
- </td>
- <td align="right">
- <xsl:value-of select="building_id"/>
- </td>
- <td align="right">
- <xsl:value-of select="entrance_id"/>
- </td>
- <!-- <td align="right">
- <xsl:value-of select="floor"/>
- </td> -->
- <td align="right">
- <xsl:value-of select="apartment_id"/>
- </td>
-
- <td align="left">
- <xsl:value-of select="address"/>
- </td>
- <td align="center">
- <xsl:variable
name="link_view"><xsl:value-of select="link_view"/></xsl:variable>
- <a href="{$link_view}"
onMouseover="window.status='{$lang_view_statustext}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="text_view"/></a>
- </td>
- <td align="center">
- <xsl:variable
name="link_edit"><xsl:value-of select="link_edit"/></xsl:variable>
- <a href="{$link_edit}"
onMouseover="window.status='{$lang_edit_statustext}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="text_edit"/></a>
- </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>
<xsl:template match="table_add">
--- 40,57 ----
</table>
<table width="100%" cellpadding="2" cellspacing="2"
align="center">
! <xsl:call-template name="table_header"/>
! <xsl:choose>
! <xsl:when test="values">
! <xsl:call-template
name="values"/>
! </xsl:when>
! </xsl:choose>
! <xsl:choose>
! <xsl:when test="table_add !=''">
! <xsl:apply-templates
select="table_add"/>
! </xsl:when>
! </xsl:choose>
</table>
</xsl:template>
<xsl:template match="table_add">
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: property/templates/default report.xsl,1.3,1.4,
Sigurd Nes <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: property/inc class.uimeter.inc.php,1.13,1.14 class.uiinvestment.inc.php,1.22,1.23 class.someter.inc.php,1.4,1.5 class.soinvestment.inc.php,1.14,1.15 class.bometer.inc.php,1.4,1.5 class.boinvestment.inc.php,1.11,1.12
- Next by Date:
[Phpgroupware-cvs] CVS: property/inc class.uireport.inc.php,1.7,1.8 class.soreport.inc.php,1.3,1.4 class.someter.inc.php,1.5,1.6 class.boreport.inc.php,1.4,1.5 class.bometer.inc.php,1.5,1.6
- Previous by thread:
[Phpgroupware-cvs] CVS: property/inc class.uimeter.inc.php,1.13,1.14 class.uiinvestment.inc.php,1.22,1.23 class.someter.inc.php,1.4,1.5 class.soinvestment.inc.php,1.14,1.15 class.bometer.inc.php,1.4,1.5 class.boinvestment.inc.php,1.11,1.12
- Next by thread:
[Phpgroupware-cvs] CVS: property/inc class.uireport.inc.php,1.7,1.8 class.soreport.inc.php,1.3,1.4 class.someter.inc.php,1.5,1.6 class.boreport.inc.php,1.4,1.5 class.bometer.inc.php,1.5,1.6
- Index(es):