[19856] | 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"
|
---|
[23336] | 4 |
|
---|
[19856] | 5 | xmlns:java="http://xml.apache.org/xslt/java"
|
---|
| 6 | xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
|
---|
| 7 | xmlns:gslib="http://www.greenstone.org/skinning"
|
---|
[22516] | 8 | xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
|
---|
| 9 |
|
---|
| 10 | xmlns:lxslt="http://xml.apache.org/xslt"
|
---|
| 11 | xmlns:result="http://www.example.com/results"
|
---|
[22598] | 12 | xmlns:exsl="http://exslt.org/common"
|
---|
[22516] | 13 |
|
---|
[22598] | 14 | extension-element-prefixes="java util result exsl"
|
---|
[19856] | 15 | exclude-result-prefixes="util java util">
|
---|
| 16 |
|
---|
[23813] | 17 | <xsl:include href="header.xsl"/>
|
---|
[24137] | 18 | <xsl:include href="formatmanager.xsl"/>
|
---|
[23813] | 19 |
|
---|
[22458] | 20 |
|
---|
[19988] | 21 | <!-- put the URL or path of your site here site -->
|
---|
| 22 | <!-- eg 'http://www.example.com/mysite' or '/mysite' -->
|
---|
[20380] | 23 | <xsl:template name="siteURL"><xsl:value-of select="/page/pageResponse/metadataList/metadata[@name='siteURL']"/></xsl:template>
|
---|
[19856] | 24 |
|
---|
[19988] | 25 |
|
---|
[19856] | 26 | <!-- the output format for this layout is html -->
|
---|
[23336] | 27 | <!-- <xsl:output method="xml" version="1.0" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.1//EN" doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" indent="yes" omit-xml-declaration="yes"/> -->
|
---|
| 28 | <xsl:output method="html" omit-xml-declaration="yes"/>
|
---|
[19856] | 29 |
|
---|
| 30 | <!-- the main layout is defined here -->
|
---|
| 31 | <xsl:template match="/">
|
---|
| 32 |
|
---|
| 33 | <html>
|
---|
| 34 |
|
---|
| 35 | <head>
|
---|
[23813] | 36 | <!-- ***** in header.xsl ***** -->
|
---|
| 37 | <xsl:call-template name="create-html-header"/>
|
---|
[24652] | 38 | <xsl:call-template name="berryBasketHeadTags"/>
|
---|
[19856] | 39 | </head>
|
---|
| 40 |
|
---|
[19988] | 41 | <body><xsl:call-template name="textDirectionAttribute"/><xsl:call-template name="actionClass"/>
|
---|
[23989] | 42 |
|
---|
[19988] | 43 | <xsl:call-template name="displayErrorsIfAny"/>
|
---|
[23989] | 44 | <a name="top"><xsl:text> </xsl:text></a>
|
---|
[23813] | 45 | <div id="container">
|
---|
[19856] | 46 |
|
---|
[22783] | 47 | <div id="gs_banner">
|
---|
[23813] | 48 | <!-- ***** in header.xsl ***** -->
|
---|
| 49 | <xsl:call-template name="create-banner"/>
|
---|
[19856] | 50 | </div>
|
---|
[24149] | 51 |
|
---|
[24243] | 52 | <xsl:if test="/page/pageRequest/paramList/param[(@name='formatedit') and (@value='on')]">
|
---|
[24149] | 53 | <xsl:call-template name="formatmanagerpre"/>
|
---|
| 54 | </xsl:if>
|
---|
[24137] | 55 |
|
---|
[22783] | 56 | <div id="gs_content">
|
---|
[19856] | 57 | <!--
|
---|
| 58 | show the content of the page.
|
---|
| 59 | to customise this part, edit the xsl file for the page you want to edit
|
---|
| 60 | -->
|
---|
| 61 | <xsl:apply-templates select="/page"/>
|
---|
[19988] | 62 |
|
---|
[19856] | 63 | </div>
|
---|
[23813] | 64 |
|
---|
| 65 | <!--<xsl:call-template name="formatmanagerpost"/>-->
|
---|
[19856] | 66 |
|
---|
[22783] | 67 | <div id="gs_footer">
|
---|
[24652] | 68 | <a href="http://www.greenstone.org"><xsl:call-template name="poweredByGS3TextBar"/></a>
|
---|
[19856] | 69 | </div>
|
---|
| 70 |
|
---|
| 71 | <div class="corner" id="cornerTopLeft"><xsl:text> </xsl:text></div>
|
---|
| 72 | <div class="corner" id="cornerTopRight"><xsl:text> </xsl:text></div>
|
---|
| 73 | <div class="corner" id="cornerBottomLeft"><xsl:text> </xsl:text></div>
|
---|
| 74 | <div class="corner" id="cornerBottomRight"><xsl:text> </xsl:text></div>
|
---|
[23813] | 75 | </div>
|
---|
[19856] | 76 | </body>
|
---|
| 77 | </html>
|
---|
| 78 | </xsl:template>
|
---|
| 79 | </xsl:stylesheet>
|
---|
| 80 |
|
---|
| 81 |
|
---|