- Timestamp:
- 2011-07-08T14:01:45+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/oran/transform/pages/document.xsl
r24202 r24243 90 90 91 91 <!-- the book's cover image --> 92 <!-- COULD BE WORTH SETTING THE STYLE TO DISPLAY:BLOCK OR DISPLAY:NONE BASED ON WHETHER FLAG IS TRUE OR FALSE --> 93 <!-- OTHERWISE, IF FLAG IS FALSE AND WE WANT TO TURN BOOK COVER ON, NEED TO REQUEST THE NEW PAGE WITH FLAG SET --> 94 <xsl:if test="/page/pageResponse/format[@type='display']/gsf:option[@name='coverImage']/@value='true'"> 95 <div id="coverImage"><gslib:coverImage/></div> 96 </xsl:if> 92 <xsl:choose> 93 <xsl:when test="/page/pageResponse/format[@type='display']/gsf:option[@name='coverImage']/@value='true'"> 94 <div id="coverImage" class="visible"><gslib:coverImage/></div> 95 </xsl:when> 96 <xsl:otherwise> 97 <div id="coverImage" class="hidden"><gslib:coverImage/></div> 98 </xsl:otherwise> 99 </xsl:choose> 97 100 98 101 <!-- the contents (if enabled) --> 99 <!-- VALUE=<xsl:value-of select="/page/pageResponse/format[@type='display']/gsf:option[@name='TOC']/@value"/> --> 100 <xsl:if test="/page/pageResponse/format[@type='display']/gsf:option[@name='TOC']/@value='true'"> 101 <div id="tableOfContents"> 102 <xsl:apply-templates select="documentNode" mode="TOC"/> 103 </div> 104 </xsl:if> 102 <xsl:choose> 103 <xsl:when test="/page/pageResponse/format[@type='display']/gsf:option[@name='TOC']/@value='true'"> 104 <div id="tableOfContents" class="visible"> 105 <xsl:apply-templates select="documentNode" mode="TOC"/> 106 </div> 107 </xsl:when> 108 <xsl:otherwise> 109 <div id="tableOfContents" class="hidden"> 110 <xsl:apply-templates select="documentNode" mode="TOC"/> 111 </div> 112 </xsl:otherwise> 113 </xsl:choose> 105 114 </div> 106 115 </td></tr>
Note:
See TracChangeset
for help on using the changeset viewer.