phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: property/templates/default attributes_view.xsl,


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] CVS: property/templates/default attributes_view.xsl, 1.3, 1.4 report.xsl, 1.5, 1.6
Date: Fri, 29 Aug 2003 12:17:57 -0400

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

Modified Files:
        attributes_view.xsl report.xsl 
Log Message:
no message

Index: attributes_view.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/attributes_view.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** attributes_view.xsl 12 May 2003 21:45:31 -0000      1.3
--- attributes_view.xsl 29 Aug 2003 16:17:55 -0000      1.4
***************
*** 19,23 ****
                                        <xsl:value-of select="lang_datatype"/>
                                </td> -->
!                               <td class="th_text" width="75%" align="right">
                                        <xsl:value-of select="lang_value"/>
                                </td>
--- 19,23 ----
                                        <xsl:value-of select="lang_datatype"/>
                                </td> -->
!                               <td class="th_text" width="75%" align="left">
                                        <xsl:value-of select="lang_value"/>
                                </td>

Index: report.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/report.xsl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** report.xsl  26 Jun 2003 09:02:05 -0000      1.5
--- report.xsl  29 Aug 2003 16:17:55 -0000      1.6
***************
*** 372,375 ****
--- 372,425 ----
                                </xsl:when>
                        </xsl:choose>
+ 
+                       <xsl:choose>
+                               <xsl:when test="files!=''">
+                       <tr>
+                               <td align="left" valign="top">
+                                       <xsl:value-of select="//lang_files"/>
+                               </td>
+                               <td>
+                               <table>
+                                       <tr class="th">
+                                               <td class="th_text" width="85%" 
align="left">
+                                                       <xsl:value-of 
select="lang_filename"/>
+                                               </td>
+                                       </tr>
+                               <xsl:for-each select="files" >
+                                       <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: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="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="name"/></a>
+                                                       </xsl:when>
+                                                       <xsl:otherwise>
+                                                               <xsl:variable 
name="link_view_file"><xsl:value-of 
select="//link_view_file"/>&amp;file_name=<xsl:value-of 
select="name"/></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="name"/></a>
+                                                       </xsl:otherwise>
+                                               </xsl:choose>
+                                               <xsl:text> </xsl:text>
+                                       </td>
+                                       </tr>
+                               </xsl:for-each>
+                               </table>
+                               </td>
+                       </tr>
+                               </xsl:when>
+                       </xsl:choose>
+ 
                        <tr>
                                <td colspan="2" width="100%">





reply via email to

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