root/main/trunk/greenstone3/web/interfaces/default/transform/pages/gsdl.xsl @ 33140

Revision 32457, 3.7 KB (checked in by kjdon, 14 months ago)

added 'about greenstone' link on home page which leads to gsdl page, similar to gs2

Line 
1<?xml version="1.0" encoding="utf-8"?>
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 xsl gslib">
9
10 
11  <!-- use the 'main' layout -->
12  <xsl:include href="layouts/main.xsl"/>
13
14  <!-- set page title -->
15  <xsl:template name="pageTitle"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl.title')"/></xsl:template>
16
17  <!-- set page breadcrumbs -->
18  <xsl:template name="breadcrumbs">
19    <gslib:siteLink/>
20  </xsl:template>
21
22  <!-- the page content -->
23  <xsl:template match="/page/pageResponse">
24    <xsl:variable name="gsorg_link"><a href="//www.greenstone.org">www.greenstone.org</a></xsl:variable>
25    <p><xsl:value-of select="util:getInterfaceTextWithDOM($interface_name, /page/@lang, 'gsdl.main', $gsorg_link)"  disable-output-escaping="yes"/>
26</p>
27    <dl>
28      <dt><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl.technical')"/></dt><dd><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl.technical_desc', '//www.greenstone.org/factsheet')"  disable-output-escaping="yes"/></dd>
29      <dt><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl.customisation')"/></dt><dd><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl.customisation_desc', '//wiki.greenstone.org/doku.php?id=en:beginner:customization')"  disable-output-escaping="yes"/></dd>
30      <dt><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl.documentation')"/></dt><dd><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl.documentation_desc', '//wiki.greenstone.org;//wiki.greenstone.org/doku.php?id=en:tutorials')"  disable-output-escaping="yes"/></dd>
31      <dt><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl.support')"/></dt><dd><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl.support_desc', '//www.greenstone.org/support')"  disable-output-escaping="yes"/></dd>
32      <dt><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl.bugs')"/></dt><dd><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl.bugs_desc', 'mailto:greenstone-users@list.waikato.ac.nz')"  disable-output-escaping="yes"/></dd>
33    </dl>
34    <hr/>
35
36    <h3>Kia papapounamu te moana</h3>
37    <p>
38      <br/>kia hora te marino,
39      <br/>kia tere te karohirohi,
40      <br/>kia papapounamu te moana
41      <br/>
42      <br/>may peace and calmness surround you,
43      <br/>may you reside in the warmth of a summer's haze,
44      <br/>may the ocean of your travels be as smooth as the polished greenstone.
45    </p>
46    <p>
47      <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl.greenstone_stone')"/>       
48    </p>
49    <hr/>
50    <h3>Toki Pou Hinengaro</h3>
51    <a href="interfaces/default/images/toki.png" title="view larger toki image"><img style="float:right;" src="interfaces/default/images/toki_sm.png"/></a>
52    <br/>
53    <p><i>'The adze that shapes the excellence of thought'</i></p>
54    <p><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl.toki_about1', '//nzdl.org/niupepa')" disable-output-escaping="yes"/></p>
55    <p><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl.toki_about2')"/></p>
56    <p><i>Haramai te toki, haumi e, hui e, tāiki e!</i></p>
57    </xsl:template>
58
59   
60
61    <xsl:template match="/page/xsltparams">
62      <!-- suppress xsltparam block in page -->
63    </xsl:template>
64
65  </xsl:stylesheet>
66
67
Note: See TracBrowser for help on using the browser.