Ignore:
Timestamp:
2008-08-27T16:31:10+12:00 (16 years ago)
Author:
max
Message:

Move the HTML skeleton from style.xsl to the current XSL file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/web/interfaces/gs2/transform/pref.xsl

    r16862 r17019  
    77  exclude-result-prefixes="java util">
    88 
     9  <!-- style includes global params interface_name, library_name -->
    910  <xsl:include href="style.xsl"/>
    1011  <xsl:output method="html"/> 
     12 
     13    <!-- the main page layout template is here -->
     14  <xsl:template match="page">
     15    <html>
     16    <head>
     17      <title>
     18    <!-- put a space in the title in case the actual value is missing - mozilla will not display a page with no title-->
     19    <xsl:call-template name="pageTitle"/><xsl:text> </xsl:text>
     20      </title>
     21      <xsl:call-template name="globalStyle"/>
     22      <xsl:call-template name="pageStyle"/>
     23    </head>
     24      <body class="bgimage">
     25    <xsl:attribute name="dir"><xsl:call-template name="direction"/></xsl:attribute>
     26    <div id="page">
     27       <xsl:apply-templates select="pageResponse"/>
     28       <xsl:call-template name="greenstoneFooter"/>                   
     29    </div>
     30      </body>
     31    </html>
     32  </xsl:template>
    1133 
    1234  <xsl:template name="pageTitle">
Note: See TracChangeset for help on using the changeset viewer.