| 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:if test="count(collectionList/collection) = 0">
|
---|
| 30 | <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home.no_collections')"/>
|
---|
| 31 | <br/>
|
---|
| 32 | </xsl:if>
|
---|
| 33 | <xsl:for-each select="collectionList/collection">
|
---|
| 34 | <gslib:collectionLinkWithImage/>
|
---|
| 35 | </xsl:for-each>
|
---|
| 36 | <br class="clear"/>
|
---|
| 37 | </div>
|
---|
| 38 |
|
---|
| 39 | <gslib:serviceClusterList/>
|
---|
| 40 |
|
---|
| 41 | <xsl:for-each select="serviceList/service[@type='query']">
|
---|
| 42 | <gslib:serviceLink/><br/>
|
---|
| 43 | </xsl:for-each>
|
---|
| 44 |
|
---|
| 45 | <xsl:for-each select="serviceList/service[@type='authen']">
|
---|
| 46 | <gslib:authenticationLink/><br/><br/>
|
---|
| 47 | <gslib:registerLink/><br/>
|
---|
| 48 | </xsl:for-each>
|
---|
| 49 |
|
---|
| 50 | </xsl:template>
|
---|
| 51 |
|
---|
| 52 | </xsl:stylesheet>
|
---|
| 53 |
|
---|
| 54 |
|
---|