[26459] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[19856] | 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 |
|
---|
[24914] | 17 | <xsl:import 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 |
|
---|
[25917] | 30 | <xsl:template match="/">
|
---|
| 31 | <xsl:call-template name="mainTemplate"/>
|
---|
| 32 | </xsl:template>
|
---|
| 33 |
|
---|
[19856] | 34 | <!-- the main layout is defined here -->
|
---|
[25917] | 35 | <xsl:template name="mainTemplate">
|
---|
[19856] | 36 |
|
---|
| 37 | <html>
|
---|
| 38 |
|
---|
| 39 | <head>
|
---|
[23813] | 40 | <!-- ***** in header.xsl ***** -->
|
---|
| 41 | <xsl:call-template name="create-html-header"/>
|
---|
[24652] | 42 | <xsl:call-template name="berryBasketHeadTags"/>
|
---|
[19856] | 43 | </head>
|
---|
| 44 |
|
---|
[19988] | 45 | <body><xsl:call-template name="textDirectionAttribute"/><xsl:call-template name="actionClass"/>
|
---|
[23989] | 46 |
|
---|
[25277] | 47 | <!--<xsl:call-template name="displayErrorsIfAny"/>-->
|
---|
[23989] | 48 | <a name="top"><xsl:text> </xsl:text></a>
|
---|
[25000] | 49 |
|
---|
| 50 | <div id="topArea" class="ui-state-default ui-corner-top">
|
---|
| 51 | <table>
|
---|
| 52 | <tbody>
|
---|
| 53 | <tr>
|
---|
| 54 | <td><div id="breadcrumbs"><xsl:call-template name="breadcrumbs"/><xsl:text> </xsl:text></div></td>
|
---|
| 55 |
|
---|
| 56 | <!-- ***** in header.xsl ***** -->
|
---|
| 57 | <td><xsl:call-template name="home-help-preferences"/></td>
|
---|
| 58 | </tr>
|
---|
| 59 | </tbody>
|
---|
| 60 | </table>
|
---|
| 61 | </div>
|
---|
| 62 |
|
---|
| 63 | <div id="container" class="ui-corner-all">
|
---|
[19856] | 64 |
|
---|
[25000] | 65 | <!-- ***** in header.xsl ***** -->
|
---|
| 66 | <xsl:call-template name="create-banner"/>
|
---|
[24149] | 67 |
|
---|
[24243] | 68 | <xsl:if test="/page/pageRequest/paramList/param[(@name='formatedit') and (@value='on')]">
|
---|
[24149] | 69 | <xsl:call-template name="formatmanagerpre"/>
|
---|
| 70 | </xsl:if>
|
---|
[24137] | 71 |
|
---|
[25000] | 72 | <div id="gs_content" class="ui-widget-content">
|
---|
[19856] | 73 | <!--
|
---|
| 74 | show the content of the page.
|
---|
| 75 | to customise this part, edit the xsl file for the page you want to edit
|
---|
| 76 | -->
|
---|
| 77 | <xsl:apply-templates select="/page"/>
|
---|
[19988] | 78 |
|
---|
[19856] | 79 | </div>
|
---|
| 80 |
|
---|
[25000] | 81 | <div id="gs_footer" class="ui-widget-header ui-corner-bottom">
|
---|
[26405] | 82 | <a href="http://www.greenstone.org/greenstone3-home"><xsl:call-template name="poweredByGS3TextBar"/></a>
|
---|
[19856] | 83 | </div>
|
---|
[23813] | 84 | </div>
|
---|
[19856] | 85 | </body>
|
---|
| 86 | </html>
|
---|
| 87 | </xsl:template>
|
---|
[25000] | 88 | </xsl:stylesheet> |
---|