[26461] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[23989] | 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 | xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
|
---|
| 6 | xmlns:gslib="http://www.greenstone.org/skinning"
|
---|
[25001] | 7 | xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
|
---|
[23989] | 8 | extension-element-prefixes="java util"
|
---|
[25001] | 9 | exclude-result-prefixes="java util gsf">
|
---|
[23989] | 10 |
|
---|
| 11 | <xsl:include href="../query-common.xsl"/>
|
---|
[24458] | 12 | <xsl:include href="../javascript-global-setup.xsl"/>
|
---|
[23989] | 13 |
|
---|
| 14 | <!-- If the c parameter is empty then use the p.c parameter for the collection name-->
|
---|
| 15 | <xsl:variable name="collNameChecked">
|
---|
| 16 | <xsl:choose>
|
---|
| 17 | <xsl:when test="$collName = '' and /page/pageRequest/paramList/param[@name='p.c']/@value">
|
---|
| 18 | <xsl:value-of select="/page/pageRequest/paramList/param[@name='p.c']/@value"/>
|
---|
| 19 | </xsl:when>
|
---|
| 20 | <xsl:otherwise>
|
---|
| 21 | <xsl:value-of select="$collName"/>
|
---|
| 22 | </xsl:otherwise>
|
---|
| 23 | </xsl:choose>
|
---|
| 24 | </xsl:variable>
|
---|
| 25 |
|
---|
[24149] | 26 | <!-- Creates a header for the html page -->
|
---|
[23989] | 27 | <xsl:template name="create-html-header">
|
---|
[25436] | 28 | <base>
|
---|
| 29 | <xsl:attribute name="href">
|
---|
| 30 | <xsl:choose>
|
---|
[26149] | 31 | <xsl:when test="/page/pageResponse/metadataList/metadata[@name = 'siteURL']">
|
---|
| 32 | <xsl:value-of select="/page/pageResponse/metadataList/metadata[@name = 'siteURL']"/>
|
---|
[25436] | 33 | </xsl:when>
|
---|
| 34 | <xsl:when test="/page/pageRequest/@baseURL">
|
---|
| 35 | <xsl:value-of select="/page/pageRequest/@baseURL"/>
|
---|
| 36 | </xsl:when>
|
---|
| 37 | </xsl:choose>
|
---|
| 38 | </xsl:attribute>
|
---|
| 39 | </base>
|
---|
[25360] | 40 | <xsl:comment>[if lte IE 6]></base><![endif]</xsl:comment>
|
---|
[25278] | 41 |
|
---|
[23989] | 42 | <title><xsl:call-template name="pageTitle"/> :: <xsl:call-template name="siteName"/></title>
|
---|
[25123] | 43 |
|
---|
[26502] | 44 | <xsl:if test="/page/pageRequest/@action ='d'">
|
---|
| 45 |
|
---|
| 46 | <xsl:variable name="myMetadataHeader" select="/page/pageResponse/format/gsf:headMetaTags/gsf:metadata"/>
|
---|
| 47 | <xsl:for-each select="$myMetadataHeader">
|
---|
| 48 | <xsl:variable name="metaname" select="@name"/>
|
---|
| 49 |
|
---|
| 50 | <xsl:variable name="metavals"
|
---|
| 51 | select="/page/pageResponse/document/metadataList/metadata[@name = $metaname]|/page/pageResponse/document/documentNode/metadataList/metadata[@name = $metaname]"/>
|
---|
| 52 | <xsl:for-each select="$metavals">
|
---|
| 53 | <META NAME="{$metaname}" CONTENT="{.}"/>
|
---|
| 54 | </xsl:for-each>
|
---|
| 55 | </xsl:for-each>
|
---|
| 56 |
|
---|
| 57 | </xsl:if>
|
---|
| 58 |
|
---|
[25123] | 59 | <xsl:choose>
|
---|
| 60 | <xsl:when test="/page/pageResponse/interfaceOptions/option[@name = 'cssTheme']/@value">
|
---|
[25142] | 61 | <!-- Get the theme from the interfaceConfig.xml file -->
|
---|
[25123] | 62 | <link rel="stylesheet" href="{/page/pageResponse/interfaceOptions/option[@name = 'cssTheme']/@value}" type="text/css"/>
|
---|
| 63 | </xsl:when>
|
---|
| 64 | <xsl:otherwise>
|
---|
[27083] | 65 | <link rel="stylesheet" href="interfaces/{$interface_name}/style/themes/main/jquery-ui-1.8.16.custom.css" type="text/css"/>
|
---|
[25123] | 66 | </xsl:otherwise>
|
---|
| 67 | </xsl:choose>
|
---|
[23989] | 68 | <link rel="stylesheet" href="interfaces/{$interface_name}/style/core.css" type="text/css"/>
|
---|
[26145] | 69 | <link rel="shortcut icon" href="interfaces/{$interface_name}/images/favicon.ico"/>
|
---|
[24458] | 70 |
|
---|
[25759] | 71 | <script type="text/javascript" src="interfaces/{$interface_name}/js/jquery.min.js"><xsl:text> </xsl:text></script>
|
---|
[27171] | 72 | <script type="text/javascript" src="interfaces/{$interface_name}/js/jquery-ui-1.10.2.custom/js/jquery-ui-1.10.2.custom.min.js"><xsl:text> </xsl:text></script>
|
---|
[25001] | 73 | <script type="text/javascript" src="interfaces/{$interface_name}/js/jquery.themeswitcher.min.js"><xsl:text> </xsl:text></script>
|
---|
[26305] | 74 | <script type="text/javascript" src="interfaces/{$interface_name}/js/jquery.blockUI.js"><xsl:text> </xsl:text></script>
|
---|
[26614] | 75 | <script type="text/javascript" src="interfaces/{$interface_name}/js/ace/ace.js"><xsl:text> </xsl:text></script>
|
---|
[25001] | 76 |
|
---|
[25177] | 77 | <script type="text/javascript" src="interfaces/{$interface_name}/js/zoomer.js"><xsl:text> </xsl:text></script>
|
---|
[25686] | 78 |
|
---|
[25001] | 79 | <xsl:if test="/page/pageResponse/format[@type='display' or @type='browse' or @type='search']/gsf:option[@name='mapEnabled']/@value = 'true'">
|
---|
[26871] | 80 | <xsl:call-template name="map-scripts"/>
|
---|
[25001] | 81 | </xsl:if>
|
---|
[25142] | 82 |
|
---|
[26871] | 83 | <xsl:if test="/page/pageResponse/format/gsf:option[@name='mapEnabledOpenLayers']/@value = 'true'">
|
---|
| 84 | <xsl:call-template name="openlayers-map-scripts"/>
|
---|
| 85 | </xsl:if>
|
---|
| 86 |
|
---|
| 87 |
|
---|
| 88 | <xsl:if test="/page/pageResponse/format/gsf:option[@name='panoramaViewerEnabled']/@value = 'true'">
|
---|
| 89 | <xsl:call-template name="panoramaViewer-scripts"/>
|
---|
| 90 | </xsl:if>
|
---|
| 91 |
|
---|
[28231] | 92 | <xsl:if test="/page/pageRequest/userInformation and /page/pageRequest/userInformation/@editEnabled = 'true' and (util:contains(/page/pageRequest/userInformation/@groups, 'administrator') or util:contains(/page/pageRequest/userInformation/@groups, 'all-collections-editor') or util:contains(/page/pageRequest/userInformation/@groups, $thisCollectionEditor))">
|
---|
[27067] | 93 | <xsl:if test="/page/pageRequest/paramList/param[(@name='docEdit') and (@value='on' or @value='true' or @value='1')]">
|
---|
[29861] | 94 | <script type="text/javascript" src="interfaces/{$interface_name}/js/ckeditor/ckeditor.js" defer="true"><xsl:text> </xsl:text></script>
|
---|
| 95 | <!-- <xsl:call-template name="init-direct-edit"/> -->
|
---|
[27067] | 96 | </xsl:if>
|
---|
| 97 | <script type="text/javascript" src="interfaces/{$interface_name}/js/debug_scripts.js"><xsl:text> </xsl:text></script>
|
---|
[26936] | 98 | <script type="text/javascript" src="interfaces/{$interface_name}/js/visual-xml-editor.js"><xsl:text> </xsl:text></script>
|
---|
[25177] | 99 | </xsl:if>
|
---|
[26461] | 100 |
|
---|
[24458] | 101 | <xsl:call-template name="setup-gs-variable"/>
|
---|
[26503] | 102 | <xsl:call-template name="define-js-macro-variables"/>
|
---|
[26502] | 103 |
|
---|
[24781] | 104 | <xsl:call-template name="additionalHeaderContent"/>
|
---|
[23989] | 105 | </xsl:template>
|
---|
[24781] | 106 |
|
---|
[29169] | 107 | <!-- This template allows for extra header content to be added by interface, site and collection. -->
|
---|
[24781] | 108 | <xsl:template name="additionalHeaderContent">
|
---|
[29169] | 109 | <xsl:call-template name="additionalHeaderContent-interface"/>
|
---|
| 110 | <xsl:call-template name="additionalHeaderContent-site"/>
|
---|
| 111 | <xsl:call-template name="additionalHeaderContent-collection"/>
|
---|
[24781] | 112 | </xsl:template>
|
---|
[29169] | 113 | <!-- This template should be overridden in header.xsl of a new interface file if you want to add extra header content -->
|
---|
| 114 | <xsl:template name="additionalHeaderContent-interface">
|
---|
| 115 | </xsl:template>
|
---|
| 116 | <!-- This template should be overridden in the header.xsl file in a site's transform directory if you want to add site specific headers -->
|
---|
| 117 | <xsl:template name="additionalHeaderContent-site">
|
---|
| 118 | </xsl:template>
|
---|
| 119 | <!-- This template should be overridden in the collectionConfig.xml file if you want to add extra header content -->
|
---|
| 120 | <xsl:template name="additionalHeaderContent-collection">
|
---|
| 121 | </xsl:template>
|
---|
[30428] | 122 |
|
---|
[25142] | 123 | <xsl:template name="init-direct-edit">
|
---|
[30478] | 124 | <!-- might be worth moving loading the JS file to earlier, to give time to load -->
|
---|
| 125 | <script type="text/javascript" src="interfaces/{$interface_name}/js/direct-edit.js"><xsl:text> </xsl:text></script>
|
---|
[24653] | 126 | <script type="text/javascript">
|
---|
[30478] | 127 | <xsl:text disable-output-escaping="yes">
|
---|
| 128 | $(document).ready(function() {
|
---|
[25142] | 129 | de.onready(function()
|
---|
| 130 | {
|
---|
[26461] | 131 | try
|
---|
[25142] | 132 | {
|
---|
[24653] | 133 | de.init();
|
---|
| 134 | }
|
---|
[25142] | 135 | catch (err)
|
---|
| 136 | {
|
---|
[25001] | 137 | alert("Seaweed failed to initialise: " + err.message);
|
---|
[24653] | 138 | }
|
---|
| 139 | });
|
---|
[30478] | 140 | });
|
---|
[24653] | 141 | </xsl:text>
|
---|
| 142 | </script>
|
---|
[29861] | 143 | </xsl:template>
|
---|
[30428] | 144 |
|
---|
[24653] | 145 |
|
---|
[23989] | 146 | <!-- ***** HEADER LAYOUT TEMPLATE ***** -->
|
---|
[25001] | 147 | <xsl:template name="create-banner">
|
---|
| 148 | <div id="gs_banner" class="ui-widget-header ui-corner-bottom">
|
---|
[26028] | 149 | <div id="titlesearchcontainer">
|
---|
| 150 | <xsl:call-template name="page-title-area"/>
|
---|
| 151 | <xsl:call-template name="quick-search-area"/>
|
---|
| 152 | <div style="clear:both;"><xsl:text> </xsl:text></div>
|
---|
| 153 | </div>
|
---|
[25001] | 154 | <xsl:call-template name="browsing-tabs"/>
|
---|
| 155 | </div>
|
---|
[23989] | 156 | </xsl:template>
|
---|
| 157 |
|
---|
[30559] | 158 | <xsl:template name="additionalNavTabs">
|
---|
| 159 | <xsl:for-each select="/page/pageResponse/collection[@name=$collNameChecked]/extraInfo/navigationTab">
|
---|
| 160 | <li>
|
---|
| 161 | <xsl:choose>
|
---|
| 162 | <!-- if we are in frame type and this is the current page, colour it differently-->
|
---|
| 163 | <xsl:when test="@type='frame' and /page/pageRequest[@subaction='html'] and /page/pageRequest/paramList/param[@name='url']/@value = @url">
|
---|
| 164 | <xsl:attribute name='class'>ui-state-default ui-corner-top ui-tabs-selected ui-state-active</xsl:attribute>
|
---|
| 165 | </xsl:when>
|
---|
| 166 | <xsl:otherwise>
|
---|
| 167 | <xsl:attribute name="class">ui-state-default ui-corner-top</xsl:attribute>
|
---|
| 168 | </xsl:otherwise>
|
---|
| 169 | </xsl:choose>
|
---|
| 170 | <a>
|
---|
| 171 | <xsl:if test="displayItem[@name='description']">
|
---|
| 172 | <xsl:attribute name='title'><xsl:value-of select="displayItem[@name='description']"/></xsl:attribute>
|
---|
| 173 | </xsl:if>
|
---|
| 174 | <xsl:choose>
|
---|
| 175 | <xsl:when test="@type='external-link'">
|
---|
| 176 | <xsl:attribute name="href"><xsl:value-of select="@url"/></xsl:attribute>
|
---|
| 177 | </xsl:when>
|
---|
| 178 | <xsl:when test="@type='frame'">
|
---|
| 179 | <xsl:attribute name="href"><xsl:value-of select="$library_name"/>/collection/<xsl:value-of select="/page/pageResponse/collection[@name=$collNameChecked]/@name"/>/page/html?url=<xsl:value-of select="@url"/></xsl:attribute>
|
---|
| 180 | </xsl:when>
|
---|
| 181 | </xsl:choose>
|
---|
| 182 | <xsl:choose>
|
---|
| 183 | <xsl:when test="displayItem[@name='name']">
|
---|
| 184 | <xsl:value-of select="displayItem[@name='name']"/>
|
---|
| 185 | </xsl:when>
|
---|
| 186 | <xsl:otherwise>link</xsl:otherwise>
|
---|
| 187 | </xsl:choose>
|
---|
| 188 | </a>
|
---|
| 189 | </li>
|
---|
| 190 | </xsl:for-each>
|
---|
| 191 |
|
---|
| 192 | </xsl:template>
|
---|
[23989] | 193 | <!-- ***** BROWSING TABS ***** -->
|
---|
| 194 | <xsl:template name="browsing-tabs">
|
---|
[30559] | 195 | <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service or /page/pageResponse/collection[@name=$collNameChecked]/extraInfo/navigationTab">
|
---|
[25935] | 196 | <ul id="gs-nav">
|
---|
[30559] | 197 | <!-- if this collection has additional tabs, add them here -->
|
---|
| 198 | <xsl:call-template name="additionalNavTabs"/>
|
---|
[23989] | 199 | <!-- If this collection has a ClassifierBrowse service then add a tab for each classifier-->
|
---|
| 200 | <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@type='browse' and @name='ClassifierBrowse']">
|
---|
| 201 | <!-- Loop through each classifier -->
|
---|
| 202 | <xsl:for-each select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='ClassifierBrowse']/classifierList/classifier">
|
---|
[25001] | 203 | <li>
|
---|
| 204 | <xsl:choose>
|
---|
| 205 | <!-- If this tab is selected then colour it differently -->
|
---|
[25686] | 206 | <xsl:when test="util:contains(/page/pageRequest/paramList/param[@name = 'cl' and /page/pageRequest/@action = 'b']/@value, @name)">
|
---|
[25001] | 207 | <xsl:attribute name='class'>ui-state-default ui-corner-top ui-tabs-selected ui-state-active</xsl:attribute>
|
---|
| 208 | </xsl:when>
|
---|
| 209 | <xsl:otherwise>
|
---|
| 210 | <xsl:attribute name='class'>ui-state-default ui-corner-top</xsl:attribute>
|
---|
| 211 | </xsl:otherwise>
|
---|
| 212 | </xsl:choose>
|
---|
[23989] | 213 |
|
---|
[25001] | 214 | <a>
|
---|
[23989] | 215 | <!-- Add a title element to the <a> tag if a description exists for this classifier -->
|
---|
| 216 | <xsl:if test="displayItem[@name='description']">
|
---|
| 217 | <xsl:attribute name='title'><xsl:value-of select="displayItem[@name='description']"/></xsl:attribute>
|
---|
| 218 | </xsl:if>
|
---|
| 219 |
|
---|
| 220 | <!-- Add the href element to the <a> tag -->
|
---|
| 221 | <xsl:choose>
|
---|
| 222 | <xsl:when test="@name">
|
---|
[25436] | 223 | <xsl:attribute name="href"><xsl:value-of select="$library_name"/>/collection/<xsl:value-of select="/page/pageResponse/collection[@name=$collNameChecked]/@name"/>/browse/<xsl:value-of select="@name"/></xsl:attribute>
|
---|
[23989] | 224 | </xsl:when>
|
---|
| 225 | <xsl:otherwise>
|
---|
[25436] | 226 | <xsl:attribute name="href"><xsl:value-of select="$library_name"/>/collection/<xsl:value-of select="/page/pageResponse/collection[@name=$collNameChecked]/@name"/>/browse/1</xsl:attribute>
|
---|
[23989] | 227 | </xsl:otherwise>
|
---|
| 228 | </xsl:choose>
|
---|
| 229 |
|
---|
| 230 | <!-- Add the actual text of the <a> tag -->
|
---|
| 231 | <xsl:value-of select="displayItem[@name='name']"/>
|
---|
[25001] | 232 | </a>
|
---|
| 233 | </li>
|
---|
[23989] | 234 | </xsl:for-each>
|
---|
| 235 | </xsl:if>
|
---|
| 236 |
|
---|
[26133] | 237 | <!-- PhindApplet. Need something similar for the Collage applet too, probably -->
|
---|
| 238 | <xsl:for-each select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='PhindApplet']">
|
---|
| 239 | <li>
|
---|
| 240 | <xsl:choose>
|
---|
| 241 | <!-- If this tab is selected then colour it differently -->
|
---|
| 242 | <xsl:when test="/page/pageRequest[@action='a']">
|
---|
| 243 | <xsl:attribute name='class'>ui-state-default ui-corner-top ui-tabs-selected ui-state-active</xsl:attribute>
|
---|
| 244 | </xsl:when>
|
---|
| 245 | <xsl:otherwise>
|
---|
| 246 | <xsl:attribute name='class'>ui-state-default ui-corner-top</xsl:attribute>
|
---|
| 247 | </xsl:otherwise>
|
---|
| 248 | </xsl:choose>
|
---|
| 249 |
|
---|
| 250 | <a>
|
---|
| 251 | <xsl:if test="displayItem[@name='description']">
|
---|
| 252 | <xsl:attribute name="title">
|
---|
| 253 | <xsl:value-of select="displayItem[@name='description']"/>
|
---|
| 254 | </xsl:attribute>
|
---|
| 255 | </xsl:if>
|
---|
| 256 | <xsl:attribute name="href"><xsl:value-of select="$library_name"/>?a=a&rt=d&s=<xsl:value-of select="@name"/>&c=<xsl:value-of select="/page/pageResponse/collection/@name"/></xsl:attribute>
|
---|
| 257 | <xsl:value-of select="displayItem[@name='name']"/>
|
---|
| 258 | </a>
|
---|
| 259 | </li>
|
---|
| 260 | </xsl:for-each>
|
---|
| 261 |
|
---|
[23989] | 262 | <!-- all other services -->
|
---|
[26133] | 263 | <xsl:for-each select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[not(@type='query') and not(@type='browse') and not (@name='PhindApplet')]">
|
---|
[23989] | 264 | <xsl:call-template name="navigationTab"/>
|
---|
| 265 | </xsl:for-each>
|
---|
| 266 | </ul>
|
---|
[26284] | 267 | <div style="clear:both;"><xsl:text> </xsl:text></div>
|
---|
[23989] | 268 | </xsl:if>
|
---|
| 269 | </xsl:template>
|
---|
| 270 |
|
---|
[25001] | 271 | <!-- ***** HOME HELP PREFERENCES LOGIN ***** -->
|
---|
[23989] | 272 | <xsl:template name="home-help-preferences">
|
---|
[25278] | 273 | <ul id="bannerLinks">
|
---|
[27152] | 274 |
|
---|
| 275 | <!-- RSS feed link can appear in a global format statement (where it has no type attribute)
|
---|
| 276 | or in section specific format statements, such as browse, search, display.
|
---|
| 277 | If it's present in any format statement, display the RSS link in the bannerlinks section. -->
|
---|
| 278 | <xsl:if test="/page/pageResponse/format[@type='display' or @type='browse' or @type='search' or not(@type)]/gsf:option[@name='RSS']/@value = 'true'">
|
---|
[27101] | 279 | <li><gsf:link type="rss"><gsf:icon file="rssicon.png"/></gsf:link></li>
|
---|
| 280 | </xsl:if>
|
---|
[27152] | 281 |
|
---|
[25278] | 282 | <!-- preferences -->
|
---|
[28050] | 283 | <li>
|
---|
[25436] | 284 | <a href="{$library_name}/collection/{$collNameChecked}/page/pref">
|
---|
[25278] | 285 | <xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'pref_tip')"/></xsl:attribute>
|
---|
[28050] | 286 | <span id="preferencesButton"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'pref_b')"/></span>
|
---|
| 287 | <script type="text/javascript">
|
---|
| 288 | <xsl:text disable-output-escaping="yes">
|
---|
| 289 | $("#preferencesButton").button({icons:{primary:"ui-icon-wrench"}});
|
---|
| 290 | $("#preferencesButton .ui-button-text").css({"padding-top":"0px", "padding-bottom":"3px"});
|
---|
| 291 | </xsl:text>
|
---|
| 292 | </script>
|
---|
[25278] | 293 | </a>
|
---|
| 294 | </li>
|
---|
[23989] | 295 |
|
---|
[25278] | 296 | <!-- help -->
|
---|
[30154] | 297 | <!--<li>
|
---|
[25436] | 298 | <a href="{$library_name}/collection/{$collNameChecked}/page/help">
|
---|
[25278] | 299 | <xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_tip')"/></xsl:attribute>
|
---|
[28050] | 300 | <span id="helpButton"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_b')"/></span>
|
---|
| 301 | <script type="text/javascript">
|
---|
| 302 | <xsl:text disable-output-escaping="yes">
|
---|
| 303 | $("#helpButton").button({icons:{primary:"ui-icon-help"}});
|
---|
| 304 | $("#helpButton .ui-button-text").css({"padding-top":"0px", "padding-bottom":"3px"});
|
---|
| 305 | </xsl:text>
|
---|
| 306 | </script>
|
---|
[25278] | 307 | </a>
|
---|
[30154] | 308 | </li>-->
|
---|
[25278] | 309 |
|
---|
| 310 | <!-- login/logout -->
|
---|
[28050] | 311 | <li id="userMenuButton">
|
---|
[25278] | 312 | <xsl:choose>
|
---|
| 313 | <xsl:when test="/page/pageRequest/userInformation/@username">
|
---|
| 314 | <a>
|
---|
| 315 | <xsl:attribute name="href">javascript:toggleUserMenu();</xsl:attribute>
|
---|
| 316 | <script type="text/javascript">
|
---|
| 317 | <xsl:text disable-output-escaping="yes">
|
---|
| 318 | function toggleUserMenu()
|
---|
| 319 | {
|
---|
| 320 | var button = $("#userMenuButton");
|
---|
| 321 | var menu;
|
---|
[23989] | 322 |
|
---|
[25278] | 323 | if(button.data("userMenu"))
|
---|
| 324 | {
|
---|
| 325 | menu = button.data("userMenu");
|
---|
| 326 | if(menu.css("display") == "block")
|
---|
| 327 | {
|
---|
| 328 | menu.hide();
|
---|
| 329 | }
|
---|
| 330 | else
|
---|
| 331 | {
|
---|
| 332 | menu.show();
|
---|
| 333 | }
|
---|
| 334 | }
|
---|
| 335 | else
|
---|
| 336 | {
|
---|
| 337 | menu = $("<UL>")
|
---|
| 338 | .css("position", "absolute")
|
---|
| 339 | .css("display", "block")
|
---|
| 340 | .css("z-index", "100")
|
---|
| 341 | .css("list-style", "none outside none")
|
---|
[28278] | 342 | .css("margin", "0px")
|
---|
[25278] | 343 | .css("padding", "0px")
|
---|
| 344 | .css("font-size", "90%");
|
---|
[26120] | 345 |
|
---|
| 346 | menu.attr("id", "userMenu");
|
---|
[25278] | 347 |
|
---|
| 348 | button.data("userMenu", menu);
|
---|
| 349 |
|
---|
| 350 | var settingsLink = $("<a>")
|
---|
| 351 | .attr("href", gs.xsltParams.library_name + "/admin/AccountSettings?s1.username=</xsl:text><xsl:value-of select="/page/pageRequest/userInformation/@username"/><xsl:text disable-output-escaping="yes">");
|
---|
| 352 | var settingsButton = $("<LI>")
|
---|
| 353 | .css("padding", "3px")
|
---|
| 354 | .html("Account settings")
|
---|
| 355 | .addClass("ui-state-default");
|
---|
| 356 | settingsLink.append(settingsButton);
|
---|
[28231] | 357 |
|
---|
| 358 | var editingLink = $("<a>")
|
---|
| 359 | .attr("href", "javascript:;");
|
---|
| 360 | var editingButton = $("<LI>")
|
---|
| 361 | .css("padding", "3px")
|
---|
| 362 | .html((gs.userInformation.editEnabled == "true") ? "Disable edit mode" : "Enable edit mode")
|
---|
| 363 | .addClass("ui-state-default")
|
---|
| 364 | .click(function()
|
---|
| 365 | {
|
---|
| 366 | var url = gs.xsltParams.library_name + "?a=g&rt=ro&s=ChangeUserEditMode&s1.username=" + gs.userInformation.username + "&s1.enabled=" + ((gs.userInformation.editEnabled == "true") ? "false" : "true");
|
---|
| 367 | $.ajax(url)
|
---|
| 368 | .success(function(response)
|
---|
| 369 | {
|
---|
| 370 | location.reload();
|
---|
| 371 | });
|
---|
| 372 | });
|
---|
| 373 | editingLink.append(editingButton);
|
---|
[25278] | 374 |
|
---|
| 375 | var url = document.URL;
|
---|
| 376 | var hasQueryString = (url.indexOf("?") != -1);
|
---|
| 377 | var hashIndex = url.indexOf("#");
|
---|
| 378 |
|
---|
| 379 | var hashPart;
|
---|
| 380 | if(hashIndex != -1)
|
---|
| 381 | {
|
---|
| 382 | hashPart = url.substring(hashIndex);
|
---|
| 383 | url = url.substring(0, hashIndex);
|
---|
| 384 | }
|
---|
| 385 |
|
---|
| 386 | var logoutLink = $("<a>")
|
---|
| 387 | .attr("href", url + (hasQueryString ? "&" : "?") + "logout=" + (hashPart ? hashPart : ""));
|
---|
| 388 | var logoutButton = $("<LI>")
|
---|
| 389 | .css("padding", "3px")
|
---|
| 390 | .html("Logout")
|
---|
| 391 | .addClass("ui-state-default");
|
---|
| 392 | logoutLink.append(logoutButton);
|
---|
| 393 |
|
---|
| 394 | menu.append(settingsLink);
|
---|
[28231] | 395 | menu.append(editingLink);
|
---|
[25278] | 396 | menu.append(logoutLink);
|
---|
| 397 |
|
---|
| 398 | var buttonLeft = button.offset().left;
|
---|
| 399 | var buttonTop = button.offset().top;
|
---|
[28278] | 400 |
|
---|
[25278] | 401 | var buttonHeight = button.height();
|
---|
| 402 |
|
---|
| 403 | menu.offset({top: buttonTop + buttonHeight + 4, left: buttonLeft});
|
---|
| 404 | $("#topArea").append(menu);
|
---|
| 405 | }
|
---|
| 406 | }
|
---|
| 407 | </xsl:text>
|
---|
| 408 | </script>
|
---|
[28050] | 409 | <span id="loginButton"><xsl:value-of select="/page/pageRequest/userInformation/@username"/></span>
|
---|
| 410 | <script type="text/javascript">
|
---|
| 411 | <xsl:text disable-output-escaping="yes">
|
---|
| 412 | $("#loginButton").button({icons:{primary:"ui-icon-unlocked"}});
|
---|
| 413 | $("#loginButton .ui-button-text").css({"padding-top":"0px", "padding-bottom":"3px"});
|
---|
| 414 | </xsl:text>
|
---|
| 415 | </script>
|
---|
[25278] | 416 | </a>
|
---|
| 417 | </xsl:when>
|
---|
| 418 | <xsl:otherwise>
|
---|
| 419 | <a>
|
---|
| 420 | <xsl:attribute name="href">
|
---|
| 421 | <xsl:value-of select="$library_name"/>
|
---|
| 422 | <xsl:text>?a=p&sa=login&redirectURL=</xsl:text>
|
---|
| 423 | <xsl:value-of select="$library_name"/>
|
---|
| 424 | <xsl:text>%3F</xsl:text>
|
---|
| 425 | <xsl:if test="/page/pageRequest/@action">
|
---|
| 426 | <xsl:text>a=</xsl:text>
|
---|
| 427 | <xsl:value-of select="/page/pageRequest/@action"/>
|
---|
| 428 | </xsl:if>
|
---|
| 429 | <xsl:if test="/page/pageRequest/@subaction">
|
---|
| 430 | <xsl:text>%26sa=</xsl:text>
|
---|
| 431 | <xsl:value-of select="/page/pageRequest/@subaction"/>
|
---|
| 432 | </xsl:if>
|
---|
| 433 | <xsl:for-each select="/page/pageRequest/paramList/param">
|
---|
| 434 | <xsl:if test="@name != 'password' and @name != 's1.password' and @name != 's1.newPassword' and @name != 's1.oldPassword'">
|
---|
[25123] | 435 | <xsl:text>%26</xsl:text>
|
---|
| 436 | <xsl:value-of select="@name"/>
|
---|
| 437 | <xsl:text>=</xsl:text>
|
---|
| 438 | <xsl:value-of select="@value"/>
|
---|
[25278] | 439 | </xsl:if>
|
---|
| 440 | </xsl:for-each>
|
---|
| 441 | </xsl:attribute>
|
---|
| 442 | <xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'login_tip')"/></xsl:attribute>
|
---|
[28050] | 443 | <span id="loginButton"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'login_b')"/></span>
|
---|
| 444 | <script type="text/javascript">
|
---|
| 445 | <xsl:text disable-output-escaping="yes">
|
---|
| 446 | $("#loginButton").button({icons:{primary:"ui-icon-locked"}});
|
---|
| 447 | $("#loginButton .ui-button-text").css({"padding-top":"0px", "padding-bottom":"3px"});
|
---|
| 448 | </xsl:text>
|
---|
| 449 | </script>
|
---|
[25278] | 450 | </a>
|
---|
| 451 | </xsl:otherwise>
|
---|
| 452 | </xsl:choose>
|
---|
| 453 | </li>
|
---|
[25469] | 454 | <!-- debuginfo (doesn't use class="ui-state-error" since the text is not legible due to inherited text-colour) -->
|
---|
[29433] | 455 | <xsl:if test="/page/pageRequest/paramList/param[(@name='debug') and (@value='on' or @value='true' or @value='1' or @value='yes')]">
|
---|
[28050] | 456 | <li>
|
---|
| 457 | <a href="{$library_name}/collection/{$collNameChecked}/page/debug">
|
---|
| 458 | <xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'debuginfo_tip')"/></xsl:attribute>
|
---|
| 459 | <span id="debugButton"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'debuginfo_b')"/></span>
|
---|
| 460 | <script type="text/javascript">
|
---|
| 461 | <xsl:text disable-output-escaping="yes">
|
---|
| 462 | $("#debugButton").button({icons:{primary:"ui-icon-info"}});
|
---|
| 463 | $("#debugButton .ui-button-text").css({"padding-top":"0px", "padding-bottom":"3px"});
|
---|
| 464 | </xsl:text>
|
---|
| 465 | </script>
|
---|
| 466 | </a>
|
---|
| 467 | </li>
|
---|
[25457] | 468 | </xsl:if>
|
---|
[25278] | 469 | </ul>
|
---|
[23989] | 470 | </xsl:template>
|
---|
| 471 |
|
---|
| 472 | <!-- ***** PAGE TITLE ***** -->
|
---|
| 473 | <xsl:template name="page-title-area">
|
---|
| 474 | <xsl:variable name="pageTitleVar"><xsl:call-template name="pageTitle"/></xsl:variable>
|
---|
[26028] | 475 | <div id="titlearea">
|
---|
[23989] | 476 | <h2>
|
---|
[24420] | 477 | <!-- Resize the title based on how long it is (There's probably a better way to do this) -->
|
---|
[23989] | 478 | <xsl:attribute name="style">
|
---|
| 479 | <xsl:choose>
|
---|
| 480 | <xsl:when test="string-length($pageTitleVar) < 20">
|
---|
[25001] | 481 | <xsl:text>font-size: 1.5em;</xsl:text>
|
---|
[23989] | 482 | </xsl:when>
|
---|
| 483 | <xsl:when test="string-length($pageTitleVar) < 30">
|
---|
[25001] | 484 | <xsl:text>font-size: 1.4em;</xsl:text>
|
---|
[23989] | 485 | </xsl:when>
|
---|
| 486 | <xsl:when test="string-length($pageTitleVar) < 40">
|
---|
[25001] | 487 | <xsl:text>font-size: 1.3em;</xsl:text>
|
---|
[23989] | 488 | </xsl:when>
|
---|
| 489 | <xsl:when test="string-length($pageTitleVar) < 50">
|
---|
[25001] | 490 | <xsl:text>font-size: 1.2em;</xsl:text>
|
---|
[23989] | 491 | </xsl:when>
|
---|
| 492 | <xsl:when test="string-length($pageTitleVar) < 60">
|
---|
[25001] | 493 | <xsl:text>font-size: 1.1em;</xsl:text>
|
---|
[23989] | 494 | </xsl:when>
|
---|
| 495 | <xsl:when test="string-length($pageTitleVar) < 70">
|
---|
[25001] | 496 | <xsl:text>font-size: 1em;</xsl:text>
|
---|
[23989] | 497 | </xsl:when>
|
---|
| 498 | <xsl:when test="string-length($pageTitleVar) < 80">
|
---|
[25001] | 499 | <xsl:text>font-size: 0.9em;</xsl:text>
|
---|
[23989] | 500 | </xsl:when>
|
---|
| 501 | <xsl:when test="string-length($pageTitleVar) < 90">
|
---|
[25001] | 502 | <xsl:text>font-size: 0.8em;</xsl:text>
|
---|
[23989] | 503 | </xsl:when>
|
---|
| 504 | <xsl:otherwise>
|
---|
[25001] | 505 | <xsl:text>font-size: 0.7em;</xsl:text>
|
---|
[23989] | 506 | </xsl:otherwise>
|
---|
| 507 | </xsl:choose>
|
---|
| 508 | </xsl:attribute>
|
---|
| 509 | <!--<xsl:value-of select="string-length($pageTitleVar)" />-->
|
---|
| 510 | <xsl:value-of select="$pageTitleVar" />
|
---|
[26028] | 511 | </h2><xsl:text> </xsl:text>
|
---|
| 512 | </div>
|
---|
[23989] | 513 | </xsl:template>
|
---|
| 514 |
|
---|
| 515 | <!-- ***** QUICK SEARCH AREA ***** -->
|
---|
[25774] | 516 | <!-- Search form should only appear if there's a search (query) service AND it has an index.
|
---|
| 517 | By default, all collections end up with some query service (default is MGPP) even when they have
|
---|
[26057] | 518 | no search indexes, which is why the extra test for the presence of an index/fq-something is necessary. -->
|
---|
[23989] | 519 | <xsl:template name="quick-search-area">
|
---|
[26094] | 520 | <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@type='query']">
|
---|
[23989] | 521 | <xsl:variable name="subaction" select="/page/pageRequest/@subaction"/>
|
---|
[26028] | 522 | <div id="quicksearcharea">
|
---|
[26094] | 523 | <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']">
|
---|
[28623] | 524 | <xsl:choose>
|
---|
| 525 | <xsl:when test="not(page/pageRequest[@action='q']) or /page/pageRequest/paramList/param[@name='qs']/@value = '1'">
|
---|
[26120] | 526 | <form action="{$library_name}/collection/{$collNameChecked}/search/TextQuery">
|
---|
| 527 | <!-- This parameter says that we have come from the quick search area -->
|
---|
| 528 | <input type="hidden" name="qs" value="1"/>
|
---|
| 529 | <input type="hidden" name="rt" value="rd"/>
|
---|
| 530 | <input type="hidden" name="s1.level">
|
---|
| 531 | <xsl:attribute name="value">
|
---|
[26464] | 532 | <xsl:value-of select="/page/pageResponse/collection/serviceList/service[@name='TextQuery']/paramList/param[@name = 'level']/@default"/>
|
---|
[26120] | 533 | </xsl:attribute>
|
---|
| 534 | </input>
|
---|
| 535 | <xsl:choose>
|
---|
| 536 | <xsl:when test="/page/pageResponse/service[@name = 'TextQuery']/paramList/param[@name = 'startPage']">
|
---|
| 537 | <input type="hidden" name="s1.startPage" value="1"/>
|
---|
| 538 | </xsl:when>
|
---|
| 539 | <xsl:otherwise>
|
---|
| 540 | <input type="hidden" name="startPage" value="1"/>
|
---|
| 541 | </xsl:otherwise>
|
---|
| 542 | </xsl:choose>
|
---|
[29554] | 543 |
|
---|
[28623] | 544 | <!-- The query text box -->
|
---|
| 545 | <span class="querybox">
|
---|
| 546 | <xsl:variable name="qs">
|
---|
| 547 | <xsl:apply-templates select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='query']" mode="calculate-default"/>
|
---|
| 548 | </xsl:variable>
|
---|
| 549 | <nobr>
|
---|
| 550 | <xsl:apply-templates select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='query']">
|
---|
[30478] | 551 | <!--
|
---|
| 552 | <xsl:with-param name="default" select="java:org.greenstone.gsdl3.util.XSLTUtil.tidyWhitespace($qs, /page/@lang)"/>
|
---|
| 553 | -->
|
---|
| 554 | <xsl:with-param name="default" select="normalize-space($qs)"/>
|
---|
| 555 |
|
---|
[28623] | 556 | </xsl:apply-templates>
|
---|
| 557 | </nobr>
|
---|
| 558 | </span>
|
---|
[28558] | 559 | <!-- The index selection list -->
|
---|
| 560 | <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='index']/@type = 'enum_single'">
|
---|
| 561 | <span class="textselect">
|
---|
| 562 | <xsl:apply-templates select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='index']">
|
---|
| 563 | <xsl:with-param name="default">
|
---|
| 564 | <xsl:apply-templates select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='index']" mode="calculate-default"/>
|
---|
| 565 | </xsl:with-param>
|
---|
[29314] | 566 | <xsl:with-param name="hideSingle">false</xsl:with-param>
|
---|
[28580] | 567 | <xsl:with-param name="quickSearch">true</xsl:with-param>
|
---|
[28558] | 568 | </xsl:apply-templates>
|
---|
| 569 | </span>
|
---|
| 570 | </xsl:if>
|
---|
[28623] | 571 | <!-- The partition selection list -->
|
---|
| 572 | <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='indexSubcollection']/@type = 'enum_single'">
|
---|
| 573 | <span class="textselect">
|
---|
| 574 | <xsl:apply-templates select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='indexSubcollection']">
|
---|
| 575 | <xsl:with-param name="default">
|
---|
| 576 | <xsl:apply-templates select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='indexSubcollection']" mode="calculate-default"/>
|
---|
| 577 | </xsl:with-param>
|
---|
| 578 | <xsl:with-param name="hideSingle">true</xsl:with-param>
|
---|
| 579 | <xsl:with-param name="quickSearch">true</xsl:with-param>
|
---|
[26120] | 580 | </xsl:apply-templates>
|
---|
[28623] | 581 | </span>
|
---|
[28631] | 582 | </xsl:if>
|
---|
| 583 | <!-- The language selection list -->
|
---|
| 584 | <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='indexLanguage']/@type = 'enum_single'">
|
---|
| 585 | <span class="textselect">
|
---|
| 586 | <xsl:apply-templates select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='indexLanguage']">
|
---|
| 587 | <xsl:with-param name="default">
|
---|
| 588 | <xsl:apply-templates select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='indexLanguage']" mode="calculate-default"/>
|
---|
| 589 | </xsl:with-param>
|
---|
| 590 | <xsl:with-param name="hideSingle">true</xsl:with-param>
|
---|
| 591 | <xsl:with-param name="quickSearch">true</xsl:with-param>
|
---|
| 592 | </xsl:apply-templates>
|
---|
| 593 | </span>
|
---|
| 594 | </xsl:if>
|
---|
[26120] | 595 | <!-- The submit button (for TextQuery) -->
|
---|
| 596 | <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']">
|
---|
| 597 | <input type="submit" id="quickSearchSubmitButton">
|
---|
| 598 | <xsl:attribute name="value">
|
---|
| 599 | <xsl:value-of select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/displayItem[@name='submit']"/>
|
---|
| 600 | </xsl:attribute>
|
---|
| 601 | </input>
|
---|
| 602 | <br/>
|
---|
| 603 | </xsl:if>
|
---|
| 604 | </form>
|
---|
[28623] | 605 | </xsl:when>
|
---|
| 606 | <xsl:otherwise><br/></xsl:otherwise>
|
---|
| 607 | </xsl:choose>
|
---|
[26094] | 608 | </xsl:if>
|
---|
[26120] | 609 | <!-- The list of other search types -->
|
---|
| 610 | <ul>
|
---|
| 611 | <xsl:for-each select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@type='query']">
|
---|
[28623] | 612 | <li>
|
---|
| 613 | <xsl:choose>
|
---|
[28631] | 614 | <xsl:when test="@name = /page/pageRequest/paramList/param[@name='s']/@value and not(/page/pageRequest/paramList/param[@name='qs']/@value = 1)">
|
---|
[28623] | 615 | <xsl:attribute name="class">ui-state-default ui-corner-all ui-state-active</xsl:attribute>
|
---|
| 616 | </xsl:when>
|
---|
| 617 | <xsl:otherwise>
|
---|
| 618 | <xsl:attribute name="class">ui-state-default ui-corner-all</xsl:attribute>
|
---|
| 619 | </xsl:otherwise>
|
---|
| 620 | </xsl:choose>
|
---|
[26120] | 621 | <a>
|
---|
| 622 | <xsl:attribute name="href">
|
---|
| 623 | <xsl:value-of select="$library_name"/>/collection/<xsl:value-of select="$collNameChecked"/>/search/<xsl:value-of select="@name"/>
|
---|
| 624 | </xsl:attribute>
|
---|
| 625 | <xsl:value-of select="displayItem[@name='name']"/>
|
---|
| 626 | </a>
|
---|
| 627 | </li>
|
---|
| 628 | </xsl:for-each>
|
---|
| 629 | </ul>
|
---|
[26028] | 630 | </div>
|
---|
[23989] | 631 | </xsl:if>
|
---|
| 632 | </xsl:template>
|
---|
[25294] | 633 |
|
---|
[25001] | 634 | <xsl:template name="map-scripts">
|
---|
| 635 | <meta content="initial-scale=1.0, user-scalable=no" name="viewport"/>
|
---|
| 636 | <script src="http://maps.googleapis.com/maps/api/js?sensor=false" type="text/javascript"><xsl:text> </xsl:text></script>
|
---|
[25024] | 637 | <script src="interfaces/{$interface_name}/js/map-scripts.js" type="text/javascript"><xsl:text> </xsl:text></script>
|
---|
[25001] | 638 | <script type="text/javascript">$(window).load(initializeMapScripts);</script>
|
---|
| 639 | </xsl:template>
|
---|
[26871] | 640 |
|
---|
| 641 | <xsl:template name="openlayers-map-scripts">
|
---|
| 642 | <script src="interfaces/{interface_name}/js/OpenLayers.js" type="text/javascript"><xsl:text> </xsl:text></script>
|
---|
| 643 | </xsl:template>
|
---|
| 644 |
|
---|
| 645 | <xsl:template name="panoramaViewer-scripts">
|
---|
| 646 | <script src="interfaces/{$interface_name}/js/three45.min.js" type="text/javascript"><xsl:text> </xsl:text></script>
|
---|
| 647 | <script src="interfaces/{$interface_name}/js/Tween.js" type="text/javascript"><xsl:text> </xsl:text></script>
|
---|
| 648 | <script src="interfaces/{$interface_name}/js/Detector.js" type="text/javascript"><xsl:text> </xsl:text></script>
|
---|
| 649 | <script src="interfaces/{$interface_name}/js/RequestAnimationFrame.js" type="text/javascript"><xsl:text> </xsl:text></script>
|
---|
| 650 | <script src="interfaces/{$interface_name}/js/panoramaMarker.js" type="text/javascript"><xsl:text> </xsl:text></script>
|
---|
| 651 | <script src="interfaces/{$interface_name}/js/panoramaViewer.js" type="text/javascript"><xsl:text> </xsl:text></script>
|
---|
| 652 | <script type="text/javascript">$(window).load(initPanoramaViewer);$(window).load(_animate);</script>
|
---|
| 653 | </xsl:template>
|
---|
| 654 |
|
---|
[28581] | 655 | <xsl:template name="choose-title">
|
---|
| 656 | <gsf:choose-metadata>
|
---|
| 657 | <gsf:metadata name="dc.Title"/>
|
---|
| 658 | <gsf:metadata name="exp.Title"/>
|
---|
| 659 | <gsf:metadata name="ex.dc.Title"/>
|
---|
| 660 | <gsf:metadata name="Title"/>
|
---|
| 661 | <gsf:default>Untitled</gsf:default>
|
---|
| 662 | </gsf:choose-metadata>
|
---|
| 663 | </xsl:template>
|
---|
[24137] | 664 | </xsl:stylesheet>
|
---|