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

Last change on this file since 20291 was 20291, checked in by kjdon, 15 years ago

made the authentication link always active. If the service has not been activated in siteConfig, then nothing will show up. If it has, then I don't think the user should have to modify the interface files as well. Activating the service in siteConfig should be enough.

  • 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="java util">
9
10
11 <xsl:template match="page/pageResponse">
12
13 <!-- the page layout template is here -->
14 <html>
15
16 <head>
17 <title>
18 <gslib:siteHomePageTitle/>
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 <xsl:for-each select="serviceList/service[@type='authen']">
63 <li><gslib:authenticationLink/></li>
64 </xsl:for-each>
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.