[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: property/templates/default equipment.xsl,1.11,1.
From: |
Sigurd Nes <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: property/templates/default equipment.xsl,1.11,1.12 |
Date: |
Mon, 16 Jun 2003 11:30:28 -0400 |
Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv27486/templates/default
Modified Files:
equipment.xsl
Log Message:
no message
Index: equipment.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/equipment.xsl,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** equipment.xsl 21 May 2003 12:46:39 -0000 1.11
--- equipment.xsl 16 Jun 2003 15:30:26 -0000 1.12
***************
*** 40,168 ****
</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_equipment"><xsl:value-of
select="sort_equipment"/></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_equipment}"><xsl:value-of select="lang_equipment"/></a>
! </td>
! <td class="th_text" width="30%" align="right">
! <xsl:value-of select="lang_descr"/>
! </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>
! <xsl:choose>
! <xsl:when test="attribute!=''">
! <td class="th_text" width="15%"
align="center">
! <xsl:value-of
select="lang_attribute"/>
! </td>
! </xsl:when>
! </xsl:choose>
! <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="equipment_id"/>
! </td>
! <td align="right">
! <xsl:value-of select="descr"/>
! </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>
! <xsl:choose>
! <xsl:when test="value_attribute!=''">
! <td class="th_text" width="15%"
align="center">
! <xsl:value-of
select="value_attribute"/>
! </td>
! </xsl:when>
! </xsl:choose>
! <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>
--- 40,98 ----
</table>
<table width="100%" cellpadding="2" cellspacing="2"
align="center">
! <xsl:call-template
name="table_header_equipment"/>
! <xsl:call-template name="values"/>
<xsl:apply-templates select="table_add"/>
</table>
</xsl:template>
! <xsl:template name="table_header_equipment">
<tr class="th">
! <xsl:for-each select="table_header" >
! <td class="th_text" width="{with}"
align="{align}">
! <xsl:choose>
! <xsl:when
test="sort_link!=''">
! <a
href="{sort}" onMouseover="window.status='{header}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of select="header"/></a>
! </xsl:when>
! <xsl:otherwise>
! <xsl:value-of
select="header"/>
! </xsl:otherwise>
! </xsl:choose>
! </td>
! </xsl:for-each>
</tr>
</xsl:template>
! <xsl:template name="values">
! <xsl:for-each select="values" >
<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>
! <xsl:for-each select="row" >
<xsl:choose>
! <xsl:when test="link">
! <td align="center">
! <a
href="{link}" onMouseover="window.status='{statustext}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of select="text"/></a>
! </td>
</xsl:when>
<xsl:otherwise>
! <td align="left">
! <xsl:value-of
select="value"/>
! </td>
</xsl:otherwise>
</xsl:choose>
! </xsl:for-each>
</tr>
+ </xsl:for-each>
</xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: property/templates/default equipment.xsl,1.11,1.12,
Sigurd Nes <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: property/inc class.bocommon.inc.php,1.52,1.53 class.boequipment.inc.php,1.9,1.10 class.bolocation.inc.php,1.9,1.10 class.socommon.inc.php,1.24,1.25 class.soequipment.inc.php,1.13,1.14 class.solocation.inc.php,1.7,1.8 class.solookup.inc.php,1.18,1.19 class.uilocation.inc.php,1.11,1.12
- Next by Date:
[Phpgroupware-cvs] CVS: property/inc class.boequipment.inc.php,1.10,1.11 class.uiequipment.inc.php,1.22,1.23class.uilookup.inc.php,1.20,1.21
- Previous by thread:
[Phpgroupware-cvs] CVS: property/inc class.bocommon.inc.php,1.52,1.53 class.boequipment.inc.php,1.9,1.10 class.bolocation.inc.php,1.9,1.10 class.socommon.inc.php,1.24,1.25 class.soequipment.inc.php,1.13,1.14 class.solocation.inc.php,1.7,1.8 class.solookup.inc.php,1.18,1.19 class.uilocation.inc.php,1.11,1.12
- Next by thread:
[Phpgroupware-cvs] CVS: property/inc class.boequipment.inc.php,1.10,1.11 class.uiequipment.inc.php,1.22,1.23class.uilookup.inc.php,1.20,1.21
- Index(es):