[4047] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <xsl:stylesheet version="1.0"
|
---|
[4712] | 3 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
| 4 | xmlns:java="http://xml.apache.org/xslt/java"
|
---|
[24007] | 5 | extension-element-prefixes="java"
|
---|
| 6 | exclude-result-prefixes="java">
|
---|
[4047] | 7 |
|
---|
[17017] | 8 | <!-- style includes global params interface_name, library_name -->
|
---|
[4047] | 9 | <xsl:include href="style.xsl"/>
|
---|
| 10 |
|
---|
[24007] | 11 | <xsl:output method="html"/>
|
---|
[17017] | 12 |
|
---|
[18316] | 13 | <!-- the main page layout template is here -->
|
---|
[17017] | 14 | <xsl:template match="page">
|
---|
[18316] | 15 | <html>
|
---|
| 16 | <head>
|
---|
| 17 | <title>
|
---|
| 18 | <!-- put a space in the title in case the actual value is missing - mozilla will not display a page with no title-->
|
---|
| 19 | <xsl:call-template name="pageTitle"/><xsl:text> </xsl:text>
|
---|
| 20 | </title>
|
---|
| 21 | <xsl:call-template name="globalStyle"/>
|
---|
| 22 | <xsl:call-template name="pageStyle"/>
|
---|
| 23 | </head>
|
---|
| 24 | <body>
|
---|
[18388] | 25 | <xsl:attribute name="dir"><xsl:call-template name="direction"/></xsl:attribute>
|
---|
| 26 | <div id="page-wrapper">
|
---|
[18316] | 27 | <xsl:call-template name="response" />
|
---|
| 28 | <xsl:call-template name="greenstoneFooter"/>
|
---|
| 29 | </div>
|
---|
| 30 | </body>
|
---|
| 31 | </html>
|
---|
[17017] | 32 | </xsl:template>
|
---|
[4047] | 33 |
|
---|
[8526] | 34 | <xsl:template name="pageTitle">
|
---|
| 35 | <xsl:value-of select="pageResponse/service/applet"/>
|
---|
[4047] | 36 | </xsl:template>
|
---|
| 37 |
|
---|
[8526] | 38 | <!-- page specific style goes here -->
|
---|
| 39 | <xsl:template name="pageStyle"/>
|
---|
| 40 |
|
---|
[4047] | 41 | <xsl:template match="pageResponse">
|
---|
[4253] | 42 | <xsl:variable name="collName"><xsl:value-of select="../pageRequest/paramList/param[@name='c']/@value"/></xsl:variable>
|
---|
[18316] | 43 | <xsl:call-template name="standardPageBanner">
|
---|
| 44 | <xsl:with-param name="collName" select="$collName"/>
|
---|
| 45 | </xsl:call-template>
|
---|
[13267] | 46 |
|
---|
[5123] | 47 | <xsl:call-template name="navigationBar">
|
---|
[5119] | 48 | <xsl:with-param name="collName" select="$collName"/>
|
---|
| 49 | </xsl:call-template>
|
---|
[13267] | 50 | <div class="phrasebrowse">
|
---|
[5119] | 51 | <xsl:copy-of select="service/applet"/>
|
---|
[13267] | 52 | </div>
|
---|
[18316] | 53 | </xsl:template>
|
---|
[4047] | 54 | </xsl:stylesheet>
|
---|
| 55 |
|
---|