source: greenstone3/trunk/web/interfaces/default/transform/home.xsl@ 18482

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

Simplified the site home transformation, library.xsl defines the output method and allow the user to create its own gslib elements, addind util.xsl containing all the gslib elements provided by us.

  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 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="util java util">
9
10
11 <xsl:template match="page/pageResponse">
12
13 <!-- the main page layout template is here -->
14 <html>
15
16 <head>
17 <title>
18 <gslib:homePageTitle/>
19 </title>
20 <link rel="stylesheet" href="interfaces/default/style/core.css" type="text/css"/>
21 </head>
22
23 <body><gslib:textDirectionAttribute/>
24
25 <div id="page-wrapper">
26 <gslib:displayErrorsIfAny/>
27
28
29 <div id="banner">
30 <p>
31 <img src="interfaces/default/images/gsdlhead.gif"><xsl:attribute name="alt"><gslib:greenstoneLogoAlternateText/></xsl:attribute>
32 </img>
33 </p>
34 </div>
35
36 <div id="content">
37
38 <div class="divbar"><gslib:selectACollectionTextBar/></div>
39
40 <div class="QuickSearch">
41 <gslib:crossCollectionQuickSearchForm/>
42 </div>
43
44
45 <ul id="collectionlist">
46 <xsl:for-each select="collectionList/collection">
47 <li>
48 <gslib:collectionLinkWithImage/>
49 </li>
50 </xsl:for-each>
51 </ul>
52
53 <gslib:serviceClusterList/>
54
55 <div class="divbar"><gslib:noTextBar/></div>
56
57 <ul id="servicelist">
58 <xsl:for-each select="serviceList/service[@type='query']">
59 <li><gslib:serviceLink/></li>
60 </xsl:for-each>
61
62 <!--uncomment the line below to display an authentication link inside a <li>-->
63 <!--<gslib:authenticationLink/>-->
64
65 <!--uncomment the line below to display a library interface link inside a <li>-->
66 <!--<gslib:libraryInterfaceLink/>-->
67 </ul>
68
69 </div>
70
71
72 <div id="footer">
73 <div class="divbar"><gslib:poweredByGS3TextBar/></div>
74 </div>
75
76 </div>
77
78 </body>
79 </html>
80
81
82 </xsl:template>
83</xsl:stylesheet>
84
85
Note: See TracBrowser for help on using the repository browser.