source: trunk/gsdl3/web/interfaces/classic/transform/about.xsl@ 8570

Last change on this file since 8570 was 8532, checked in by kjdon, 20 years ago

tidied up the style stuff - now uses css. pageHead is now defined by style, with pageTitle and pageStyle in each page. got rid of the attribute sets and colors in style - uses css instead.

  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 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 extension-element-prefixes="java util"
7 exclude-result-prefixes="java util">
8
9 <!-- style includes global params interface_name, library_name -->
10 <xsl:include href="style.xsl"/>
11 <xsl:include href="help-common.xsl"/>
12 <xsl:include href="query-common.xsl"/>
13 <xsl:include href="service-params.xsl"/>
14 <xsl:output method="html"/>
15
16 <xsl:template name="pageTitle">
17 <xsl:value-of select="/page/pageResponse/collection/displayItem[@name='name']"/>
18 </xsl:template>
19
20 <!-- page specific style goes here -->
21 <xsl:template name="pageStyle"/>
22
23
24 <xsl:template match="pageResponse">
25 <xsl:variable name="collName" select="/page/pageRequest/paramList/param[@name='c']/@value"/>
26<!-- <center>-->
27 <xsl:apply-templates select="collection"><xsl:with-param name="collName" select="$collName"/></xsl:apply-templates>
28 <!--</center>-->
29 </xsl:template>
30
31 <xsl:template match="collection">
32 <xsl:param name="collName"/>
33 <xsl:call-template name="standardPageBanner">
34 <xsl:with-param name="collName" select="$collName"/>
35 <xsl:with-param name="pageType">about</xsl:with-param>
36 </xsl:call-template>
37 <xsl:call-template name="navigationBar">
38 <xsl:with-param name="collName" select="$collName"/>
39 </xsl:call-template>
40 <xsl:apply-templates select="serviceList/service[@name='TextQuery']">
41 <xsl:with-param name="collName" select="$collName"/></xsl:apply-templates>
42 <xsl:call-template name="dividerBar"/>
43 <h3><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'about.aboutcoll')"/></h3>
44 <table><tr><td><xsl:value-of select="displayItem[@name='description']" disable-output-escaping='yes'/></td></tr></table>
45 <p />
46 <xsl:apply-templates select="." mode="simplehelp"/>
47 </xsl:template>
48
49
50</xsl:stylesheet>
51
Note: See TracBrowser for help on using the repository browser.