Changeset 13996 for trunk/gsdl3/web/interfaces/default/transform/style.xsl
- Timestamp:
- 2007-03-28T16:24:18+12:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/web/interfaces/default/transform/style.xsl
r13505 r13996 17 17 <!-- the main page layout template is here --> 18 18 <xsl:template match="page"> 19 <html> 19 <xsl:variable name="bookswitch"><xsl:value-of select="/page/pageRequest/paramList/param[@name='book']/@value"/></xsl:variable> 20 <xsl:variable name="a"><xsl:value-of select="/page/pageRequest/paramList/param[@name='a']/@value"/></xsl:variable> 21 22 <xsl:choose> 23 <xsl:when test="$bookswitch = 'flashxml' and $a = 'd'"> 24 <html> 25 <xsl:call-template name="response" /> 26 </html> 27 </xsl:when> 28 29 <xsl:otherwise> 30 <html> 20 31 <xsl:call-template name="pageHead"/> 21 22 <body> 23 <div id="globalwrapper"> 32 <body> 33 <div id="globalwrapper"> 34 <xsl:call-template name="response" /> 35 <xsl:call-template name="greenstoneFooter"/> 36 </div> 37 </body> 38 </html> 39 </xsl:otherwise> 40 </xsl:choose> 41 </xsl:template> 42 43 <xsl:template name="response"> 24 44 <xsl:apply-templates select="pageResponse"/> 25 45 <xsl:if test="descendant::error"> … … 53 73 </div> 54 74 </xsl:if> 55 <xsl:call-template name="greenstoneFooter"/> 56 </div> 57 </body> 58 </html> 59 </xsl:template> 75 </xsl:template> 60 76 61 77 <!-- put a space in the title in case the actual value is missing - mozilla will not display a page with no title-->
Note:
See TracChangeset
for help on using the changeset viewer.