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 |
|
---|
5 | xmlns:java="http://xml.apache.org/xslt/java"
|
---|
6 | xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
|
---|
7 | xmlns:gslib="http://www.greenstone.org/skinning"
|
---|
8 | xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
|
---|
9 |
|
---|
10 | xmlns:lxslt="http://xml.apache.org/xslt"
|
---|
11 | xmlns:result="http://www.example.com/results"
|
---|
12 | xmlns:exsl="http://exslt.org/common"
|
---|
13 |
|
---|
14 | extension-element-prefixes="java util result exsl"
|
---|
15 | exclude-result-prefixes="util java util">
|
---|
16 |
|
---|
17 | <xsl:include href="header.xsl"/>
|
---|
18 | <xsl:include href="formatmanager.xsl"/>
|
---|
19 |
|
---|
20 |
|
---|
21 | <!-- put the URL or path of your site here site -->
|
---|
22 | <!-- eg 'http://www.example.com/mysite' or '/mysite' -->
|
---|
23 | <xsl:template name="siteURL"><xsl:value-of select="/page/pageResponse/metadataList/metadata[@name='siteURL']"/></xsl:template>
|
---|
24 |
|
---|
25 |
|
---|
26 | <!-- the output format for this layout is html -->
|
---|
27 | <!-- <xsl:output method="xml" version="1.0" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.1//EN" doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" indent="yes" omit-xml-declaration="yes"/> -->
|
---|
28 | <xsl:output method="html" omit-xml-declaration="yes"/>
|
---|
29 |
|
---|
30 | <!-- the main layout is defined here -->
|
---|
31 | <xsl:template match="/">
|
---|
32 |
|
---|
33 | <html>
|
---|
34 |
|
---|
35 | <head>
|
---|
36 | <!-- ***** in header.xsl ***** -->
|
---|
37 | <xsl:call-template name="create-html-header"/>
|
---|
38 | <xsl:call-template name="berryBasketHeadTags"/>
|
---|
39 | </head>
|
---|
40 |
|
---|
41 | <body><xsl:call-template name="textDirectionAttribute"/><xsl:call-template name="actionClass"/>
|
---|
42 |
|
---|
43 | <xsl:call-template name="displayErrorsIfAny"/>
|
---|
44 | <a name="top"><xsl:text> </xsl:text></a>
|
---|
45 | <div id="container">
|
---|
46 |
|
---|
47 | <div id="gs_banner">
|
---|
48 | <!-- ***** in header.xsl ***** -->
|
---|
49 | <xsl:call-template name="create-banner"/>
|
---|
50 | </div>
|
---|
51 |
|
---|
52 | <xsl:if test="/page/pageRequest/paramList/param[(@name='formatedit') and (@value='on')]">
|
---|
53 | <xsl:call-template name="formatmanagerpre"/>
|
---|
54 | </xsl:if>
|
---|
55 |
|
---|
56 | <div id="gs_content">
|
---|
57 | <!--
|
---|
58 | show the content of the page.
|
---|
59 | to customise this part, edit the xsl file for the page you want to edit
|
---|
60 | -->
|
---|
61 | <xsl:apply-templates select="/page"/>
|
---|
62 |
|
---|
63 | </div>
|
---|
64 |
|
---|
65 | <!--<xsl:call-template name="formatmanagerpost"/>-->
|
---|
66 |
|
---|
67 | <div id="gs_footer">
|
---|
68 | <a href="http://www.greenstone.org"><xsl:call-template name="poweredByGS3TextBar"/></a>
|
---|
69 | </div>
|
---|
70 |
|
---|
71 | <div class="corner" id="cornerTopLeft"><xsl:text> </xsl:text></div>
|
---|
72 | <div class="corner" id="cornerTopRight"><xsl:text> </xsl:text></div>
|
---|
73 | <div class="corner" id="cornerBottomLeft"><xsl:text> </xsl:text></div>
|
---|
74 | <div class="corner" id="cornerBottomRight"><xsl:text> </xsl:text></div>
|
---|
75 | </div>
|
---|
76 | </body>
|
---|
77 | </html>
|
---|
78 | </xsl:template>
|
---|
79 | </xsl:stylesheet>
|
---|
80 |
|
---|
81 |
|
---|