Changeset 17022 for greenstone3/trunk/web/sites/localsite/collect/gberg/transform/document-content.xsl
- Timestamp:
- 2008-08-27T16:33:15+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
greenstone3/trunk/web/sites/localsite/collect/gberg/transform/document-content.xsl
r8538 r17022 11 11 12 12 <xsl:output method="html"/> 13 14 <!-- the main page layout template is here --> 15 <xsl:template match="page"> 16 17 <xsl:choose> 18 <!-- if we are using hte classic GS2 look and feel use this template otherwise use the default GS3 look and feel template --> 19 <xsl:when test="$interface_name = 'gs2'"> 20 <html> 21 <head> 22 <title> 23 <!-- put a space in the title in case the actual value is missing - mozilla will not display a page with no title--> 24 <xsl:call-template name="pageTitle"/><xsl:text> </xsl:text> 25 </title> 26 <xsl:call-template name="globalStyle"/> 27 <xsl:call-template name="pageStyle"/> 28 </head> 29 <body class="bgimage"> 30 <xsl:attribute name="dir"><xsl:call-template name="direction"/></xsl:attribute> 31 <div id="page"> 32 <xsl:apply-templates select="pageResponse"/> 33 <xsl:call-template name="greenstoneFooter"/> 34 </div> 35 </body> 36 </html> 37 </xsl:when> 38 39 <xsl:otherwise> 40 <html> 41 <head> 42 <title> 43 <!-- put a space in the title in case the actual value is missing - mozilla will not display a page with no title--> 44 <xsl:call-template name="pageTitle"/><xsl:text> </xsl:text> 45 </title> 46 <xsl:call-template name="globalStyle"/> 47 <xsl:call-template name="pageStyle"/> 48 </head> 49 <body> 50 <div id="globalwrapper"> 51 <xsl:call-template name="response" /> 52 <xsl:call-template name="greenstoneFooter"/> 53 </div> 54 </body> 55 </html> 56 </xsl:otherwise> 57 </xsl:choose> 58 </xsl:template> 13 59 14 60 <xsl:template name="pageTitle">
Note:
See TracChangeset
for help on using the changeset viewer.