phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] CVS: property/templates/default document.xsl,1.4,1.5
Date: Thu, 26 Jun 2003 08:23:07 -0400

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

Modified Files:
        document.xsl 
Log Message:
no message

Index: document.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/document.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** document.xsl        21 May 2003 12:46:39 -0000      1.4
--- document.xsl        26 Jun 2003 12:23:05 -0000      1.5
***************
*** 48,147 ****
                </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_id"><xsl:value-of 
select="sort_equipment_id"/></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">
!                       <xsl:choose>
!                               <xsl:when test="//type='equipment'">
!                               <td class="th_text" width="15%" align="left">
!                                       <a 
href="{$sort_equipment_id}"><xsl:value-of select="lang_equipment_id"/></a>
!                               </td>
!                               <td class="th_text" width="10%" align="right">
!                                       <xsl:value-of 
select="lang_equipment_type"/>
!                               </td>
!                               </xsl:when>
!                       </xsl:choose>
!                               <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>
!                       </tr>
!       </xsl:template>
! 
!       <xsl:template match="values">
!               <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>
! 
                                <xsl:choose>
!                                       <xsl:when test="//type='equipment'">
!                                       <td align="left">
!                                               <xsl:value-of 
select="equipment_id"/>
!                                       </td>
!                                       <td align="right">
!                                               <xsl:value-of 
select="equipment_type"/>
!                                       </td>
                                        </xsl:when>
                                </xsl:choose>
!                               <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>
!                       </tr>
        </xsl:template>
  
--- 48,63 ----
                </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>
  
***************
*** 268,273 ****
                                </xsl:choose>
                                <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="document_name"/></a>
                                </td>
                                <td align="left">
--- 184,198 ----
                                </xsl:choose>
                                <td align="left">
! 
!                                       <xsl:choose>
!                                               <xsl:when 
test="link_to_files!=''">
!                                                       <xsl:variable 
name="link_to_file"><xsl:value-of select="link_to_files"/>/<xsl:value-of 
select="directory"/>/<xsl:value-of select="document_name"/></xsl:variable>
!                                                       <a 
href="{$link_to_file}" target="_blank" 
onMouseover="window.status='{lang_view_file_statustext}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="document_name"/></a>
!                                               </xsl:when>
!                                               <xsl:otherwise>
!                                                       <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="document_name"/></a>
!                                               </xsl:otherwise>
!                                       </xsl:choose>
                                </td>
                                <td align="left">
***************
*** 278,282 ****
                                </td>
                                <td align="left">
!                                       <xsl:value-of select="owner"/>
                                </td>
                                <td align="center">
--- 203,207 ----
                                </td>
                                <td align="left">
!                                       <xsl:value-of select="user"/>
                                </td>
                                <td align="center">





reply via email to

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