[19856] | 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"
|
---|
[19988] | 8 | exclude-result-prefixes="java util">
|
---|
[19856] | 9 |
|
---|
[19988] | 10 | <!-- use the 'main' layout -->
|
---|
[19856] | 11 | <xsl:include href="layouts/main.xsl"/>
|
---|
| 12 |
|
---|
[19988] | 13 | <!-- set page title -->
|
---|
| 14 | <xsl:template name="pageTitle"><gslib:siteName/></xsl:template>
|
---|
[19856] | 15 |
|
---|
[19988] | 16 | <!-- set page breadcrumbs -->
|
---|
[30540] | 17 | <xsl:template name="breadcrumbs">
|
---|
| 18 | <xsl:if test="/page/pageRequest/paramList/param[@name='group']">
|
---|
| 19 | <gslib:siteLink/>
|
---|
| 20 | </xsl:if>
|
---|
| 21 | </xsl:template>
|
---|
[19988] | 22 |
|
---|
| 23 | <!-- the page content -->
|
---|
[19856] | 24 | <xsl:template match="/page/pageResponse">
|
---|
| 25 |
|
---|
| 26 | <div id="quickSearch">
|
---|
| 27 | <gslib:crossCollectionQuickSearchForm/>
|
---|
| 28 | </div>
|
---|
| 29 |
|
---|
| 30 | <h2><gslib:selectACollectionTextBar/></h2>
|
---|
| 31 |
|
---|
[30540] | 32 | <xsl:for-each select="collectionList/collection|groupList/group">
|
---|
| 33 | <xsl:sort select="@position"/>
|
---|
| 34 | <xsl:if test="name() = 'collection'">
|
---|
| 35 | <gslib:collectionLinkWithImage/>
|
---|
| 36 | </xsl:if>
|
---|
| 37 | <xsl:if test="name() = 'group'">
|
---|
| 38 | <gslib:groupLinkWithImage/>
|
---|
| 39 | </xsl:if>
|
---|
| 40 | </xsl:for-each>
|
---|
| 41 |
|
---|
[29935] | 42 | <div style="clear: both; padding-top: 4px; padding-bottom: 4px;"><hr/></div>
|
---|
| 43 |
|
---|
[19856] | 44 | <gslib:serviceClusterList/>
|
---|
| 45 |
|
---|
| 46 | <xsl:for-each select="serviceList/service[@type='query']">
|
---|
| 47 | <gslib:serviceLink/><br/>
|
---|
| 48 | </xsl:for-each>
|
---|
[24149] | 49 |
|
---|
| 50 | <xsl:for-each select="serviceList/service[@type='authen']">
|
---|
[25276] | 51 | <gslib:authenticationLink/><br/><br/>
|
---|
| 52 | <gslib:registerLink/><br/>
|
---|
[24149] | 53 | </xsl:for-each>
|
---|
[19856] | 54 |
|
---|
| 55 | </xsl:template>
|
---|
| 56 |
|
---|
[30540] | 57 | <xsl:template name="groupLinks">
|
---|
| 58 | <div id="groupLinks">
|
---|
| 59 | <!-- <xsl:if test="count(groupList/group) = 0">
|
---|
| 60 | <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home.no_collections')"/>
|
---|
| 61 | <br/>
|
---|
| 62 | </xsl:if>
|
---|
| 63 | -->
|
---|
| 64 | <xsl:for-each select="groupList/group">
|
---|
| 65 | <gslib:groupLinkWithImage/>
|
---|
| 66 | </xsl:for-each>
|
---|
| 67 | <br class="clear"/>
|
---|
| 68 | </div>
|
---|
| 69 | </xsl:template>
|
---|
| 70 |
|
---|
[30478] | 71 | <xsl:template name="collectionLinks">
|
---|
[30346] | 72 | <div id="collectionLinks">
|
---|
| 73 | <xsl:if test="count(collectionList/collection) = 0">
|
---|
| 74 | <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home.no_collections')"/>
|
---|
| 75 | <br/>
|
---|
| 76 | </xsl:if>
|
---|
| 77 | <xsl:for-each select="collectionList/collection">
|
---|
| 78 | <gslib:collectionLinkWithImage/>
|
---|
| 79 | </xsl:for-each>
|
---|
| 80 | <br class="clear"/>
|
---|
| 81 | </div>
|
---|
[30478] | 82 | </xsl:template>
|
---|
| 83 |
|
---|
| 84 | <xsl:template match="/page/xsltparams">
|
---|
| 85 | <!-- suppress xsltparam block in page -->
|
---|
| 86 | </xsl:template>
|
---|
| 87 |
|
---|
[19856] | 88 | </xsl:stylesheet>
|
---|
| 89 |
|
---|
| 90 |
|
---|