1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
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 | extension-element-prefixes="java util"
|
---|
8 | exclude-result-prefixes="java util">
|
---|
9 |
|
---|
10 | <xsl:include href="style.xsl"/>
|
---|
11 | <xsl:template match="page">
|
---|
12 |
|
---|
13 | <!-- the page layout template is here -->
|
---|
14 | <html>
|
---|
15 | <head>
|
---|
16 | <xsl:call-template name="baseHref"/>
|
---|
17 | <title>
|
---|
18 | <gslib:aboutCollectionPageTitle/>
|
---|
19 | </title>
|
---|
20 | <link rel="stylesheet" href="interfaces/basic/style/core.css" type="text/css"/>
|
---|
21 | </head>
|
---|
22 |
|
---|
23 | <body><gslib:textDirectionAttribute/>
|
---|
24 |
|
---|
25 | <div id="page-wrapper">
|
---|
26 | <gslib:displayErrorsIfAny/>
|
---|
27 |
|
---|
28 | <div id="banner">
|
---|
29 | <p>
|
---|
30 | <gslib:collectionHomeLinkWithLogoIfAvailable/>
|
---|
31 | </p>
|
---|
32 | <ul id="bannerlist">
|
---|
33 | <li><gslib:homeButtonTop/></li>
|
---|
34 | <li><gslib:helpButtonTop/></li>
|
---|
35 | <li><gslib:preferencesButtonTop/></li>
|
---|
36 | </ul>
|
---|
37 | </div>
|
---|
38 |
|
---|
39 | <!--If some services are available for the current collection display the navigation bar-->
|
---|
40 | <xsl:choose>
|
---|
41 | <xsl:when test="$this-element/serviceList/service">
|
---|
42 | <div id="navbar">
|
---|
43 | <ul id="navbarlist">
|
---|
44 | <gslib:servicesNavigationBar/>
|
---|
45 | </ul>
|
---|
46 | </div>
|
---|
47 | </xsl:when>
|
---|
48 | <!--Otherwise simply display a blank divider bar-->
|
---|
49 | <xsl:otherwise>
|
---|
50 | <div class="divbar"><gslib:noTextBar/></div>
|
---|
51 | </xsl:otherwise>
|
---|
52 | </xsl:choose>
|
---|
53 |
|
---|
54 | <div id="content">
|
---|
55 | <!--Display the description text of the current collection,
|
---|
56 | and if some services are available then create a list
|
---|
57 | of links for each service within a <ul id="servicelist"> element.-->
|
---|
58 | <gslib:collectionDescriptionTextAndServicesLinks/>
|
---|
59 | </div>
|
---|
60 | <xsl:call-template name="greenstoneFooter"/>
|
---|
61 | </div>
|
---|
62 |
|
---|
63 | </body>
|
---|
64 | </html>
|
---|
65 | </xsl:template>
|
---|
66 |
|
---|
67 |
|
---|
68 | </xsl:stylesheet>
|
---|
69 |
|
---|