Changeset 32457 for main

Show
Ignore:
Timestamp:
17.09.2018 11:49:34 (9 months ago)
Author:
kjdon
Message:

added 'about greenstone' link on home page which leads to gsdl page, similar to gs2

Location:
main/trunk/greenstone3/web/interfaces/default/transform
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/gslib.xsl

    r32296 r32457  
    1818  <xsl:include href="xml-to-string.xsl"/> 
    1919     
    20   <!-- some global parameters - these are set by whoever is invoking the transformation --> 
     20  <!-- some global parameters - these are set by whoever is invoking the transformation 
     21  Any servlet init parameters can be accessed by adding a param here--> 
    2122  <xsl:param name="interface_name"/> 
    2223  <xsl:param name="library_name"/> 
     
    2425  <xsl:param name="use_client_side_xslt"/> 
    2526  <xsl:param name="filepath"/> 
     27  <xsl:param name="google_tracking_id"/> 
    2628  <!-- every pages ....................................................................... --> 
    2729 
     
    382384        </div> 
    383385    </xsl:for-each> 
     386  </xsl:template> 
     387 
     388  <xsl:template name="aboutGreenstoneLink"> 
     389 
     390    <div class="paramLabel"> 
     391      <a href="{$library_name}?a=p&amp;sa=gsdl"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl.title')"/></a> 
     392  </div> 
     393  <div class="paramValue"> 
     394    <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl.brief')"/> 
     395  </div> 
    384396  </xsl:template> 
    385397 
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/home.xsl

    r32150 r32457  
    6161            <!--<gslib:libraryInterfaceLink/><br/><br/>--> 
    6262            <gslib:authenticationLink/><br/><br/> 
    63             <gslib:registerLink/><br/> 
     63            <gslib:registerLink/><br/><br/> 
    6464        </xsl:for-each> 
    6565 
     66        <gslib:aboutGreenstoneLink/><br/> 
    6667    </xsl:template> 
    6768