phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] filemanager/templates/base history.tpl, 1.2 app_data.


From: ceb
Subject: [Phpgroupware-cvs] filemanager/templates/base history.tpl, 1.2 app_data.xsl, 1.15 widgets.xsl, 1.10
Date: Thu, 10 Feb 2005 17:19:00 +0100

Update of filemanager/templates/base

Removed Files:
     Branch: MAIN
            history.tpl
Modified Files:
     Branch: MAIN
            app_data.xsl lines: +25 -2
            widgets.xsl lines: +4 -1

Log Message:
quota

====================================================
Index: filemanager/templates/base/app_data.xsl
diff -u filemanager/templates/base/app_data.xsl:1.14 
filemanager/templates/base/app_data.xsl:1.15
--- filemanager/templates/base/app_data.xsl:1.14        Tue Feb  8 00:06:31 2005
+++ filemanager/templates/base/app_data.xsl     Thu Feb 10 16:19:47 2005
@@ -212,7 +212,7 @@
                                <td><b><xsl:value-of select="lang_space" 
/></b>:&nbsp;</td>
                                <td><xsl:value-of select="usage" /></td>
                                <td>
-                                       <xsl:if test="unused"><b><xsl:value-of 
select="lang_unused" /></b>:&nbsp;</xsl:if>
+                                       <xsl:if test="unused != 
''"><b><xsl:value-of select="lang_unused" /></b>:&nbsp;</xsl:if>
                                </td>
                                <td><xsl:value-of select="unused" /></td>
                        </tr>
@@ -277,3 +277,26 @@
                        </tr>
                </table>
        </xsl:template>
+
+       <xsl:template match="history">
+               <table width="100%">
+                       <tr>
+                               <td align="center">
+                                       <b><xsl:value-of 
select="title"/></b><br />
+                               </td>
+                       </tr>
+                       <tr>
+                               <td>
+                                       <xsl:apply-templates select="table" />
+                               </td>
+                       </tr>
+                       <tr height="50" valign="bottom">
+                               <td align="center">
+                                       <input type="button">
+                                               <xsl:attribute 
name="value"><xsl:value-of select="lang_close"/></xsl:attribute>
+                                               <xsl:attribute 
name="onClick"><xsl:text>window.close();</xsl:text></xsl:attribute>
+                                       </input>
+                               </td>
+                       </tr>
+               </table>
+       </xsl:template>

====================================================
Index: filemanager/templates/base/widgets.xsl
diff -u filemanager/templates/base/widgets.xsl:1.9 
filemanager/templates/base/widgets.xsl:1.10
--- filemanager/templates/base/widgets.xsl:1.9  Sat Jan 29 02:34:48 2005
+++ filemanager/templates/base/widgets.xsl      Thu Feb 10 16:19:47 2005
@@ -75,6 +75,9 @@
                        <xsl:when test='$type="link"'>
                                <a>
                                        <xsl:attribute 
name="href"><xsl:value-of select="href"/></xsl:attribute>
+                                       <xsl:if test="onClick">
+                                               <xsl:attribute 
name="onClick"><xsl:value-of disable-output-escaping="yes" 
select="onClick"/></xsl:attribute>
+                                       </xsl:if>
                                        <xsl:value-of select="caption"/>
                                </a>
                        </xsl:when>






reply via email to

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