source: main/trunk/model-interfaces-dev/alt-atea/transform/layouts/main.xsl@ 34015

Last change on this file since 34015 was 34015, checked in by davidb, 4 years ago

Further elimination of PJ related HTML/templates

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