[33830] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
| 2 | <xsl:stylesheet version="1.0"
|
---|
| 3 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
| 4 |
|
---|
| 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"
|
---|
| 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"
|
---|
| 12 | xmlns:exsl="http://exslt.org/common"
|
---|
| 13 |
|
---|
| 14 | extension-element-prefixes="java util result exsl"
|
---|
| 15 | exclude-result-prefixes="util java util gsf gslib">
|
---|
| 16 |
|
---|
| 17 | <xsl:import href="header.xsl"/>
|
---|
| 18 | <xsl:include href="formatmanager.xsl"/>
|
---|
| 19 |
|
---|
| 20 |
|
---|
| 21 | <!-- put the URL or path of your site here site -->
|
---|
| 22 | <!-- eg 'http://www.example.com/mysite' or '/mysite' -->
|
---|
| 23 | <xsl:template name="siteURL"><xsl:value-of select="/page/pageResponse/metadataList/metadata[@name='siteURL']"/></xsl:template>
|
---|
| 24 |
|
---|
| 25 |
|
---|
| 26 | <!-- the output format for this layout is html -->
|
---|
| 27 | <xsl:output method="html" omit-xml-declaration="yes"/>
|
---|
| 28 |
|
---|
| 29 | <xsl:template match="/">
|
---|
| 30 | <xsl:call-template name="mainTemplate"/>
|
---|
| 31 | </xsl:template>
|
---|
| 32 |
|
---|
| 33 | <!-- the main layout is defined here -->
|
---|
| 34 | <xsl:template name="mainTemplate">
|
---|
| 35 |
|
---|
| 36 | <html>
|
---|
| 37 |
|
---|
| 38 | <head>
|
---|
| 39 | <!-- ***** in header.xsl ***** -->
|
---|
| 40 | <xsl:call-template name="create-html-header"/>
|
---|
| 41 | <xsl:call-template name="basketHeadTags"/>
|
---|
| 42 | <style>
|
---|
| 43 | body { background-color: white; }
|
---|
| 44 | </style>
|
---|
| 45 | </head>
|
---|
| 46 |
|
---|
| 47 | <body><xsl:call-template name="textDirectionAttribute"/><xsl:call-template name="actionClass"/>
|
---|
| 48 |
|
---|
| 49 | <!--<xsl:call-template name="displayErrorsIfAny"/>-->
|
---|
| 50 | <a name="top"><xsl:text> </xsl:text></a>
|
---|
| 51 |
|
---|
| 52 |
|
---|
| 53 | <iframe src="sites/{$site_name}/iframe/wmtb-header.html"
|
---|
| 54 | style="positionXXXX: absolute; height: 500px; border: none; width: 100%">
|
---|
| 55 | <gsf:comment>filler</gsf:comment>
|
---|
| 56 | </iframe>
|
---|
| 57 |
|
---|
| 58 | <div id="topArea" class="ui-state-default ui-corner-top">
|
---|
| 59 | <table>
|
---|
| 60 | <tbody>
|
---|
| 61 | <tr>
|
---|
| 62 | <td><div id="breadcrumbs"><xsl:call-template name="breadcrumbs"/><xsl:text> </xsl:text></div></td>
|
---|
| 63 |
|
---|
| 64 | <!-- ***** in header.xsl ***** -->
|
---|
| 65 | <td><xsl:call-template name="home-help-preferences"/></td>
|
---|
| 66 | </tr>
|
---|
| 67 | </tbody>
|
---|
| 68 | </table>
|
---|
| 69 | </div>
|
---|
| 70 |
|
---|
| 71 | <div id="container" class="ui-corner-all">
|
---|
| 72 |
|
---|
| 73 | <!-- ***** in header.xsl ***** -->
|
---|
| 74 | <xsl:call-template name="create-banner"/>
|
---|
| 75 |
|
---|
| 76 | <xsl:if test="/page/pageRequest/paramList/param[(@name='formatedit') and (@value='on')]">
|
---|
| 77 | <xsl:call-template name="formatmanagerpre"/>
|
---|
| 78 | </xsl:if>
|
---|
| 79 |
|
---|
| 80 | <div id="gs_content" class="ui-widget-content">
|
---|
| 81 | <!--
|
---|
| 82 | show the content of the page.
|
---|
| 83 | to customise this part, edit the xsl file for the page you want to edit
|
---|
| 84 | -->
|
---|
| 85 | <xsl:apply-templates select="/page"/>
|
---|
| 86 |
|
---|
| 87 | </div>
|
---|
| 88 |
|
---|
| 89 | <xsl:call-template name="gs_footer"/>
|
---|
| 90 | </div>
|
---|
| 91 |
|
---|
| 92 | <iframe src="sites/{$site_name}/iframe/wmtb-footer.html"
|
---|
| 93 | style="positionXXXX: absolute; height: 390px; border: none; width: 100%">
|
---|
| 94 | <gsf:comment>filler</gsf:comment>
|
---|
| 95 | </iframe>
|
---|
| 96 |
|
---|
| 97 | </body>
|
---|
| 98 | </html>
|
---|
| 99 | </xsl:template>
|
---|
| 100 |
|
---|
| 101 | <!-- Template controlling the footer. -->
|
---|
| 102 | <xsl:template name="gs_footer">
|
---|
| 103 | <div id="gs_footer" class="ui-widget-header ui-corner-bottom">
|
---|
| 104 | <a href="http://www.greenstone.org"><gslib:poweredByGS3TextBar/></a>
|
---|
| 105 | </div>
|
---|
| 106 | </xsl:template>
|
---|
| 107 |
|
---|
| 108 |
|
---|
| 109 |
|
---|
| 110 | </xsl:stylesheet>
|
---|