summaryrefslogtreecommitdiffstats
path: root/quanta/scripts/info.xsl
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commite9ae80694875f869892f13f4fcaf1170a00dea41 (patch)
treeaa2f8d8a217e2d376224c8d46b7397b68d35de2d /quanta/scripts/info.xsl
downloadtdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.tar.gz
tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/scripts/info.xsl')
-rw-r--r--quanta/scripts/info.xsl73
1 files changed, 73 insertions, 0 deletions
diff --git a/quanta/scripts/info.xsl b/quanta/scripts/info.xsl
new file mode 100644
index 00000000..07a10ed3
--- /dev/null
+++ b/quanta/scripts/info.xsl
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"
+doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
+doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
+
+<xsl:template match="/">
+ <html>
+ <xsl:attribute name="xmlns"><xsl:text>http://www.w3.org/1999/xhtml</xsl:text></xsl:attribute>
+ <head>
+ <title><xsl:value-of select="INFO/name"/></title>
+ <meta>
+ <xsl:attribute name="http-equiv"><xsl:text>Content-Type</xsl:text></xsl:attribute>
+ <xsl:attribute name="content"><xsl:text>text/xhtml; charset=UTF-8</xsl:text></xsl:attribute>
+ </meta>
+ <link rel="stylesheet" type="text/css" href="info.css" />
+ </head>
+ <body>
+ <h1><xsl:value-of select="INFO/name"/></h1>
+ <table>
+ <tr>
+ <th>Author:</th>
+ <td><xsl:value-of select="INFO/author"/></td>
+ </tr>
+ <tr>
+ <th>Contact:</th>
+ <td>
+ <a>
+ <xsl:attribute name="href">
+ <xsl:text>mailto:</xsl:text>
+ <xsl:value-of select="INFO/email"/>
+ </xsl:attribute>
+ <xsl:value-of select="INFO/email"/>
+ </a>
+ </td>
+ </tr>
+ <tr>
+ <th>Website:</th>
+ <td>
+ <a>
+ <xsl:attribute name="href">
+ <xsl:value-of select="INFO/website"/>
+ </xsl:attribute>
+ <xsl:value-of select="INFO/website"/>
+ </a>
+ </td>
+ </tr>
+ <tr>
+ <th>Version:</th>
+ <td><xsl:value-of select="INFO/version"/></td>
+ </tr>
+ <tr>
+ <th>License:</th>
+ <td><xsl:value-of select="INFO/license"/></td>
+ </tr>
+ <tr>
+ <th>About:</th>
+ <td><xsl:value-of select="INFO/about"/></td>
+ </tr>
+ </table>
+ <br /><br />
+ <div align="center"><hr width="50%" />
+ Quanta Information File<br />
+ <em>The Quanta Team</em>
+ </div>
+ </body>
+ </html>
+</xsl:template>
+
+</xsl:stylesheet>
+