Changeset 17019 for greenstone3


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.

Location:
greenstone3/trunk/web/interfaces/gs2/transform
Files:
10 edited

Legend:

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

    r13254 r17019  
    1313  <xsl:include href="service-params.xsl"/>
    1414  <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 class="bgimage">
     28    <xsl:attribute name="dir"><xsl:call-template name="direction"/></xsl:attribute>
     29    <div id="page">
     30       <xsl:apply-templates select="pageResponse"/>
     31       <xsl:call-template name="greenstoneFooter"/>                   
     32    </div>
     33      </body>
     34    </html>
     35  </xsl:template>
    1536
    1637  <xsl:template name="pageTitle">
  • 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">
  • greenstone3/trunk/web/interfaces/gs2/transform/authen.xsl

    r14413 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:include href="service-params.xsl"/>
    1112
    1213  <xsl:output method="html"/> 
     14 
     15    <!-- the main page layout template is here -->
     16  <xsl:template match="page">
     17    <html>
     18    <head>
     19      <title>
     20    <!-- put a space in the title in case the actual value is missing - mozilla will not display a page with no title-->
     21    <xsl:call-template name="pageTitle"/><xsl:text> </xsl:text>
     22      </title>
     23      <xsl:call-template name="globalStyle"/>
     24      <xsl:call-template name="pageStyle"/>
     25    </head>
     26      <body class="bgimage">
     27    <xsl:attribute name="dir"><xsl:call-template name="direction"/></xsl:attribute>
     28    <div id="page">
     29       <xsl:apply-templates select="pageResponse"/>
     30       <xsl:call-template name="greenstoneFooter"/>                   
     31    </div>
     32      </body>
     33    </html>
     34  </xsl:template>
    1335
    1436  <xsl:param name="library_name"/>
  • greenstone3/trunk/web/interfaces/gs2/transform/classifier.xsl

    r16977 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:include href="classifiertools.xsl"/>
    1112 
    12   <xsl:output method="html"/> 
     13  <xsl:output method="html"/>
     14
     15  <!-- the main page layout template is here -->
     16  <xsl:template match="page">
     17    <html>
     18    <head>
     19      <title>
     20    <!-- put a space in the title in case the actual value is missing - mozilla will not display a page with no title-->
     21    <xsl:call-template name="pageTitle"/><xsl:text> </xsl:text>
     22      </title>
     23      <xsl:call-template name="globalStyle"/>
     24      <xsl:call-template name="pageStyle"/>
     25    </head>
     26      <body class="bgimage">
     27    <xsl:attribute name="dir"><xsl:call-template name="direction"/></xsl:attribute>
     28    <div id="page">
     29       <xsl:apply-templates select="pageResponse"/>
     30       <xsl:call-template name="greenstoneFooter"/>                   
     31    </div>
     32      </body>
     33    </html>
     34  </xsl:template> 
    1335
    1436  <xsl:template name="pageTitle">
  • greenstone3/trunk/web/interfaces/gs2/transform/document.xsl

    r16862 r17019  
    88  exclude-result-prefixes="java util gsf">
    99
     10  <!-- style includes global params interface_name, library_name -->
    1011  <xsl:include href="style.xsl"/>
    1112  <xsl:include href="service-params.xsl"/>
    1213  <xsl:output method="html"/>
     14 
     15 
    1316
    1417  <!-- the main page layout template is here -->
     
    1619  <xsl:template match="page" priority='2'>
    1720    <html>
    18       <xsl:call-template name="pageHead"/>
     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>
    1929      <body>
    2030        <xsl:attribute name="dir"><xsl:call-template name="direction"/></xsl:attribute>
  • greenstone3/trunk/web/interfaces/gs2/transform/gli4gs3.xsl

    r14598 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">
  • greenstone3/trunk/web/interfaces/gs2/transform/help.xsl

    r8568 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:include href="help-text.xsl"/>-->
     
    1213 
    1314  <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 class="bgimage">
     28    <xsl:attribute name="dir"><xsl:call-template name="direction"/></xsl:attribute>
     29    <div id="page">
     30       <xsl:apply-templates select="pageResponse"/>
     31       <xsl:call-template name="greenstoneFooter"/>                   
     32    </div>
     33      </body>
     34    </html>
     35  </xsl:template>
    1436 
    1537  <xsl:template name="pageTitle">
  • greenstone3/trunk/web/interfaces/gs2/transform/home.xsl

    r16862 r17019  
    1111
    1212  <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>
    1334
    1435  <xsl:template name="pageTitle">
  • 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">
  • greenstone3/trunk/web/interfaces/gs2/transform/query.xsl

    r16977 r17019  
    77  exclude-result-prefixes="java util">
    88
    9  
     9  <!-- style includes global params interface_name, library_name -->
    1010  <xsl:include href="style.xsl"/>
    1111  <xsl:include href="service-params.xsl"/>
     
    1313  <xsl:include href="query-common.xsl"/> 
    1414  <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 class="bgimage">
     28    <xsl:attribute name="dir"><xsl:call-template name="direction"/></xsl:attribute>
     29    <div id="page">
     30       <xsl:apply-templates select="pageResponse"/>
     31       <xsl:call-template name="greenstoneFooter"/>                   
     32    </div>
     33      </body>
     34    </html>
     35  </xsl:template>
    1536 
    1637  <xsl:template name="pageTitle">
Note: See TracChangeset for help on using the changeset viewer.