source: greenstone3/trunk/web/interfaces/nzdl/transform/gsdl.xsl@ 14643

Last change on this file since 14643 was 8534, 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: 3.3 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 <xsl:include href="style.xsl"/>
10 <xsl:include href="gsdl-text.xsl"/>
11 <xsl:include href="home-text.xsl"/>
12 <xsl:include href="page-common.xsl"/>
13
14 <xsl:output method="html"/>
15
16 <xsl:template name="pageTitle">
17 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'nzdl')"/>
18 </xsl:template>
19
20 <!-- page specific style goes here -->
21 <xsl:template name="pageStyle"/>
22
23 <xsl:template match="pageResponse">
24 <center>
25 <xsl:call-template name="genericPageBanner"><xsl:with-param name='text'><xsl:call-template name="aboutgs"/></xsl:with-param></xsl:call-template>
26 </center>
27 <p />
28 <table border='0' cellspacing='0' cellpadding='0'>
29 <tr>
30 <td valign='top' align='center'><xsl:call-template name="imagegreenstone"/></td>
31 <td valign='top'><xsl:call-template name="textgreenstone1"/>
32 <br /><br />
33 </td>
34 </tr>
35 <tr>
36 <td valign='top' align='center'>
37 <h2><a href="http://nzdl.org">nzdl.org</a></h2>
38 </td>
39 <td valign='top'><xsl:call-template name="textgreenstone2"/>
40 <br /><br />
41 </td>
42 </tr>
43 <tr>
44 <td valign='top' align='center'>
45 <h2><xsl:call-template name="textplatformtitle"/></h2>
46 </td>
47 <td valign='top'><xsl:call-template name="textgreenstone3"/>
48 <br /><br />
49 </td>
50 </tr>
51 <tr>
52 <td valign='top' align='center'>
53 <a href="http://nzdl.org/hdl"><img border='0' width='101' height='100' src="interfaces/nzdl/images/hdlimg.jpg"/></a>
54 </td>
55 <td valign='top'>
56 <xsl:call-template name="textgreenstone4"/>
57 <br /><br />
58 </td>
59 </tr>
60 <tr>
61 <td valign='top' align='center'>
62 <h2><xsl:call-template name="textcustomisationtitle"/></h2>
63 </td>
64 <td valign='top'><xsl:call-template name="textgreenstone5"/>
65 <br /><br />
66 </td>
67 </tr>
68 <tr>
69 <td valign='top' align='center'>
70 <h2><a href="http://www.greenstone.org/english/docs.html"><xsl:call-template name="textdocumentationtitle"/></a></h2>
71 </td>
72 <td valign='top'><xsl:call-template name="textdocuments"/>
73 <br /><br />
74 </td>
75 </tr>
76 <tr>
77 <td valign='top' align='center'>
78 <h2><xsl:call-template name="textmailinglisttitle"/></h2>
79 </td>
80 <td valign='top'><xsl:call-template name="textmailinglist"/>
81 <br /><br />
82 </td>
83 </tr>
84 <tr>
85 <td valign='top' align='center'>
86 <h2><xsl:call-template name="textbugstitle"/></h2>
87 </td>
88 <td valign='top'><xsl:call-template name="textreport"/>
89 <br /><br />
90 </td>
91 </tr>
92 <tr>
93 <td valign='top' align='center'>
94 <h2><xsl:call-template name="textgs3title"/></h2>
95 </td>
96 <td valign='top'><xsl:call-template name="textgs3"/>
97 <br /><br />
98 </td>
99 </tr>
100
101 <tr>
102 <td valign='top' align='center'>
103 <h2><xsl:call-template name="textcreditstitle"/></h2>
104 </td>
105 <td valign='top'><xsl:call-template name="textwhoswho"/>
106 </td>
107 </tr>
108 </table>
109 <center>
110 <p /><xsl:call-template name="dividerBar"/>
111 <xsl:call-template name="greenstone_info"/>
112 <xsl:call-template name="nzdlpagefooter"/>
113 </center>
114 </xsl:template>
115
116</xsl:stylesheet>
117
Note: See TracBrowser for help on using the repository browser.