source: main/branches/64_bit_Greenstone/greenstone3/web/interfaces/default/transform/nav.xsl@ 24007

Last change on this file since 24007 was 24007, checked in by sjm84, 13 years ago

Updating this branch to match the latest Greenstone3 changes

  • Property svn:keywords set to Author Date Id Revision
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 extension-element-prefixes="java"
6 exclude-result-prefixes="java">
7
8 <!-- style includes global params interface_name, library_name -->
9 <xsl:include href="style.xsl"/>
10
11 <xsl:output method="html"/>
12
13 <xsl:template match="page">
14 <html>
15 <head>
16 <title>
17 <xsl:call-template name="pageTitle"/><xsl:text> </xsl:text>
18 </title>
19 <xsl:call-template name="globalStyle"/>
20 <base target="_top"/>
21 </head>
22 <body style="background-image: none;">
23 <xsl:attribute name="dir"><xsl:call-template name="direction"/></xsl:attribute>
24 <xsl:apply-templates select="pageResponse"/>
25 </body>
26 </html>
27 </xsl:template>
28
29 <xsl:template name="pageTitle">
30 <xsl:value-of select="/page/pageResponse/*/displayItem[@name='name']"/>
31 </xsl:template>
32
33 <xsl:template match="pageResponse">
34 <xsl:variable name="collName" select="/page/pageRequest/paramList/param[@name='c']/@value"/>
35 <div align="right">
36 <xsl:call-template name="top-buttons">
37 <xsl:with-param name="collName" select="$collName"/>
38 </xsl:call-template>
39 </div>
40 <xsl:call-template name="navigationBar">
41 <xsl:with-param name="collName" select="$collName"/>
42 </xsl:call-template>
43 </xsl:template>
44
45</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.