mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
41 lines
1 KiB
HTML
41 lines
1 KiB
HTML
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
<xsl:output method="html" encoding="utf-8"/>
|
|
<xsl:param name="offline" select="0"/>
|
|
<xsl:template match="/">
|
|
<div class="container">
|
|
<div id="doc-mini-header">
|
|
<div class="doc-home">
|
|
<a>
|
|
<xsl:choose>
|
|
<xsl:when test="$offline=1">
|
|
<xsl:attribute name="href">index.html</xsl:attribute>
|
|
</xsl:when>
|
|
<xsl:otherwise>
|
|
<xsl:attribute name="href">index.php</xsl:attribute>
|
|
</xsl:otherwise>
|
|
</xsl:choose>
|
|
Home
|
|
</a>
|
|
</div>
|
|
<h1>
|
|
<xsl:value-of select="ESCRIPT/header/topic"/>
|
|
</h1>
|
|
<b>
|
|
Last Modified:
|
|
<xsl:value-of select="ESCRIPT/header/datemodified"/>
|
|
</b>
|
|
</div>
|
|
</div>
|
|
<div id="main">
|
|
<div class="container">
|
|
<div class="doc-mainbox">
|
|
<pre>
|
|
<code>
|
|
<xsl:value-of select="ESCRIPT/pre"/>
|
|
</code>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</xsl:template>
|
|
</xsl:stylesheet>
|