- Timestamp:
- 2011-06-27T11:07:20+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/oran/transform/pages/document.xsl
r24115 r24202 90 90 91 91 <!-- the book's cover image --> 92 <div id="coverImage"><gslib:coverImage/></div> 93 94 <!-- the contents --> 95 <div id="tableOfContents"> 96 <xsl:apply-templates select="documentNode" mode="TOC"/> 97 </div> 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> 97 98 <!-- 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> 98 105 </div> 99 106 </td></tr> … … 142 149 <a name="{@nodeID}"><xsl:text> </xsl:text></a> 143 150 <!-- Section header --> 144 <table ><tr>151 <table class="sectionHeader"><tr> 145 152 <!-- Expand/collapse button --> 146 153 <td class="headerTD"> … … 163 170 </span> 164 171 </xsl:if> 165 <xsl:value-of disable-output-escaping="yes" select="metadataList/metadata[@name = 'Title']"/> 172 <!-- Display the title for the section regardless of whether automatic section numbering is turned on --> 173 <span class="sectionTitle"><xsl:value-of disable-output-escaping="yes" select="metadataList/metadata[@name = 'Title']"/></span> 166 174 </p> 167 175 </td>
Note:
See TracChangeset
for help on using the changeset viewer.