Changeset 26250


Ignore:
Timestamp:
09/25/12 15:41:35 (8 years ago)
Author:
kjdon
Message:

added gsf:collectionText template

File:
1 edited

Legend:

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

    r26227 r26250  
    238238      <xslt:value-of disable-output-escaping="yes" select="util:getInterfaceText($interface_name, /page/@lang, '{@name}')"/>
    239239    </xsl:template>
     240    <!-- With gsf:collectionText, a user can request a string from the collection's dictionary in the current lang -->
     241    <xsl:template match="gsf:collectionText" name="gsf:collectionText">
     242    <!--<xslt:variable name="collName" select="/page/pageResponse/collection/@name"/>-->
     243      <xslt:value-of disable-output-escaping="yes" select="util:getCollectionText($collName, $site_name, /page/@lang, '{@name}')"/>
     244    </xsl:template>
    240245
    241246    <!-- if this gsf:metadata is a child of a document node then we want to get the metadata for that node -->
Note: See TracChangeset for help on using the changeset viewer.