[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] filemanager/templates/base edit.xsl, 1.5 app_data.xsl
From: |
ceb |
Subject: |
[Phpgroupware-cvs] filemanager/templates/base edit.xsl, 1.5 app_data.xsl, 1.16 |
Date: |
Thu, 10 Feb 2005 17:56:00 +0100 |
Update of filemanager/templates/base
Modified Files:
Branch: MAIN
edit.xsl lines: +32 -17
app_data.xsl lines: +4 -1
Log Message:
quota
====================================================
Index: filemanager/templates/base/edit.xsl
diff -u filemanager/templates/base/edit.xsl:1.4
filemanager/templates/base/edit.xsl:1.5
--- filemanager/templates/base/edit.xsl:1.4 Fri Jan 28 00:19:03 2005
+++ filemanager/templates/base/edit.xsl Thu Feb 10 16:56:37 2005
@@ -2,9 +2,15 @@
<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" />
- <xsl:apply-templates select="filemanager_edit" />
+ <xsl:attribute name="action"><xsl:value-of
select="form_action"/></xsl:attribute>
+ <table border="0" width="100%">
+ <tr>
+ <td>
+ <xsl:apply-templates
select="filemanager_nav" />
+ </td>
+ </tr>
+ <xsl:apply-templates select="filemanager_edit"
/>
+ </table>
</form>
</xsl:template>
@@ -44,25 +50,34 @@
</table>
<hr />
</xsl:template>
-
+
<xsl:template match="filemanager_edit">
- <xsl:value-of select="output"/>
- <br />
- <xsl:apply-templates select="form_data/*" />
- <xsl:choose>
- <xsl:when test="preview">
- <xsl:apply-templates select="preview" />
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="file_content" />
- </xsl:otherwise>
- </xsl:choose>
+ <tr>
+ <td>
+ <xsl:value-of select="output"/>
+ </td>
+ </tr>
+ <tr>
+ <!-- <xsl:apply-templates select="form_data/*" /> -->
+ <xsl:choose>
+ <xsl:when test="preview">
+ <xsl:apply-templates select="preview" />
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates
select="file_content" />
+ </xsl:otherwise>
+ </xsl:choose>
+ </tr>
</xsl:template>
<xsl:template match="file_content">
- <textarea name="edit_file_content" rows="30" cols="80"
class="fileeditor" wrap="VIRTUAL"><xsl:value-of select="." /></textarea>
+ <td align="center">
+ <textarea name="edit_file_content" rows="30" cols="80"
class="fileeditor" wrap="VIRTUAL"><xsl:value-of select="." /></textarea>
+ </td>
</xsl:template>
<xsl:template match="preview">
+ <td>
<xsl:value-of disable-output-escaping="yes" select="."/>
+ </td>
</xsl:template>
====================================================
Index: filemanager/templates/base/app_data.xsl
diff -u filemanager/templates/base/app_data.xsl:1.15
filemanager/templates/base/app_data.xsl:1.16
--- filemanager/templates/base/app_data.xsl:1.15 Thu Feb 10 16:19:47 2005
+++ filemanager/templates/base/app_data.xsl Thu Feb 10 16:56:37 2005
@@ -14,6 +14,9 @@
<xsl:when test="help">
<xsl:apply-templates select="help" />
</xsl:when>
+ <xsl:when test="history">
+ <xsl:apply-templates select="history" />
+ </xsl:when>
</xsl:choose>
</xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] filemanager/templates/base edit.xsl, 1.5 app_data.xsl, 1.16,
ceb <=