source: main/trunk/model-sites-dev/von-sparql/transform/pages/home.xsl@ 28915

Last change on this file since 28915 was 28915, checked in by ak19, 10 years ago

Changes made to these files at the end of the 2013/2014 Summer project work by Steffan

File size: 1.4 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 <xsl:variable name="coll_name"><gslib:collectionName/></xsl:variable>
11 <xsl:variable name="coll_name_short"><gslib:collectionNameShort/></xsl:variable>
12
13 <!-- the page content -->
14 <xsl:template match="/page/pageResponse">
15
16 <div id="quickSearch">
17 <gslib:crossCollectionQuickSearchForm/>
18 </div>
19
20 <h2><gslib:selectACollectionTextBar/></h2>
21
22 <div id="collectionLinks">
23 <xsl:if test="count(collectionList/collection) = 0">
24 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home.no_collections')"/>
25 <br/>
26 </xsl:if>
27 <xsl:for-each select="collectionList/collection">
28 <gslib:collectionLinkWithImage/>
29 </xsl:for-each>
30 <br class="clear"/>
31 </div>
32
33 <gslib:serviceClusterList/>
34
35 <xsl:for-each select="serviceList/service[@type='query']">
36 <gslib:serviceLink/><br/>
37 </xsl:for-each>
38
39 <xsl:for-each select="serviceList/service[@type='authen']">
40 <gslib:authenticationLink/><br/><br/>
41 <gslib:registerLink/><br/>
42 </xsl:for-each>
43
44 </xsl:template>
45
46</xsl:stylesheet>
47
48
Note: See TracBrowser for help on using the repository browser.