diff options
| author | Tobias Weimer <wishmaster51@googlemail.com> | 2012-12-28 21:04:44 +0000 |
|---|---|---|
| committer | Tobias Weimer <wishmaster51@googlemail.com> | 2012-12-28 21:04:44 +0000 |
| commit | 79b8ebded1a82dd8480bfb4d9cbe077b5319f84e (patch) | |
| tree | b3de26e6236a95f8d46546942c6e8f6479f06793 /plugins/!NotAdopted/HTTPServer/data/HTTPServer.xsl | |
| parent | 578c3d4a75046cc06dfa247b437f04fc542c36a9 (diff) | |
added HTTPServer (not yet adopted, can someone else try it please? :)
git-svn-id: http://svn.miranda-ng.org/main/trunk@2876 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!NotAdopted/HTTPServer/data/HTTPServer.xsl')
| -rw-r--r-- | plugins/!NotAdopted/HTTPServer/data/HTTPServer.xsl | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/plugins/!NotAdopted/HTTPServer/data/HTTPServer.xsl b/plugins/!NotAdopted/HTTPServer/data/HTTPServer.xsl new file mode 100644 index 0000000000..fc5006707e --- /dev/null +++ b/plugins/!NotAdopted/HTTPServer/data/HTTPServer.xsl @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- Edited with XML Spy v4.2 -->
+<xsl:stylesheet version="1.0"
+xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:template match="/">
+ <html>
+ <body>
+ <h2>HTTP server configuration</h2>
+ <table border="1">
+ <tr bgcolor="#9acd32">
+ <th align="left">Name</th>
+ <th align="left">File</th>
+ <th align="left">Max downloads</th>
+ <th align="left">IP address</th>
+ <th align="left">IP mask</th>
+ </tr>
+ <xsl:for-each select="config/share">
+ <tr>
+ <td>
+ <xsl:element name="A">
+ <xsl:attribute name="href"><xsl:value-of select="name"/></xsl:attribute>
+ <xsl:value-of select="name"/>
+ </xsl:element>
+ </td>
+ <td><xsl:value-of select="file"/></td>
+ <td><xsl:value-of select="max_downloads"/></td>
+ <td><xsl:value-of select="ip_address"/></td>
+ <td><xsl:value-of select="ip_mask"/></td>
+ </tr>
+ </xsl:for-each>
+ </table>
+ </body>
+ </html>
+</xsl:template>
+</xsl:stylesheet>
\ No newline at end of file |
