Changeset 38972


Ignore:
Timestamp:
2024-05-02T13:09:40+12:00 (5 weeks ago)
Author:
kjdon
Message:

removed an old commented out section, and modifed the css links to use translatable fragments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documented-examples/trunk/style-e/transform/layouts/header.xsl

    r38915 r38972  
    99                exclude-result-prefixes="java util gsf">
    1010
    11   <xsl:template name="additionalHeaderContent">
     11  <xsl:template name="additionalHeaderContent-collection">
    1212    <xsl:variable name="httpCollection">
    1313      <xsl:value-of select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/>
    1414    </xsl:variable>
    15     <!--
    16     <link href="{$httpCollection}/style/custom-style.css" rel="stylesheet" type="text/css"/>   
    17     -->
    1815    <link rel="stylesheet" href="{$httpCollection}/style/gs3-style-default-extra.css" type="text/css"
    1916      title="GS3 Style" id="custom-style" charset="UTF-8"/>             
    2017    <script src="{$httpCollection}/script/custom-script.js" type="text/javascript"><xsl:text> </xsl:text></script>
    2118  </xsl:template>
     19
    2220  <xsl:template name="create-banner"> 
    2321    <div class="choose_style">
    24       Choose a style:
    25       <a href="#" onclick="replaceStyle('gs3-style-default-extra');return false;">Default Greenstone</a>,
    26       <a href="#" onclick="replaceStyle('gs3-style-blue');return false;">Blue</a>,
    27       <a href="#" onclick="replaceStyle('gs3-style-olive-purple');return false;">OlivePurple</a>,
    28       <a href="#" onclick="replaceStyle('');return false;">None</a>
     22      <gsf:collectionText name="choose-style" propertyFile="collectionConfig"/>
     23      <a href="#" onclick="replaceStyle('gs3-style-default-extra');return false;"><gsf:collectionText name="style.default" propertyFile="collectionConfig"/></a>,
     24      <a href="#" onclick="replaceStyle('gs3-style-blue');return false;"><gsf:collectionText name="style.blue" propertyFile="collectionConfig"/></a>,
     25      <a href="#" onclick="replaceStyle('gs3-style-olive-purple');return false;"><gsf:collectionText name="style.olive" propertyFile="collectionConfig"/></a>,
     26      <a href="#" onclick="replaceStyle('');return false;"><gsf:collectionText name="style.none" propertyFile="collectionConfig"/></a>
    2927    </div>
    3028           
Note: See TracChangeset for help on using the changeset viewer.