phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


From: ceb
Subject: [Phpgroupware-cvs] filemanager/templates/base index.tpl, 1.2 app_data.xsl, 1.7 widgets.xsl, 1.6
Date: Thu, 24 Feb 2005 15:09:06 -0000

Update of filemanager/templates/base

Removed Files:
     Branch: MAIN
            index.tpl
Modified Files:
     Branch: MAIN
            app_data.xsl lines: +16 -6
            widgets.xsl lines: +15 -2

Log Message:
update

====================================================
Index: filemanager/templates/base/app_data.xsl
diff -u filemanager/templates/base/app_data.xsl:1.6 
filemanager/templates/base/app_data.xsl:1.7
--- filemanager/templates/base/app_data.xsl:1.6 Sun Jan 23 21:33:14 2005
+++ filemanager/templates/base/app_data.xsl     Mon Jan 24 00:26:34 2005
@@ -12,8 +12,16 @@
        </xsl:template>

        <xsl:template match="index">
-               <xsl:variable name="form_action" select="form_action" />
-               <form enctype="multipart/form-data" action="{$form_action}" 
method="POST">
+               <!--<xsl:variable name="form_action" select="form_action" />
+               <form enctype="multipart/form-data" action="{$form_action}" 
method="POST">-->
+
+               <form>
+                       <xsl:attribute name="action"> <xsl:value-of 
select="form/action"/> </xsl:attribute>
+                       <xsl:attribute name="method"> <xsl:value-of 
select="form/method"/></xsl:attribute>
+                       <xsl:attribute name="enctype"> <xsl:value-of 
select="form/enctype"/></xsl:attribute>
+                       <xsl:attribute name="id"> <xsl:value-of 
select="form/id"/></xsl:attribute>
+                       <xsl:attribute name="name"> <xsl:value-of 
select="form/name"/></xsl:attribute>
+
                <table width="100%" border="0" cellpadding="2" cellspacing="2">
                        <tr>
                                <td width="5%">
@@ -52,7 +60,7 @@
                        </tr>
                        <tr>
                                <td colspan="5">
-                                       <table width="60%" align="center" 
cellpadding="0" cellspacing="0">
+                                       <table align="center" cellpadding="2" 
cellspacing="2">
                                                <tr>
                                                        <td 
align="center"><b><xsl:value-of select="lang_file"/></b></td>
                                                        <td 
align="center"><b><xsl:value-of select="lang_comment"/></b></td>
@@ -69,11 +77,13 @@
                        </tr>
                        <tr>
                                <td>
-                                       <xsl:apply-templates select="buttons" />
+                                       <xsl:apply-templates 
select="menu/widget" />
+                               </td>
+                               <td colspan="4">
+                                       <xsl:apply-templates 
select="dir_menu/widget" />
                                </td>
                        </tr>

-
                        <xsl:apply-templates select="add_moz_sidebar" />

                        <xsl:apply-templates select="body_data" />

====================================================
Index: filemanager/templates/base/widgets.xsl
diff -u filemanager/templates/base/widgets.xsl:1.5 
filemanager/templates/base/widgets.xsl:1.6
--- filemanager/templates/base/widgets.xsl:1.5  Sun Jan 23 21:33:14 2005
+++ filemanager/templates/base/widgets.xsl      Mon Jan 24 00:26:34 2005
@@ -13,6 +13,15 @@
                        <xsl:when test='$type="select"'>
                                <select>
                                        <xsl:attribute 
name="name"><xsl:value-of select="name"/></xsl:attribute>
+                                       <xsl:if test="id">
+                                               <xsl:attribute 
name="id"><xsl:value-of select="id"/></xsl:attribute>
+                                       </xsl:if>
+                                       <xsl:if test="onChange">
+                                               <xsl:attribute 
name="onChange"><xsl:value-of disable-output-escaping="yes" 
select="onChange"/></xsl:attribute>
+                                       </xsl:if>
+                                       <xsl:if test="disabled">
+                                               <xsl:attribute 
name="disabled"><xsl:text>disabled</xsl:text></xsl:attribute>
+                                       </xsl:if>
                                        <xsl:value-of select="caption"/>
                                        <xsl:for-each select="options/option">
                                                <option>
@@ -24,6 +33,9 @@
                                                                                
<xsl:attribute name="selected"><xsl:text>selected</xsl:text></xsl:attribute>
                                                                        
</xsl:if>
                                                                </xsl:when>
+                                                               <xsl:when 
test="disabled">
+                                                                       
<xsl:attribute name="disabled"><xsl:text>disabled</xsl:text></xsl:attribute>
+                                                               </xsl:when>
                                                        </xsl:choose>
                                                        <xsl:value-of 
select="caption"/>
                                                </option>
@@ -42,7 +54,8 @@
                                                <xsl:variable name="name" 
select="name"/>
                                                <xsl:variable name="src" 
select="src"/>
                                                <xsl:variable name="title" 
select="title"/>
-                                               <input type="{$type}" 
name="{$name}" value="True" src="{$src}" title="{$title}" alt="{$title}" 
border="0" />
+                                               <xsl:variable name="value" 
select="value"/>
+                                               <input type="{$type}" 
name="{$name}" value="{$value}" src="{$src}" title="{$title}" alt="{$title}" 
border="0" />
                                        </xsl:when>
                                        <xsl:when test="link">
                                                <xsl:variable 
name="link"><xsl:value-of select="link"/></xsl:variable>






reply via email to

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