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/applet.xsl

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