root/main/trunk/greenstone3/web/interfaces/oran/transform/pages/home.xsl @ 25276

Revision 25276, 1.3 KB (checked in by sjm84, 7 years ago)

Added a register link when there is a administration link

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    <!-- use the 'main' layout -->
11    <xsl:include href="layouts/main.xsl"/>
12
13    <!-- set page title -->
14    <xsl:template name="pageTitle"><gslib:siteName/></xsl:template>
15
16    <!-- set page breadcrumbs -->
17    <xsl:template name="breadcrumbs"></xsl:template>
18
19    <!-- the page content -->
20    <xsl:template match="/page/pageResponse">
21
22        <div id="quickSearch">
23            <gslib:crossCollectionQuickSearchForm/>
24        </div>
25
26        <h2><gslib:selectACollectionTextBar/></h2>
27
28        <div id="collectionLinks">
29            <xsl:for-each select="collectionList/collection">
30                <gslib:collectionLinkWithImage/>
31            </xsl:for-each>
32            <br class="clear"/>
33        </div>
34
35
36        <gslib:serviceClusterList/>
37
38        <xsl:for-each select="serviceList/service[@type='query']">
39            <gslib:serviceLink/><br/>
40        </xsl:for-each>
41       
42        <xsl:for-each select="serviceList/service[@type='authen']">
43            <gslib:authenticationLink/><br/><br/>
44            <gslib:registerLink/><br/>
45        </xsl:for-each>
46
47    </xsl:template>
48
49</xsl:stylesheet>
50
51
Note: See TracBrowser for help on using the browser.