- Timestamp:
- 2012-05-31T11:57:46+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/transform/layouts/toc.xsl
r25660 r25720 80 80 </xsl:choose> 81 81 </xsl:attribute> 82 <xsl:for-each select="documentNode"> <!--xxx<xsl:apply-templates select="documentNode" mode="TOC"/>-->82 <xsl:for-each select="documentNode"> 83 83 <xsl:call-template name="documentNodeTOC"/> 84 84 </xsl:for-each> … … 92 92 93 93 <!-- This template is used to display the table of contents --> 94 <xsl:template name="documentNodeTOC"> <!--xxx<xsl:template match="documentNode" mode="TOC">-->94 <xsl:template name="documentNodeTOC"> 95 95 96 96 <!-- check if this is the currently selected table of contents item --> … … 164 164 <xsl:text> </xsl:text> 165 165 </xsl:if> 166 <xsl:call-template name="sectionTitle"/> <!--xxx<xsl:apply-templates select="." mode="sectionTitle"/>-->166 <xsl:call-template name="sectionTitle"/> 167 167 </a> 168 168 </td> … … 182 182 </xsl:choose> 183 183 </xsl:attribute> 184 <xsl:for-each select="documentNode"> <!--xxx<xsl:apply-templates select="documentNode" mode="TOC"/>-->184 <xsl:for-each select="documentNode"> 185 185 <xsl:call-template name="documentNodeTOC"/> 186 186 </xsl:for-each> … … 235 235 <xsl:attribute name="src"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'highlight_image')"/></xsl:attribute> 236 236 </img> 237 <input id="highlightOption" type="checkbox" class="optionCheckBox"> 238 <xsl:choose> 239 <xsl:when test="/page/pageRequest/paramList/param[@name = 'hl']/@value = 'on'"> 240 <xsl:attribute name="onclick"> 241 <xsl:text>removeHighlight();</xsl:text> 242 </xsl:attribute> 243 <xsl:attribute name="checked">true</xsl:attribute> 244 </xsl:when> 245 <xsl:otherwise> 246 <xsl:attribute name="onclick"> 247 <xsl:text>addHighlight();</xsl:text> 248 </xsl:attribute> 249 </xsl:otherwise> 250 </xsl:choose> 237 <input id="highlightOption" type="checkbox" class="optionCheckBox" onclick="swapHighlight();"> 238 <xsl:if test="/page/pageRequest/paramList/param[@name = 'hl']/@value = 'on'"> 239 <xsl:attribute name="checked">true</xsl:attribute> 240 </xsl:if> 251 241 </input> 252 242 </td>
Note:
See TracChangeset
for help on using the changeset viewer.