source: greenstone3/trunk/web/interfaces/default/transform/about.xsl@ 18595

Last change on this file since 18595 was 18595, checked in by max, 15 years ago

Simplified the collection about transformation, util.xsl containing all the gslib elements provided by us.

  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
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
11 <xsl:template match="page">
12
13 <!-- the page layout template is here -->
14 <html>
15 <head>
16 <title>
17 <gslib:aboutCollectionPageTitle/>
18 </title>
19 <link rel="stylesheet" href="interfaces/default/style/core.css" type="text/css"/>
20 </head>
21
22 <body><gslib:textDirectionAttribute/>
23
24 <div id="page-wrapper">
25 <gslib:displayErrorsIfAny/>
26
27 <div id="banner">
28 <p>
29 <gslib:collectionHomeLinkWithLogoIfAvailable/>
30 </p>
31 <ul id="bannerlist">
32 <li><gslib:homeButtonTop/></li>
33 <li><gslib:helpButtonTop/></li>
34 <li><gslib:preferencesButtonTop/></li>
35 </ul>
36 </div>
37
38 <!--If some services are available for the current collection display the navigation bar-->
39 <xsl:choose>
40 <xsl:when test="$this-element/serviceList/service">
41 <div id="navbar">
42 <ul id="navbarlist">
43 <gslib:servicesNavigationBar/>
44 </ul>
45 </div>
46 </xsl:when>
47 <!--Otherwise simply display a blank divider bar-->
48 <xsl:otherwise>
49 <div class="divbar"><gslib:noTextBar/></div>
50 </xsl:otherwise>
51 </xsl:choose>
52
53 <div id="content">
54 <!--Display the description text of the current collection,
55 and if some services are available then create a list
56 of links for each service within a <ul id="servicelist"> element.-->
57 <gslib:collectionDescriptionTextAndServicesLinks/>
58 </div>
59
60 <div id="footer">
61 <div class="divbar"><gslib:poweredByGS3TextBar/></div>
62 </div>
63 </div>
64 </body>
65 </html>
66</xsl:template>
67
68
69</xsl:stylesheet>
70
Note: See TracBrowser for help on using the repository browser.