Ignore:
Timestamp:
2008-08-27T16:28:23+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/default/transform/classifier.xsl

    r13546 r17017  
    77  exclude-result-prefixes="java util">
    88 
     9  <!-- style includes global params interface_name, library_name -->
    910  <xsl:include href="style.xsl"/>
    1011  <xsl:include href="classifiertools.xsl"/>
    1112  <xsl:include href="berrytools.xsl"/>
    1213
    13   <xsl:output method="html"/> 
     14  <xsl:output method="html"/>
     15
     16  <!-- the main page layout template is here -->
     17  <xsl:template match="page">
     18        <html>
     19    <head>
     20      <title>
     21    <!-- put a space in the title in case the actual value is missing - mozilla will not display a page with no title-->
     22    <xsl:call-template name="pageTitle"/><xsl:text> </xsl:text>
     23      </title>
     24      <xsl:call-template name="globalStyle"/>
     25      <xsl:call-template name="pageStyle"/>
     26    </head>
     27          <body>
     28           <div id="globalwrapper">
     29          <xsl:call-template name="response" />
     30          <xsl:call-template name="greenstoneFooter"/>
     31       </div>
     32          </body>
     33        </html>
     34  </xsl:template>
     35 
    1436  <xsl:variable name="berrybasketswitch"><xsl:value-of select="/page/pageRequest/paramList/param[@name='berrybasket']/@value"/></xsl:variable>
    1537
Note: See TracChangeset for help on using the changeset viewer.