phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] filemanager/templates/base app_data.xsl, 1.9 edit.xsl


From: ceb
Subject: [Phpgroupware-cvs] filemanager/templates/base app_data.xsl, 1.9 edit.xsl, 1.2
Date: Thu, 24 Feb 2005 15:07:17 -0000

Update of filemanager/templates/base

Modified Files:
     Branch: MAIN
            app_data.xsl lines: +5 -2
            edit.xsl lines: +6 -7

Log Message:
update

====================================================
Index: filemanager/templates/base/app_data.xsl
diff -u filemanager/templates/base/app_data.xsl:1.8 
filemanager/templates/base/app_data.xsl:1.9
--- filemanager/templates/base/app_data.xsl:1.8 Mon Jan 24 17:42:04 2005
+++ filemanager/templates/base/app_data.xsl     Wed Jan 26 01:14:36 2005
@@ -5,9 +5,12 @@
                        <xsl:when test="index">
                                <xsl:apply-templates select="index" />
                        </xsl:when>
-                       <xsl:when test="preferences">
+                       <xsl:when test="config">
                                <xsl:apply-templates select="config" />
                        </xsl:when>
+                       <xsl:when test="edit">
+                               <xsl:apply-templates select="edit" />
+                       </xsl:when>
                </xsl:choose>
        </xsl:template>


====================================================
Index: filemanager/templates/base/edit.xsl
diff -u filemanager/templates/base/edit.xsl:1.1 
filemanager/templates/base/edit.xsl:1.2
--- filemanager/templates/base/edit.xsl:1.1     Thu Dec 30 09:17:57 2004
+++ filemanager/templates/base/edit.xsl Wed Jan 26 01:14:36 2005
@@ -1,4 +1,6 @@
-       <xsl:template name="app_data">
+<!-- $Id$ -->
+
+       <xsl:template match="edit">
                <form method="post">
                        <xsl:attribute name="action"><xsl:value-of 
select="form_action"/></xsl:attribute>
                        <xsl:apply-templates select="filemanager_nav" />
@@ -6,7 +8,7 @@
                        <xsl:apply-templates select="filemanager_edit" />
                </form>
        </xsl:template>
-
+
        <xsl:template match="filemanager_nav">
                <table class="app_header" width="100%">
                        <tr>
@@ -22,12 +24,9 @@
                                <td align="right" >
                                        <table>
                                                <tr>
-                                                       <xsl:for-each 
select="/*/*/nav_data/*">
+                                                       <xsl:for-each 
select="nav_data">
                                                                <td>
-                                                                       
<xsl:for-each select="./*">
-                                                                               
<xsl:apply-templates select="." />
-                                                                               
<br />
-                                                                       
</xsl:for-each>
+                                                                       
<xsl:apply-templates select="widget" />
                                                                </td>
                                                        </xsl:for-each>
                                                </tr>






reply via email to

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