phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: property/templates/default drawing.xsl,1.7,1.8


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] CVS: property/templates/default drawing.xsl,1.7,1.8
Date: Fri, 27 Jun 2003 07:14:53 -0400

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

Modified Files:
        drawing.xsl 
Log Message:
no message

Index: drawing.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/drawing.xsl,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** drawing.xsl 21 May 2003 12:46:39 -0000      1.7
--- drawing.xsl 27 Jun 2003 11:14:50 -0000      1.8
***************
*** 39,142 ****
                </table>
                <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
!                               <xsl:apply-templates 
select="table_header_drawing"/>
                                <xsl:choose>
!                                       <xsl:when 
test="values_drawing[drawing_name]">
!                                               <xsl:apply-templates 
select="values_drawing"/>
                                        </xsl:when>
                                </xsl:choose>
!                               <xsl:apply-templates select="table_add"/>
                </table>
-       </xsl:template>
- 
-       <xsl:template match="table_header_drawing">
-               <xsl:variable name="sort_drawing"><xsl:value-of 
select="sort_drawing"/></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="35%" align="left">
-                                       <a href="{$sort_drawing}"><xsl:value-of 
select="lang_drawing"/></a>
-                               </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="30%" align="right">
-                                       <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_drawing">
-               <xsl:variable name="lang_view_file_statustext"><xsl:value-of 
select="lang_view_file_statustext"/></xsl:variable>
-               <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>
-               <xsl:variable name="lang_history_statustext"><xsl:value-of 
select="//lang_history_statustext"/></xsl:variable>
-               <xsl:variable name="link_history"><xsl:value-of 
select="//link_history"/></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="left">
-                                       <xsl:variable 
name="link_view_file"><xsl:value-of select="link_view_file"/></xsl:variable>
-                                       <a href="{$link_view_file}" 
target="_blank" 
onMouseover="window.status='{$lang_view_file_statustext}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="drawing_name"/></a>
-                               </td>
-                               <td align="right">
-                                       <a 
href="{$link_history}&amp;query={property_id}" 
onMouseover="window.status='{$lang_history_statustext}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="property_id"/></a>
-                               </td>
-                               <td align="right">
-                                       <a 
href="{$link_history}&amp;query={property_id}-{building_id}" 
onMouseover="window.status='{$lang_history_statustext}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="building_id"/></a>
-                               </td>
-                               <td align="right">
-                                       <a 
href="{$link_history}&amp;query={property_id}-{building_id}-{entrance_id}" 
onMouseover="window.status='{$lang_history_statustext}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="entrance_id"/></a>
-                               </td>
-                               <td align="right">
-                                       <xsl:value-of select="floor"/>
-                               </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>
  
--- 39,54 ----
                </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>
  





reply via email to

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