source: main/trunk/model-interfaces-dev/wmtb/transform/layouts/main.xsl@ 35280

Last change on this file since 35280 was 35280, checked in by anupama, 3 years ago

Added group title under DL title on group page.

File size: 22.0 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 <xsl:import href="footer.xsl"/>
18 -->
19
20<!-- The main layout is defined here -->
21<!-- Every page in our library uses this template -->
22<xsl:template name="mainTemplate">
23 <html>
24 <head>
25 <!-- ***** in header.xsl ***** -->
26 <xsl:call-template name="create-html-header"/>
27 <xsl:call-template name="basketHeadTags"/>
28 </head>
29 <body id="top" class="banner-overlay-on">
30 <div id="spacer-for-nav">&#160;</div>
31 <div class="wrapper">
32 <div class="shifted-frame">
33
34 <!-- Whakatohea.co.nz's navbar - no longer in use now that the dl site is
35 embedded in iframe on whakatohea.co.nz site which provides the navbar -->
36 <!--<xsl:call-template name="whakatohea-navbar"/>-->
37
38 <div class="site-canvas">
39
40 <div class="wrapper-old">
41 <div id="header-old">
42
43 <div class="banner-wrap">
44 <div class="wsite-elements wsite-not-footer wsite-header-elements">
45 <div class="wsite-section-wrap">
46 <!--<div class="wsite-section wsite-header-section wsite-section-bg-image" style="height: auto;background-image: url(&quot;interfaces/{$interface_name}/images/digital-library.jpg&quot;) ;background-repeat: no-repeat ;background-position: 50.00% 21.94% ;background-size: 100% ;background-color: transparent ;background-size: cover;" >-->
47 <div style="background-image: url(&quot;interfaces/{$interface_name}/images/digital-library.jpg&quot;);" >
48 <xsl:choose>
49 <xsl:when test="/page/pageResponse/collection or /page/pageResponse/pathList/group">
50 <xsl:attribute name="class">wsite-section wsite-header-section wsite-section-bg-image crop-bg</xsl:attribute>
51 </xsl:when>
52 <xsl:otherwise>
53 <xsl:attribute name="class">wsite-section wsite-header-section wsite-section-bg-image full-bg</xsl:attribute>
54 </xsl:otherwise>
55 </xsl:choose>
56
57 <div class="wsite-section-content">
58
59 <div class="container">
60 <div class="banner">
61 <div class="wsite-section-elements">
62 <h2 class="wsite-content-title" style="text-align:center;"><font size="6"><a href="{$library_name}"><xsl:call-template name="siteName"/></a></font></h2>
63
64 <!-- Why does this feel like it's still inside the banner-wrap? -->
65 <xsl:choose>
66 <xsl:when test="page/pageResponse/collection">
67 <div id="coll-name-link">
68 <p>&#160;
69 <a href="{$library_name}/collection/{$collNameChecked}/page/about">
70 <xsl:value-of select="page/pageResponse/collection/displayItemList/displayItem[@name='name']"/>
71 </a>
72 </p>
73 <br class="clear"/>
74 </div>
75 </xsl:when>
76
77 <xsl:when test="/page/pageRequest/paramList/param[@name='group']/@value">
78 <div id="coll-name-link">
79 <p>
80 <xsl:value-of select="/page/pageRequest/paramList/param[@name='group']/@value"/>
81 </p>
82 <br class="clear"/>
83 </div>
84 </xsl:when>
85 </xsl:choose>
86 </div>
87 </div>
88 </div>
89
90 </div>
91 <!--<div class=""></div>-->
92 </div>
93 </div>
94
95 </div>
96
97
98 <div class="container wrapper-old col2" id="browse-search-bars">
99 <div id="topbar">
100 <div id="topnav">
101 <ul>
102 <xsl:call-template name="navBar"/>
103 </ul>
104 </div>
105 <!--**********************************************************************-->
106 <xsl:choose>
107 <xsl:when test="page/pageRequest/@subaction='home'">
108 <div id="cross-coll-div">
109 <xsl:call-template name="crossCollSearch"/>
110 </div>
111 </xsl:when>
112 <xsl:when test="page/pageRequest/paramList/param/@name='c' and /page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']">
113 <xsl:call-template name="quick-search-area"/>
114 </xsl:when>
115 <xsl:otherwise/>
116 </xsl:choose>
117 <!--**********************************************************************-->
118 </div>
119 </div>
120
121
122 </div><!-- end banner-wrap -->
123 </div>
124 </div>
125
126 <!--<xsl:call-template name="login-prefs-help-links"/>-->
127 <!--<hr class="spacer" />-->
128 <div class="outer">
129 <div id="gs_content" class="container">
130 <xsl:apply-templates select="/page"/>
131 </div>
132 <br class="clear" />
133
134 </div><!-- end class main-wrap-->
135 <xsl:call-template name="wmtb-footer"/>
136
137 </div> <!-- end site-canvas -->
138 </div> <!-- end shifted-frame -->
139 </div> <!-- end wrapper-->
140 </body>
141</html>
142</xsl:template>
143
144
145<xsl:template name="navBar">
146<xsl:choose>
147 <xsl:when test="page/pageResponse/collection">
148 <!-- Using select statement to count only non-empty elements, is harder than testing
149 for non-empty elements. Solution of using normalize-space() is from
150 https://stackoverflow.com/questions/31602369/xsl-return-only-the-first-non-empty-element
151 -->
152 <xsl:variable name="count" select="count(/page/pageResponse/collection/serviceList/service[@name='ClassifierBrowse']/classifierList/classifier/displayItem[@name = 'name'][normalize-space()])"/>
153 <xsl:variable name="currentPage" select="page/pageRequest/@fullURL"/>
154
155<xsl:call-template name="loginLinks"/>
156<li><a href="{$library_name}">DL Six Pou</a></li>
157<li>
158<xsl:if test="page/pageRequest/@subaction='about'"><xsl:attribute name="class">active</xsl:attribute></xsl:if>
159<a href="{$library_name}/collection/{$collNameChecked}/page/about">About</a>
160</li>
161
162<xsl:choose>
163<xsl:when test="$count > 3">
164<!--<li><a href="{$currentPage}">Browse</a>-->
165<li>Browse by:
166<ul class="drop-down-list">
167<xsl:call-template name="Browsing"/>
168</ul>
169</li>
170</xsl:when>
171<xsl:otherwise>
172<li>Browse by:</li>
173<xsl:call-template name="Browsing"/>
174<hr class="spacer"/>
175</xsl:otherwise>
176</xsl:choose>
177<!--
178<xsl:if test="/page/pageResponse/collection/serviceList/service/@type='query'">
179<li><a href="{$currentPage}">Search</a>
180<ul>
181<xsl:for-each select="/page/pageResponse/collection/serviceList/service[@type='query']">
182<xsl:variable name="search" select="@name"/>
183<xsl:variable name="search_name" select="displayItem[@name='name']"/>
184<li><a href="{$library_name}/collection/{$collNameChecked}/search/{$search}"><xsl:value-of select="$search_name"/></a></li>
185</xsl:for-each>
186</ul>
187</li>
188</xsl:if>
189-->
190</xsl:when>
191<xsl:otherwise> </xsl:otherwise>
192</xsl:choose>
193</xsl:template>
194
195<xsl:template name="Browsing">
196 <xsl:for-each select="/page/pageResponse/collection/serviceList/service[@name='ClassifierBrowse']/classifierList/classifier">
197 <xsl:choose>
198 <!-- Only display browsing classifiers that have a name.
199 Those that don't have a name are empty classifiers
200 denoted by no value/empty value for displayItem name=name elements.
201 Testing for non empty elements is easy: not() test. -->
202 <xsl:when test="not(displayItem[@name='name'] ='')">
203 <li>
204 <xsl:choose>
205 <!-- If this tab is selected then colour it differently -->
206 <xsl:when test="util:contains(/page/pageRequest/paramList/param[@name = 'cl' and /page/pageRequest/@action = 'b']/@value, @name)">
207 <xsl:attribute name='class'>active</xsl:attribute>
208 </xsl:when>
209 <xsl:otherwise> </xsl:otherwise>
210 </xsl:choose>
211 <a>
212 <!-- Add a title element to the <a> tag if a description exists for this classifier -->
213 <xsl:if test="displayItem[@name='description']">
214 <xsl:attribute name='title'><xsl:value-of select="displayItem[@name='description']"/></xsl:attribute>
215 </xsl:if>
216
217 <!-- Add the href element to the <a> tag -->
218 <xsl:choose>
219 <xsl:when test="@name">
220 <xsl:attribute name="href"><xsl:value-of select="$library_name"/>/collection/<xsl:value-of select="/page/pageResponse/collection[@name=$collNameChecked]/@name"/>/browse/<xsl:value-of select="@name"/></xsl:attribute>
221 </xsl:when>
222 <xsl:otherwise>
223 <xsl:attribute name="href"><xsl:value-of select="$library_name"/>/collection/<xsl:value-of select="/page/pageResponse/collection[@name=$collNameChecked]/@name"/>/browse/1</xsl:attribute>
224 </xsl:otherwise>
225 </xsl:choose>
226
227 <!-- Add the actual text of the <a> tag -->
228 <xsl:value-of select="displayItem[@name='name']"/>
229 </a>
230 </li>
231 </xsl:when>
232 </xsl:choose>
233 </xsl:for-each>
234</xsl:template>
235
236<xsl:template name="crossCollSearch">
237 <div id="search">
238 <xsl:for-each select="/page/pageResponse/serviceList/service[@name='TextQuery']">
239 <form name="QuickSearch" method="get" action="{$library_name}">
240 <input type="hidden" name="a" value="q"/>
241 <input type="hidden" name="rt" value="rd"/>
242 <input type="hidden" name="s" value="{@name}"/>
243 <input type="hidden" name="s1.collection" value="all"/>
244 <input type="text" name="s1.query" id="search-text" value="Search all collections
" onfocus="this.value=(this.value=='Search all collections
')? '' : this.value ;" />
245 <input type="submit" name="go" id="go" value="Search" />
246 </form>
247 </xsl:for-each>
248 </div>
249 <br class="clear" />
250</xsl:template>
251
252<xsl:template name="CollectionSearch">
253<div id="search">
254<xsl:variable name="subaction" select="/page/pageRequest/@subaction"/>
255<form action="{$library_name}/collection/{$collNameChecked}/search/TextQuery">
256<!-- This parameter says that we have come from the quick search area -->
257<input type="hidden" name="qs" value="1"/>
258<input type="hidden" name="rt" value="rd"/>
259<input type="hidden" name="s1.level">
260<xsl:attribute name="value">
261<xsl:choose>
262<xsl:when test="/page/pageRequest/paramList/param[@name = 's1.level']">
263<xsl:value-of select="/page/pageRequest/paramList/param[@name = 's1.level']/@value"/>
264</xsl:when>
265<xsl:otherwise>
266<xsl:value-of select="/page/pageResponse/collection/serviceList/service[@name='TextQuery']/paramList/param[@name = 'level']/@default"/>
267</xsl:otherwise>
268</xsl:choose>
269</xsl:attribute>
270</input>
271<xsl:choose>
272<xsl:when test="/page/pageResponse/service[@name = 'TextQuery']/paramList/param[@name = 'startPage']">
273<input type="hidden" name="s1.startPage" value="1"/>
274</xsl:when>
275<xsl:otherwise>
276<input type="hidden" name="startPage" value="1"/>
277</xsl:otherwise>
278</xsl:choose>
279<xsl:if test="not(/page/pageRequest/paramList/param[@name = 's1.hitsPerPage'])">
280<input type="hidden" name="s1.hitsPerPage" value="20"/>
281</xsl:if>
282<xsl:if test="not(/page/pageRequest/paramList/param[@name = 's1.maxDocs'])">
283<input type="hidden" name="s1.maxDocs" value="100"/>
284</xsl:if>
285<!-- The query text box -->
286<span class="querybox">
287<xsl:variable name="qs">
288<xsl:apply-templates select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='query']" mode="calculate-default"/>
289</xsl:variable>
290<nobr>
291<xsl:apply-templates select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='query']">
292<xsl:with-param name="default" select="java:org.greenstone.gsdl3.util.XSLTUtil.tidyWhitespace($qs, /page/@lang)"/>
293</xsl:apply-templates>
294</nobr>
295</span>
296<!-- The submit button (for TextQuery) -->
297<xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']">
298<input type="submit" name="go" id="go" value="Search" > </input>
299<br/>
300</xsl:if>
301</form>
302</div>
303<br class="clear" />
304<!--<div id="advanced"><a href="{$library_name}/collection/{$collNameChecked}/search/TextQuery">advanced search</a></div>-->
305</xsl:template>
306
307
308<xsl:template name="loginLinks">
309 <xsl:variable name="username" select="/page/pageRequest/userInformation/@username"/>
310 <xsl:variable name="groups" select="/page/pageRequest/userInformation/@groups"/>
311
312 <xsl:choose>
313 <xsl:when test="$username">
314 <!-- Depositor link: only for logged-in users.
315 CSS class=login to make Depositor link blue to indicate it's only available when logged in.
316 Don't put this depositorTitleAndLink inside the test for whether user 'admin' is
317 in the current list of groups, as we want the depositor link to be visible for any
318 logged in user. The collection they want to deposit a doc into will determine whether
319 that user has the right to modify that collection.
320 -->
321 <xsl:if test="contains($groups,'admin')">
322 <li class="login"><gslib:depositorTitleAndLink/></li> <!-- move back up/outside if admin test if non-admin members should be able to deposit -->
323 <li class="login"><a href="{$library_name}/admin/AddUser">Add user</a></li>
324 <li class="login"><a href="{$library_name}/admin/ListUsers">Administration</a></li>
325 <li class="login"><a href="{$library_name}/admin/AccountSettings?s1.username={$username}">Logged in as: <xsl:value-of select="$username"/></a></li><!-- move back up/outside if admin test if non-admin members should be able to reset their password -->
326 </xsl:if>
327 <li class="login"><a href="{$library_name}?logout=">Logout</a></li>
328 </xsl:when>
329 <xsl:otherwise>
330 <li class="login">
331 <a href="{$library_name}?a=p&amp;sa=login&amp;redirectURL={$library_name}%3Fa=p%26sa=home">Login
332 <xsl:attribute name="title">
333 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'login_tip')"/>
334 </xsl:attribute>
335 </a>
336 </li>
337 </xsl:otherwise>
338 </xsl:choose>
339</xsl:template>
340
341<xsl:template name="quick-search-area">
342 <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@type='query']">
343 <xsl:variable name="subaction" select="/page/pageRequest/@subaction"/>
344
345 <div id="quicksearcharea">
346 <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']">
347 <xsl:choose>
348 <xsl:when test="not(page/pageRequest[@action='q']) or /page/pageRequest/paramList/param[@name='qs']/@value = '1'">
349 <form action="{$library_name}/collection/{$collNameChecked}/search/TextQuery">
350 <!-- This parameter says that we have come from the quick search area -->
351
352 <input type="hidden" name="qs" value="1"/>
353 <input type="hidden" name="rt" value="rd"/>
354 <!-- don't hide indexing levels: code further down will hide it if there's only 1 indexing level.
355 and display a dropdown if the collection's configured with more than 1 index level available -->
356 <!--<input type="hidden" name="s1.level">
357 <xsl:attribute name="value">
358 <xsl:value-of select="/page/pageResponse/collection/serviceList/service[@name='TextQuery']/paramList/param[@name = 'level']/@default"/>
359 </xsl:attribute>
360 </input>
361 -->
362 <xsl:choose>
363 <xsl:when test="/page/pageResponse/service[@name = 'TextQuery']/paramList/param[@name = 'startPage']">
364 <input type="hidden" name="s1.startPage" value="1"/>
365 </xsl:when>
366 <xsl:otherwise>
367 <input type="hidden" name="startPage" value="1"/>
368 </xsl:otherwise>
369 </xsl:choose>
370
371 <!-- The query text box -->
372 Search for
373 <span class="querybox">
374 <xsl:variable name="qs">
375 <xsl:apply-templates select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='query']" mode="calculate-default"/>
376 </xsl:variable>
377 <nobr>
378 <xsl:apply-templates select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='query']">
379 <!--
380 <xsl:with-param name="default" select="java:org.greenstone.gsdl3.util.XSLTUtil.tidyWhitespace($qs, /page/@lang)"/>
381 -->
382 <xsl:with-param name="default" select="normalize-space($qs)"/>
383
384 </xsl:apply-templates>
385 </nobr>
386 </span>
387 <!-- The index selection list -->
388 in
389 <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='index']/@type = 'enum_single'">
390 <span class="textselect">
391 <xsl:apply-templates select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='index']">
392 <xsl:with-param name="default">
393 <xsl:apply-templates select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='index']" mode="calculate-default"/>
394 </xsl:with-param>
395 <xsl:with-param name="hideSingle">false</xsl:with-param>
396 <xsl:with-param name="quickSearch">true</xsl:with-param>
397 </xsl:apply-templates>
398 </span>
399 </xsl:if>
400 <!-- The partition selection list -->
401 <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='indexSubcollection']/@type = 'enum_single'">
402 <span class="textselect">
403 <xsl:apply-templates select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='indexSubcollection']">
404 <xsl:with-param name="default">
405 <xsl:apply-templates select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='indexSubcollection']" mode="calculate-default"/>
406 </xsl:with-param>
407 <xsl:with-param name="hideSingle">true</xsl:with-param>
408 <xsl:with-param name="quickSearch">true</xsl:with-param>
409 </xsl:apply-templates>
410 </span>
411 </xsl:if>
412
413 <!-- The index level selection list. hideSingle=true to hide the dropdown if there's only 1 level (the default). -->
414 at
415 <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='level']/@type = 'enum_single'">
416 <span class="textselect">
417 <xsl:apply-templates select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='level']">
418 <xsl:with-param name="default">
419 <xsl:apply-templates select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='level']" mode="calculate-default"/>
420 </xsl:with-param>
421 <xsl:with-param name="hideSingle">true</xsl:with-param>
422 <xsl:with-param name="quickSearch">true</xsl:with-param>
423 </xsl:apply-templates>
424 </span>
425 </xsl:if>
426 level
427
428 <!-- The language selection list -->
429 <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='indexLanguage']/@type = 'enum_single'">
430 <span class="textselect">
431 <xsl:apply-templates select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='indexLanguage']">
432 <xsl:with-param name="default">
433 <xsl:apply-templates select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='indexLanguage']" mode="calculate-default"/>
434 </xsl:with-param>
435 <xsl:with-param name="hideSingle">true</xsl:with-param>
436 <xsl:with-param name="quickSearch">true</xsl:with-param>
437 </xsl:apply-templates>
438 </span>
439 </xsl:if>
440 <!-- The submit button (for TextQuery) -->
441 <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']">
442 <!--<input type="submit" id="quickSearchSubmitButton">
443 <xsl:attribute name="value">
444 <xsl:value-of select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/displayItem[@name='submit']"/>
445 </xsl:attribute>
446 </input>-->
447
448 <input type="submit" id="quickSearchSubmitButton" value="Go"/>
449
450 <br/>
451 </xsl:if>
452 </form>
453
454 <div class="query-form-links" id="advanced"><a href="{$library_name}/collection/{$collNameChecked}/search/AdvancedFieldQuery">Advanced search</a></div>
455
456 </xsl:when>
457 <xsl:otherwise><br/></xsl:otherwise>
458 </xsl:choose>
459 </xsl:if>
460
461 </div>
462 <!--<br class="clear" />-->
463 <!--<span id="advanced">-->
464
465 <!-- The list of other search types -->
466 <!--<xsl:call-template name="all-other-search-form-links"/>-->
467
468
469 </xsl:if>
470
471
472 <!--<br class="clear" />
473 <div id="advanced"><a href="{$library_name}/collection/{$collNameChecked}/search/TextQuery">form search</a></div>
474 <div id="advanced"><a href="{$library_name}/collection/{$collNameChecked}/search/AdvancedFieldQuery">advanced search</a></div>
475 -->
476 </xsl:template>
477
478 <!-- Bar that links to other search forms -->
479 <xsl:template name="all-other-search-form-links">
480 <!-- The list of other search types -->
481 <div class="query-form-links">
482 <ul>
483 <xsl:for-each select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@type='query']">
484 <xsl:if test="/page/pageRequest/paramList/param[@name='qs']/@value = 1 or not(@name = /page/pageRequest/paramList/param[@name='s']/@value)">
485 <li class="ui-state-default ui-corner-all">
486 <a class="query-form-links">
487 <xsl:attribute name="href">
488 <xsl:value-of select="$library_name"/>/collection/<xsl:value-of select="$collNameChecked"/>/search/<xsl:value-of select="@name"/>
489 </xsl:attribute>
490 <xsl:value-of select="displayItem[@name='name']"/>
491 </a>
492 </li>
493 </xsl:if>
494 </xsl:for-each>
495 </ul>
496 </div>
497
498 </xsl:template>
499
500 <!-- navigation bar for login, preferences and help links -->
501 <xsl:template name="login-prefs-help-links">
502 <div class="container wrapper-old col0" style="margin:10px auto"> <!-- used to be 10px 30px -->
503 <div id="topline">
504 <ul>
505 <xsl:call-template name="loginLinks"/>
506 <li><a href="{$library_name}/collection/{$collNameChecked}/page/pref">Preferences</a></li>
507 <xsl:choose>
508 <xsl:when test="/page/pageResponse/collection">
509 <li><a href="{$library_name}/collection/{$collNameChecked}/page/help">Help</a></li>
510 </xsl:when>
511 <xsl:otherwise>
512 <li><a href="{$library_name}/page/help">Help</a></li>
513 </xsl:otherwise>
514 </xsl:choose>
515 </ul>
516 <br class="clear" />
517 </div>
518 </div>
519 </xsl:template>
520
521</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.