phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


From: nomail
Subject: [Phpgroupware-cvs] filemanager/templates/base/edit.xsl, 1.1
Date: Thu, 30 Dec 2004 10:17:57 +0100

Update of /filemanager/templates/base
Added Files:
        Branch: 
          edit.xsl

date: 2004/12/30 09:17:57;  author: skwashd;  state: Exp;

Log Message:
clean up, merge, remove crud and apply patch #3525
=====================================================================
        <xsl:template name="app_data">
                <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="preview" />
                        <xsl:apply-templates select="filemanager_edit" />
                </form>
        </xsl:template>
        
        <xsl:template match="filemanager_nav">
                <table class="app_header" width="100%">
                        <tr>
                                <td class="tr_text" align="left" width="33%" >
                                                                
<xsl:apply-templates select="img_up/widget" />
                                                                
<xsl:apply-templates select="img_home/widget" />
                                </td>
                                <td class="app_header" align="center" 
width="33%">
                                        <h3>Editing file: 
                                                <xsl:value-of 
select="/*/*/*/filename"/>
                                        </h3>
                                </td>
                                <td align="right" >
                                        <table>
                                                <tr>
                                                        <xsl:for-each 
select="/*/*/nav_data/*">
                                                                <td>
                                                                        
<xsl:for-each select="./*">
                                                                                
<xsl:apply-templates select="." />
                                                                                
<br />
                                                                        
</xsl:for-each>
                                                                </td>
                                                        </xsl:for-each>
                                                </tr>
                                        </table>
                                </td>
                        </tr>
                </table>
                <hr />
        </xsl:template>
        
        <xsl:template match="filemanager_edit">
                <xsl:value-of select="output"/>
                <xsl:value-of select="preview"/>
                <br />
                <xsl:apply-templates select="form_data/*" />
                <xsl:apply-templates select="file_content" /> 
        </xsl:template>
        
        <xsl:template match="preview">
                <xsl:copy-of select="."/>
        </xsl:template>
        
        <xsl:template match="file_content">
                <textarea name="edit_file_content" rows="50" cols="80" 
class="fileeditor"><xsl:value-of select="."/></textarea>
        </xsl:template>
        
        




reply via email to

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