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 | <xsl:import href="header.xsl"/>
|
---|
19 | <xsl:include href="formatmanager.xsl"/>
|
---|
20 | -->
|
---|
21 |
|
---|
22 | <!-- the main layout is defined here -->
|
---|
23 | <xsl:template name="mainTemplate">
|
---|
24 | <xsl:variable name="collName" select="/page/pageResponse/collection/@name"/>
|
---|
25 |
|
---|
26 | <html>
|
---|
27 |
|
---|
28 | <head>
|
---|
29 | <!-- ***** in header.xsl ***** -->
|
---|
30 | <xsl:call-template name="create-html-header"/>
|
---|
31 | <xsl:call-template name="berryBasketHeadTags"/>
|
---|
32 | <!-- custom berry basket javascript -->
|
---|
33 | <!-- ***** custom css **** -->
|
---|
34 | <script type="text/javascript" src="interfaces/heritage-nz/js/berrybasket/custom.js"><xsl:text> </xsl:text></script>
|
---|
35 | </head>
|
---|
36 |
|
---|
37 | <body><xsl:call-template name="textDirectionAttribute"/><xsl:call-template name="actionClass"/>
|
---|
38 |
|
---|
39 | <!--<xsl:call-template name="displayErrorsIfAny"/>-->
|
---|
40 | <a name="top"><xsl:text> </xsl:text></a>
|
---|
41 |
|
---|
42 | <iframe src="interfaces/{$interface_name}/iframe/heritage-nz-dl-header.html"
|
---|
43 | style="position: absolute; height: 100%; border: none; width: 100%">
|
---|
44 | <gsf:comment>filler</gsf:comment>
|
---|
45 | </iframe>
|
---|
46 |
|
---|
47 | <style>
|
---|
48 | #container { top: 105px; }
|
---|
49 | #gs_banner { background-color: #820404; background-image: none; }
|
---|
50 |
|
---|
51 | .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
|
---|
52 | border: 1px solid #400000;
|
---|
53 | background: #660000 url("images/ui-bg_highlight-hard_15_459e00_1x100.png") repeat-x scroll 50% 50%;
|
---|
54 | font-weight: bold;
|
---|
55 | color: #000;
|
---|
56 | }
|
---|
57 |
|
---|
58 | .ui-widget-header {
|
---|
59 | border: 1px solid #400000;
|
---|
60 | background: #660000 url("images/ui-bg_gloss-wave_50_43a21a_500x100.png") repeat-x scroll 50% 50%;
|
---|
61 | color: #FFF;
|
---|
62 | font-weight: bold;
|
---|
63 | }
|
---|
64 |
|
---|
65 | .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
|
---|
66 | color: #888888;
|
---|
67 | text-decoration: underline;
|
---|
68 | }
|
---|
69 | </style>
|
---|
70 | <!--
|
---|
71 | <div id="topArea" class="ui-state-default ui-corner-top">
|
---|
72 | <table>
|
---|
73 | <tbody>
|
---|
74 | <tr>
|
---|
75 | <td><div id="breadcrumbs"><xsl:call-template name="breadcrumbs"/><xsl:text> </xsl:text></div></td>
|
---|
76 |
|
---|
77 |
|
---|
78 | <td><xsl:call-template name="home-help-preferences"/></td>
|
---|
79 | </tr>
|
---|
80 | </tbody>
|
---|
81 | </table>
|
---|
82 | </div>
|
---|
83 | -->
|
---|
84 |
|
---|
85 | <div id="container" class="ui-corner-all">
|
---|
86 |
|
---|
87 | <!-- ***** in header.xsl ***** -->
|
---|
88 | <xsl:call-template name="create-banner"/>
|
---|
89 |
|
---|
90 | <xsl:if test="/page/pageRequest/paramList/param[(@name='formatedit') and (@value='on')]">
|
---|
91 | <xsl:call-template name="formatmanagerpre"/>
|
---|
92 | </xsl:if>
|
---|
93 |
|
---|
94 | <div id="gs_content" class="ui-widget-content">
|
---|
95 | <!--
|
---|
96 | show the content of the page.
|
---|
97 | to customise this part, edit the xsl file for the page you want to edit
|
---|
98 | -->
|
---|
99 | <xsl:apply-templates select="/page"/>
|
---|
100 |
|
---|
101 | </div>
|
---|
102 |
|
---|
103 | <xsl:call-template name="gs_footer"/>
|
---|
104 | </div>
|
---|
105 | </body>
|
---|
106 | </html>
|
---|
107 | </xsl:template>
|
---|
108 |
|
---|
109 |
|
---|
110 | </xsl:stylesheet>
|
---|