Changeset 26328

Show
Ignore:
Timestamp:
17.10.2012 14:59:09 (7 years ago)
Author:
sjm84
Message:

Cleaning up the about page

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/model-cols/niupepa/transform/pages/about.xsl

    r26256 r26328  
    55    xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil" 
    66    xmlns:gslib="http://www.greenstone.org/skinning" 
     7    xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" 
    78    extension-element-prefixes="java util" 
    8     exclude-result-prefixes="java util"> 
     9    exclude-result-prefixes="java util gsf"> 
    910 
    1011    <!-- use the 'main' layout --> 
     
    1920    <!-- the page content --> 
    2021    <xsl:template match="/page"> 
    21         <xsl:value-of disable-output-escaping="yes" select="util:getCollectionText($collNameChecked, $site_name, /page/@lang, 'about.textxwelcome')"/> 
    22         <xsl:value-of disable-output-escaping="yes" select="util:getCollectionText($collNameChecked, $site_name, /page/@lang, 'about.textxwelcome2')"/> 
    23         <xsl:value-of disable-output-escaping="yes" select="util:getCollectionText($collNameChecked, $site_name, /page/@lang, 'about.textxbackground')"/> 
    24         <xsl:value-of disable-output-escaping="yes" select="util:getCollectionText($collNameChecked, $site_name, /page/@lang, 'about.textxgrateful')"/> 
     22        <gsf:collectionText name="about.textxwelcome"/> 
     23        <gsf:collectionText name="about.textxwelcome2"/> 
     24        <gsf:collectionText name="about.textxbackground"/> 
     25        <gsf:collectionText name="about.textxgrateful"/> 
    2526         
    2627        <hr/> 
    2728         
    28         <xsl:value-of disable-output-escaping="yes" select="util:getCollectionText($collNameChecked, $site_name, /page/@lang, 'about.textxbackground2')"/> 
    29         <xsl:value-of disable-output-escaping="yes" select="util:getCollectionText($collNameChecked, $site_name, /page/@lang, 'about.textxbackground3')"/> 
     29        <gsf:collectionText name="about.textxbackground2"/> 
     30        <gsf:collectionText name="about.textxbackground3"/> 
    3031         
    3132        <hr/> 
    3233         
    33         <xsl:value-of disable-output-escaping="yes" select="util:getCollectionText($collNameChecked, $site_name, /page/@lang, 'about.textxsupporgs')"/> 
    34         <a href="http://www.minedu.govt.nz/"><img src="_httpprefix_/collect/niupepa/images/mined.gif" style="border:0px;"/></a> 
    35         <xsl:value-of disable-output-escaping="yes" select="util:getCollectionText($collNameChecked, $site_name, /page/@lang, 'about.textyaymined')"/> 
    36         <xsl:value-of disable-output-escaping="yes" select="util:getCollectionText($collNameChecked, $site_name, /page/@lang, 'about.textxsupporgs2')"/> 
     34        <gsf:collectionText name="about.textxsupporgs"/> 
     35        <gsf:collectionText name="about.textximage"/> 
     36        <gsf:collectionText name="about.textyaymined"/> 
     37        <gsf:collectionText name="about.textxsupporgs2"/> 
    3738    </xsl:template>  
    3839</xsl:stylesheet>