phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] filemanager/templates/base widgets.xsl, 1.12 app_data


From: ceb
Subject: [Phpgroupware-cvs] filemanager/templates/base widgets.xsl, 1.12 app_data.xsl, 1.19
Date: Sat, 9 Apr 2005 02:19:00 +0200

Update of filemanager/templates/base

Modified Files:
     Branch: MAIN
            widgets.xsl lines: +12 -11
            app_data.xsl lines: +2 -2

Log Message:
update

====================================================
Index: filemanager/templates/base/widgets.xsl
diff -u filemanager/templates/base/widgets.xsl:1.11 
filemanager/templates/base/widgets.xsl:1.12
--- filemanager/templates/base/widgets.xsl:1.11 Sat Feb 12 00:36:23 2005
+++ filemanager/templates/base/widgets.xsl      Sat Apr  9 00:19:32 2005
@@ -92,21 +92,22 @@
                        </xsl:when>
                        <xsl:otherwise>
                                <xsl:if test="caption_start">
-                                       <xsl:value-of select="caption_start"/>
+                                       <xsl:value-of 
select="caption_start"/>&nbsp;
                                </xsl:if>
                                <input>
                                        <xsl:attribute 
name="type"><xsl:value-of select="type"/></xsl:attribute>
                                        <xsl:attribute 
name="name"><xsl:value-of select="name"/></xsl:attribute>
                                        <xsl:attribute 
name="value"><xsl:value-of select="value"/></xsl:attribute>
-                                       <xsl:choose>
-                                               <xsl:when 
test='$type="checkbox"'>
-                                                       <xsl:variable 
name="checked" select="checked"/>
-                                                       <xsl:if 
test="$checked=1">
-                                                               <xsl:attribute 
name="checked"><xsl:text>checked</xsl:text></xsl:attribute>
-                                                       </xsl:if>
-                                               </xsl:when>
-                                       </xsl:choose>
-                                       <xsl:value-of select="caption"/>
+                                       <xsl:if test="size">
+                                               <xsl:attribute 
name="size"><xsl:value-of select="size"/></xsl:attribute>
+                                       </xsl:if>
+                                       <xsl:if test='$type="checkbox"'>
+                                               <xsl:variable name="checked" 
select="checked"/>
+                                               <xsl:if test="$checked=1">
+                                                       <xsl:attribute 
name="checked"><xsl:text>checked</xsl:text></xsl:attribute>
+                                               </xsl:if>
+                                       </xsl:if>
+                                       &nbsp;<xsl:value-of select="caption"/>
                                </input>
                        </xsl:otherwise>
                </xsl:choose>

====================================================
Index: filemanager/templates/base/app_data.xsl
diff -u filemanager/templates/base/app_data.xsl:1.18 
filemanager/templates/base/app_data.xsl:1.19
--- filemanager/templates/base/app_data.xsl:1.18        Sat Feb 12 00:36:23 2005
+++ filemanager/templates/base/app_data.xsl     Sat Apr  9 00:19:32 2005
@@ -265,7 +265,7 @@
        <xsl:template match="config">
                <center>
                <xsl:if test="error != ''">
-                       <b><xsl:value-of select="error"/></b>
+                       <b><xsl:value-of disable-output-escaping="yes" 
select="error"/></b>
                </xsl:if>
                <xsl:variable name="action_url" select="action_url" />
                <form action="{$action_url}" method="POST">






reply via email to

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