source: greenstone3/trunk/web/interfaces/gs2/transform/help.xsl@ 17019

Last change on this file since 17019 was 17019, checked in by max, 16 years ago

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

  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 xmlns:java="http://xml.apache.org/xslt/java"
5 xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
6 extension-element-prefixes="java util"
7 exclude-result-prefixes="java util">
8
9 <!-- style includes global params interface_name, library_name -->
10 <xsl:include href="style.xsl"/>
11 <!--<xsl:include href="help-text.xsl"/>-->
12 <xsl:include href="page-common.xsl"/>
13
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 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>
36
37 <xsl:template name="pageTitle">
38 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_tip')"/>
39 </xsl:template>
40
41 <!-- page specific style goes here -->
42 <xsl:template name="pageStyle"/>
43
44
45 <xsl:template match="pageResponse">
46 <xsl:variable name="collName" select="/page/pageRequest/paramList/param[@name='c']/@value"/>
47 <center>
48 <xsl:call-template name="standardPageBanner">
49 <xsl:with-param name="collName" select="$collName"/>
50 <xsl:with-param name="pageType">help</xsl:with-param>
51 </xsl:call-template>
52 <xsl:call-template name="navigationBar">
53 <xsl:with-param name="collName" select="$collName"/>
54 </xsl:call-template>
55 <p />Help text to go here!!
56 </center>
57 </xsl:template>
58
59
60</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.