phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: property/templates/default gab.xsl,1.3,1.4


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] CVS: property/templates/default gab.xsl,1.3,1.4
Date: Fri, 27 Jun 2003 08:43:21 -0400

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

Modified Files:
        gab.xsl 
Log Message:
no message

Index: gab.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/gab.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** gab.xsl     21 May 2003 12:46:39 -0000      1.3
--- gab.xsl     27 Jun 2003 12:43:19 -0000      1.4
***************
*** 42,49 ****
                        <form method="post" action="{$select_url}">
                                <td align="left">
!                               <input type="text" size="6" name="property_id" 
value="{property_id}" onMouseout="window.status='';return true;">
                                        <xsl:attribute name="onMouseover">
                                                
<xsl:text>window.status='</xsl:text>
!                                                       <xsl:value-of 
select="lang_search_property_statustext"/>
                                                <xsl:text>'; return 
true;</xsl:text>
                                        </xsl:attribute>
--- 42,49 ----
                        <form method="post" action="{$select_url}">
                                <td align="left">
!                               <input type="text" size="6" 
name="location_code" value="{location_code}" 
onMouseout="window.status='';return true;">
                                        <xsl:attribute name="onMouseover">
                                                
<xsl:text>window.status='</xsl:text>
!                                                       <xsl:value-of 
select="lang_search_location_statustext"/>
                                                <xsl:text>'; return 
true;</xsl:text>
                                        </xsl:attribute>
***************
*** 257,340 ****
                </table>
                <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
!                               <xsl:apply-templates 
select="table_header_gab_detail"/>
                                <xsl:choose>
!                                       <xsl:when 
test="values_gab_detail[property_id]">
!                                               <xsl:apply-templates 
select="values_gab_detail"/>
                                        </xsl:when>
                                </xsl:choose>
!                               <xsl:apply-templates select="table_add"/>
                                <xsl:apply-templates select="table_done"/>
                </table>
-       </xsl:template>
- 
-       <xsl:template match="table_header_gab_detail">
-                       <tr class="th">
-                               <td class="th_text" width="5%" align="right">
-                                       <xsl:value-of select="lang_property"/>
-                               </td>
-                               <td class="th_text" width="5%" align="right">
-                                       <xsl:value-of select="lang_building"/>
-                               </td>
-                               <td class="th_text" width="5%" align="right">
-                                       <xsl:value-of select="lang_entrance"/>
-                               </td>
-                               <td class="th_text" width="25%" align="left">
-                                       <xsl:value-of select="lang_address"/>
-                               </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_gab_detail">
-               <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="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="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>
  
--- 257,273 ----
                </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>   
                                <xsl:apply-templates select="table_done"/>
                </table>
        </xsl:template>
  





reply via email to

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