1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 |
|
---|
18 |
|
---|
19 | <!-- the main layout is defined here -->
|
---|
20 | <xsl:template name="mainTemplate">
|
---|
21 |
|
---|
22 | <xsl:variable name="pjbaseurl">
|
---|
23 | <xsl:text>sites/</xsl:text>
|
---|
24 | <xsl:value-of select="$siteName"/>
|
---|
25 | <xsl:text>/wrapper-style</xsl:text>
|
---|
26 | </xsl:variable>
|
---|
27 | <xsl:variable name="pjextbaseurl">
|
---|
28 | <xsl:text>http://peitehurinuijones.co.nz/temp</xsl:text>
|
---|
29 | </xsl:variable>
|
---|
30 |
|
---|
31 |
|
---|
32 | <html>
|
---|
33 |
|
---|
34 | <head>
|
---|
35 | <!-- ***** in header.xsl ***** -->
|
---|
36 | <xsl:call-template name="create-html-header"/>
|
---|
37 | </head>
|
---|
38 |
|
---|
39 | <body><xsl:call-template name="textDirectionAttribute"/><xsl:call-template name="actionClass"/>
|
---|
40 |
|
---|
41 | <!--<xsl:call-template name="displayErrorsIfAny"/>-->
|
---|
42 | <a name="top"><xsl:text> </xsl:text></a>
|
---|
43 |
|
---|
44 | <!-- Wrapper header start -->
|
---|
45 | <div id="wrapper-container">
|
---|
46 |
|
---|
47 | <div id="header">
|
---|
48 |
|
---|
49 |
|
---|
50 | <div class="headLeft"><a href="{$pjextbaseurl}/index.html" title="Pei Te Hurinui Jones - Home"><img src="{$pjbaseurl}/images/logo.gif" width="353" height="104" alt="Pei Te Hurinui Jones - Home" /></a></div>
|
---|
51 | <div class="headRight">
|
---|
52 | <a href="{$pjextbaseurl}/index.html" title="Pei Te Hurinui Jones - Home">Home</a>
|
---|
53 | <a href="{$pjextbaseurl}/about.html" title="About">About</a>
|
---|
54 | <a href="{$pjextbaseurl}/contact.html" title="Contact">Contact</a>
|
---|
55 |
|
---|
56 | <xsl:call-template name="home-help-preferences"/>
|
---|
57 |
|
---|
58 | </div>
|
---|
59 | </div>
|
---|
60 | <!-- Wrapper header end -->
|
---|
61 |
|
---|
62 | <div id="topArea" class="ui-state-default ui-corner-top">
|
---|
63 | <xsl:comment>Place-holder to stop div collapsing</xsl:comment>
|
---|
64 | </div>
|
---|
65 |
|
---|
66 |
|
---|
67 |
|
---|
68 | <!-- nav start -->
|
---|
69 | <div id="nav">
|
---|
70 | <!-- previously, e.g.: href="{$url}/wrapper-style/research.html" title="Research" -->
|
---|
71 | <!-- then : href="{$pjbaseurl}/research.html" title="Research" -->
|
---|
72 | <ul>
|
---|
73 | <li><a href="http://peitehurinuijones.co.nz/temp/bio.html" title="Bio">Bio</a></li>
|
---|
74 | <li><a href="{$library_name}/collection/digital-library/page/about/" title="Digital library">Digital library</a></li>
|
---|
75 | <li><a href="{$library_name}/collection/written-works/page/about/" title="Written works">Written works</a></li>
|
---|
76 | <li><a href="{$library_name}/collection/gallery/page/about/" title="Gallery">Gallery</a></li>
|
---|
77 | <li><a href="{$library_name}/collection/taonga/page/about/" title="Taonga">Taonga</a></li>
|
---|
78 | <li><a href="{$pjextbaseurl}/research.html" title="Research">Research</a></li>
|
---|
79 | </ul>
|
---|
80 | </div>
|
---|
81 | <!-- nav end -->
|
---|
82 |
|
---|
83 |
|
---|
84 | <div id="container" class="ui-corner-all">
|
---|
85 |
|
---|
86 | <!-- ***** in header.xsl ***** -->
|
---|
87 | <xsl:call-template name="create-banner"/>
|
---|
88 |
|
---|
89 | <xsl:if test="/page/pageRequest/paramList/param[(@name='formatedit') and (@value='on')]">
|
---|
90 | <xsl:call-template name="formatmanagerpre"/>
|
---|
91 | </xsl:if>
|
---|
92 |
|
---|
93 | <div id="gs_content" class="ui-widget-content">
|
---|
94 | <!--
|
---|
95 | show the content of the page.
|
---|
96 | to customise this part, edit the xsl file for the page you want to edit
|
---|
97 | -->
|
---|
98 | <xsl:apply-templates select="/page"/>
|
---|
99 |
|
---|
100 | </div>
|
---|
101 |
|
---|
102 | <xsl:call-template name="gs_footer"/>
|
---|
103 | </div>
|
---|
104 | </div>
|
---|
105 | <!-- Wrapper container end -->
|
---|
106 |
|
---|
107 | </body>
|
---|
108 | </html>
|
---|
109 | </xsl:template>
|
---|
110 |
|
---|
111 | </xsl:stylesheet>
|
---|