Conditional headers in full design

main
Inga 🏳‍🌈 14 years ago
parent a0cbfb9ae1
commit 3a3062c92c
  1. 4
      templates/Full/Post.xslt
  2. 4
      templates/Full/Thread.xslt
  3. 2
      templates/Full/elems/Main.xslt

@ -7,7 +7,9 @@
</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<xsl:template name="specific">
<xsl:if test="not(get/param[@name='headers'] = 'false')">
<xsl:call-template name="threadInfo"/>
</xsl:if>
<br />
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
@ -21,7 +23,9 @@
</tr>
</table>
<br />
<xsl:if test="not(get/param[@name='headers'] = 'false')">
<xsl:call-template name="threadInfo"/>
</xsl:if>
</xsl:template>
<xsl:template name="threadInfo">

@ -7,7 +7,9 @@
</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<xsl:template name="specific">
<xsl:if test="not(get/param[@name='headers'] = 'false')">
<xsl:call-template name="threadInfo"/>
</xsl:if>
<br />
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
@ -49,7 +51,9 @@
</tr>
</table>
<br />
<xsl:if test="not(get/param[@name='headers'] = 'false')">
<xsl:call-template name="threadInfo"/>
</xsl:if>
</xsl:template>
<xsl:template name="threadInfo">

@ -18,7 +18,9 @@
</title>
</head>
<body>
<xsl:if test="not(get/param[@name='headers'] = 'false')">
<xsl:call-template name="header"/>
</xsl:if>
<xsl:call-template name="specific"/>
<div style="display:none">
<form action="" method="POST" id="systemForm">

Loading…
Cancel
Save