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 | xmlns:java="http://xml.apache.org/xslt/java"
|
---|
5 | xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
|
---|
6 | xmlns:gslib="http://www.greenstone.org/skinning"
|
---|
7 | xmlns:gsf="http://www.greenstone.org/formatting"
|
---|
8 | extension-element-prefixes="java util"
|
---|
9 | exclude-result-prefixes="java util">
|
---|
10 |
|
---|
11 | <!-- optional cgi-params for links to document pages -->
|
---|
12 | <!-- needed here because collectionConfig.xml defined a template in
|
---|
13 | its *global* section that uses gsf:link, which in turn then
|
---|
14 | generates XSL tags that refer to opt-doc-link-arg -->
|
---|
15 | <xsl:variable name="opt-doc-link-args"></xsl:variable>
|
---|
16 |
|
---|
17 | <xsl:template name="create-banner">
|
---|
18 | <!-- complete supress banner on the about page -->
|
---|
19 | <!--
|
---|
20 | <div id="gs_banner" class="ui-widget-header ui-corner-bottom">
|
---|
21 | <div id="titlesearchcontainer">
|
---|
22 | <xsl:call-template name="page-title-area"/>
|
---|
23 | <div style="clear:both;"><xsl:text> </xsl:text></div>
|
---|
24 | </div>
|
---|
25 | <xsl:call-template name="browsing-tabs"/>
|
---|
26 | </div>
|
---|
27 | -->
|
---|
28 | </xsl:template>
|
---|
29 |
|
---|
30 |
|
---|
31 | <xsl:template name="coll-description">
|
---|
32 | <xsl:variable name="numDocs" select="/page/pageResponse/collection/metadataList/metadata[@name='numDocs']"/>
|
---|
33 |
|
---|
34 | <figure style="float: right;">
|
---|
35 | <style> #gotohelp:hover { background-color: #662020;}</style>
|
---|
36 | <div id="gotohelp" class="ui-button ui-widget ui-state-default ui-corner-all" style="vertical-align:top; color: white; padding: 10px;">
|
---|
37 | <a href="{$library_name}/collection/{$collName}/page/help">Help</a>
|
---|
38 | </div>
|
---|
39 | <!--
|
---|
40 | <img src="https://www.heritage.org.nz/-/media/heritage/images/protect/archaeology/digital-library-page.jpg?useCustomFunctions=1&mw=920" width="220" alt="Archaeological digital library" />
|
---|
41 | -->
|
---|
42 | </figure>
|
---|
43 |
|
---|
44 | <!--
|
---|
45 | <h1>Archaeological Reports Digital Library</h1>
|
---|
46 |
|
---|
47 | <p>
|
---|
48 | Heritage New Zealand holds an extensive collection of
|
---|
49 | archaeological reports resulting from site surveys, excavations,
|
---|
50 | research programmes and archaeological authorities. The digital
|
---|
51 | library provides searching and browsing access to these
|
---|
52 |
|
---|
53 | < ! - -
|
---|
54 | <gsf:metadata type="collection" name="numDocs"/>
|
---|
55 | - - >
|
---|
56 | < ! - -
|
---|
57 | <xsl:value-of select="$numDocs"/>
|
---|
58 | - - >
|
---|
59 | volumes, which date from the
|
---|
60 | early 1950s to the present day.
|
---|
61 | </p>
|
---|
62 |
|
---|
63 | -->
|
---|
64 | <style>
|
---|
65 | #gs_content { min-height: 630px; }
|
---|
66 | </style>
|
---|
67 | <p>
|
---|
68 | You can locate and download reports through the search interface:
|
---|
69 | </p>
|
---|
70 | <div id="titlesearchcontainer">
|
---|
71 | <style>
|
---|
72 | #quicksearcharea { float: left; text-align: left; }
|
---|
73 | #quicksearcharea ul { float: right; text-align: right; }
|
---|
74 | </style>
|
---|
75 | <xsl:call-template name="quick-search-area"/>
|
---|
76 | <div style="clear:both;"><xsl:text> </xsl:text></div>
|
---|
77 | </div>
|
---|
78 |
|
---|
79 | <p>
|
---|
80 | Or else browse by:
|
---|
81 | </p>
|
---|
82 | <style>
|
---|
83 | #gs-nav li:hover { background-color: #662020; }
|
---|
84 | #inpage-browsing-tabs li { float: inherit; display: inherit; margin: 5px; }
|
---|
85 | #inpage-browsing-tabs { width: 200px; }
|
---|
86 |
|
---|
87 | </style>
|
---|
88 | <div id="inpage-browsing-tabs" >
|
---|
89 | <xsl:call-template name="browsing-tabs"/>
|
---|
90 | </div>
|
---|
91 |
|
---|
92 | <div id="gotoFavourites" style="display: none; padding-top: 10px;">
|
---|
93 | <a href="{$library_name}?a=g&sa=berry&c=&s=DisplayList&rt=r&p.c=">
|
---|
94 | <img src="interfaces/{$interface_name}/images/{$selected_favourite_icon}" title="view favourites" width="15" height="15" border="0" />
|
---|
95 | </a>
|
---|
96 | You have also have <span id="favouritesCount">0</span> item(s) marked as favourites, which you can access
|
---|
97 | <a href="{$library_name}?a=g&sa=berry&c=&s=DisplayList&rt=r&p.c=">here</a>.
|
---|
98 | </div>
|
---|
99 | <script>
|
---|
100 | <xsl:text disable-output-escaping="yes">
|
---|
101 | $(document).ready(
|
---|
102 | countFavourites(function(favourites_count) {
|
---|
103 | if (favourites_count>0) {
|
---|
104 | $('#favouritesCount').html(favourites_count);
|
---|
105 | $('#gotoFavourites').show();
|
---|
106 | }
|
---|
107 | })
|
---|
108 | );
|
---|
109 | </xsl:text>
|
---|
110 | </script>
|
---|
111 |
|
---|
112 | <p style="padding-top: 10px;">
|
---|
113 | A spreadsheet of the metadata of all the reports is available
|
---|
114 | for download:
|
---|
115 | </p>
|
---|
116 | <ul style="list-style: none;">
|
---|
117 | <li>
|
---|
118 | <!--<a href="sites/{$site_name}/collect/{$collName}/for-download/Archaeological-Reports-24-July-2019.csv">-->
|
---|
119 | <a href="sites/{$site_name}/collect/{$collName}/for-download/Archaeological-Reports-26-Feb-2020.csv">
|
---|
120 | <img src="interfaces/{$interface_name}/images/iexcel.gif" />
|
---|
121 | Archaeological-Reports.csv</a>
|
---|
122 | </li>
|
---|
123 | </ul>
|
---|
124 |
|
---|
125 | <p style="padding-top: 10px;">
|
---|
126 | Should you prefer, you may contact us as follows:
|
---|
127 | </p>
|
---|
128 | <p style="padding-left: 20px">
|
---|
129 | <i>
|
---|
130 | Archaeological Reports Digital Library<br/>
|
---|
131 | Heritage New Zealand Pouhere Taonga<br/>
|
---|
132 | Antrim House<br/>
|
---|
133 | 63 Boulcott Street<br/>
|
---|
134 | P O Box 2629<br/>
|
---|
135 | Wellington 6160
|
---|
136 | </i>
|
---|
137 | </p>
|
---|
138 | <p style="padding-left: 20px">
|
---|
139 | <i>
|
---|
140 | Phone: +64 4 472 4341
|
---|
141 | </i>
|
---|
142 | </p>
|
---|
143 | <p style="padding-left: 20px">
|
---|
144 | <i>
|
---|
145 | Email: <a href="mailto:[email protected]">[email protected]</a>
|
---|
146 | </i>
|
---|
147 | </p>
|
---|
148 |
|
---|
149 |
|
---|
150 |
|
---|
151 | </xsl:template>
|
---|
152 |
|
---|
153 | </xsl:stylesheet>
|
---|