source: main/trunk/greenstone3/web/interfaces/oran/transform/layouts/main.xsl@ 23813

Last change on this file since 23813 was 23813, checked in by sjm84, 13 years ago

Lots of upgrades to the oran skin, getting it ready to be the default skin for Greenstone3

File size: 2.6 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
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 <xsl:include href="xml-to-gui.xsl"/>
21 <xsl:include href="xml-to-gui-templates.xsl"/>
22
23 <!-- put the URL or path of your site here site -->
24 <!-- eg 'http://www.example.com/mysite' or '/mysite' -->
25 <xsl:template name="siteURL"><xsl:value-of select="/page/pageResponse/metadataList/metadata[@name='siteURL']"/></xsl:template>
26
27
28 <!-- the output format for this layout is html -->
29 <!-- <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"/> -->
30 <xsl:output method="html" omit-xml-declaration="yes"/>
31
32 <!-- the main layout is defined here -->
33 <xsl:template match="/">
34
35 <html>
36
37 <head>
38 <!-- ***** in header.xsl ***** -->
39 <xsl:call-template name="create-html-header"/>
40 <xsl:call-template name="berryBasketHeadTags"/>
41 </head>
42
43 <body><xsl:call-template name="textDirectionAttribute"/><xsl:call-template name="actionClass"/>
44
45 <xsl:call-template name="displayErrorsIfAny"/>
46
47 <div id="container">
48
49 <div id="gs_banner">
50
51 <!-- ***** in header.xsl ***** -->
52 <xsl:call-template name="create-banner"/>
53
54 </div>
55
56 <!--<xsl:call-template name="formatmanagerpre"/>-->
57
58 <div id="gs_content">
59 <!--
60 show the content of the page.
61 to customise this part, edit the xsl file for the page you want to edit
62 -->
63 <xsl:apply-templates select="/page"/>
64
65 </div>
66
67 <!--<xsl:call-template name="formatmanagerpost"/>-->
68
69 <div id="gs_footer">
70 <xsl:call-template name="poweredByGS3TextBar"/>
71 </div>
72
73 <div class="corner" id="cornerTopLeft"><xsl:text> </xsl:text></div>
74 <div class="corner" id="cornerTopRight"><xsl:text> </xsl:text></div>
75 <div class="corner" id="cornerBottomLeft"><xsl:text> </xsl:text></div>
76 <div class="corner" id="cornerBottomRight"><xsl:text> </xsl:text></div>
77
78 </div>
79
80 </body>
81 </html>
82 </xsl:template>
83</xsl:stylesheet>
84
85
Note: See TracBrowser for help on using the repository browser.