[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: property/templates/default location.xsl,1.6,1.7
From: |
Sigurd Nes <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: property/templates/default location.xsl,1.6,1.7 |
Date: |
Wed, 04 Jun 2003 08:24:43 -0400 |
Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv14172/templates/default
Modified Files:
location.xsl
Log Message:
no message
Index: location.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/location.xsl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** location.xsl 1 Jun 2003 21:38:47 -0000 1.6
--- location.xsl 4 Jun 2003 12:24:40 -0000 1.7
***************
*** 41,46 ****
</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>
--- 41,59 ----
</table>
<table width="100%" cellpadding="2" cellspacing="2"
align="center">
! <tr class="th">
! <xsl:for-each select="table_header" >
! <td class="th_text" width="{with}"
align="{align}">
! <xsl:choose>
! <xsl:when
test="sort!=''">
! <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:call-template name="list_values"/>
<xsl:apply-templates select="table_add"/>
</table>
***************
*** 51,54 ****
--- 64,68 ----
<xsl:variable name="sort_street_name"><xsl:value-of
select="sort_street_name"/></xsl:variable>
<tr class="th">
+
<td class="th_text" width="10%" align="right">
<a
href="{$sort_property_id}"><xsl:value-of select="lang_property_id"/></a>
***************
*** 87,150 ****
</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">
! <a href="javascript:void()"
! onMouseOver="overlib('{property_name}',
CAPTION, '{//lang_property_name}')"
! onMouseOut="nd()">
! <xsl:value-of select="property_id"/></a>
! </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="category"/>
! </td>
! <td align="left">
! <xsl:value-of select="street_name"/>
! </td>
! <td align="left">
! <xsl:value-of select="street_number"/>
! </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">
--- 101,138 ----
</xsl:template>
! <xsl:template name="list_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>
+
<xsl:template match="table_add">
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: property/templates/default location.xsl,1.6,1.7,
Sigurd Nes <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: property/inc class.bolocation.inc.php,1.1,1.2 class.soadmin_location.inc.php,1.5,1.6 class.solocation.inc.php,1.2,1.3 class.uilocation.inc.php,1.2,1.3
- Next by Date:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.asyncservice.inc.php,1.1.2.3,1.1.2.4
- Previous by thread:
[Phpgroupware-cvs] CVS: property/inc class.bolocation.inc.php,1.1,1.2 class.soadmin_location.inc.php,1.5,1.6 class.solocation.inc.php,1.2,1.3 class.uilocation.inc.php,1.2,1.3
- Next by thread:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.asyncservice.inc.php,1.1.2.3,1.1.2.4
- Index(es):