phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: property/templates/default meter.xsl,1.4,1.5


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] CVS: property/templates/default meter.xsl,1.4,1.5
Date: Tue, 24 Jun 2003 06:27:26 -0400

Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv28515/templates/default

Modified Files:
        meter.xsl 
Log Message:
no message

Index: meter.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/meter.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** meter.xsl   24 Jun 2003 10:26:39 -0000      1.4
--- meter.xsl   24 Jun 2003 10:27:23 -0000      1.5
***************
*** 51,133 ****
        </xsl:template>
  
-       <xsl:template match="table_header">
-               <xsl:variable name="sort_meter_id"><xsl:value-of 
select="sort_meter_id"/></xsl:variable>
-               <xsl:variable name="sort_address"><xsl:value-of 
select="sort_address"/></xsl:variable>
-               <tr class="th">
-                       <td class="th_text" width="15%" align="right">
-                               <a href="{$sort_meter_id}"><xsl:value-of 
select="lang_meter_id"/></a>
-                       </td>
-                       <td class="th_text" width="10%">
-                               <xsl:value-of select="lang_name"/>
-                       </td>
-                       <td class="th_text" width="10%">
-                               <xsl:value-of select="lang_meter_type"/>
-                       </td>
-                       <td class="th_text" width="20%" align="center">
-                               <xsl:value-of select="lang_location_type"/>
-                       </td>
-                       <td class="th_text" width="40%" align="center">
-                               <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="meter_id"/>
-                               </td>
-                               <td align="left">
-                                       <xsl:value-of select="name"/>
-                               </td>
-                               <td align="left">
-                                       <xsl:value-of select="type"/>
-                               </td>
-                               <td align="left">
-                                       <xsl:value-of select="location_type"/>
-                               </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">
--- 51,54 ----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]