Last change
on this file since 31660 was 31660, checked in by kjdon, 7 years ago |
collectionLinks template is now called collectionAndGroupLinks
|
File size:
1.5 KB
|
Rev | Line | |
---|
[31659] | 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 | <!-- the custom list of collections -->
|
---|
[31660] | 11 | <xsl:template name="collectionAndGroupLinks">
|
---|
[31659] | 12 | <div id="collectionLinks">
|
---|
| 13 | <xsl:if test="count(collectionList/collection) = 0">
|
---|
| 14 | <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home.no_collections')"/>
|
---|
| 15 | <br/>
|
---|
| 16 | </xsl:if>
|
---|
| 17 | <p>These collections demonstrate different aspects of Greenstone3. Click on a collection to see its description.</p>
|
---|
| 18 | <xsl:for-each select="collectionList/collection[@name = 'paradise-gardens' or @name = 'image-demo' or @name = 'twso' or @name = 'paged-image' or @name = 'fedora' or @name= 'editdemo' or @name = 'kjcoll' or @name='niupepa']">
|
---|
| 19 | <gslib:collectionLinkWithImage/>
|
---|
| 20 | </xsl:for-each>
|
---|
| 21 | <br class="clear"/>
|
---|
| 22 | <p>The next collections all use a different indexing tool, but otherwise have the same content. Do some searches to see the what the different tools offer.</p>
|
---|
| 23 | <xsl:for-each select="collectionList/collection[@name = 'lucene-jdbm-demo' or @name = 'solr-jdbm-demo' or @name = 'gs2mgppdemo' or @name='gs2mgdemo']">
|
---|
| 24 | <gslib:collectionLinkWithImage/>
|
---|
| 25 | </xsl:for-each>
|
---|
| 26 | <br class="clear"/>
|
---|
| 27 | </div>
|
---|
| 28 | </xsl:template>
|
---|
| 29 |
|
---|
[31660] | 30 |
|
---|
| 31 | </xsl:stylesheet>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.