Changeset 33649


Ignore:
Timestamp:
2019-11-12T12:04:46+13:00 (4 years ago)
Author:
kjdon
Message:

renamed config_format and text_fragment_format to better represent what they do

Location:
main/trunk/greenstone3/web/interfaces/default/transform
Files:
2 moved

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/expand-gsf.xsl

    r33648 r33649  
    1414    <xsl:param name="use_client_side_xslt"/>
    1515    <xsl:param name="collName"/>
     16    <xsl:param name="lang"/>
    1617
    1718    <xsl:output method="xml"/>
     
    522523    </xsl:template>
    523524    <!-- With gsf:collectionText, a user can request a string from the collection's dictionary in the current lang -->
    524     <xsl:template match="gsf:collectionText" name="gsf:collectionText">
     525    <xsl:template match="gsf:collectionText1" name="gsf:collectionText1">
    525526        <xslt:variable name="collName" select="/page/pageResponse/collection/@name"/>
    526527        <xslt:copy-of select="util:getCollectionText($collName, $site_name, /page/@lang, '{@name}', '{@args}')/node()"/>
    527     </xsl:template>
     528        </xsl:template>
     529    <xsl:template match="gsf:collectionText" name="gsf:collectionText">
     530        <xsl:copy-of select="util:getCollectionText($collName, $site_name, $lang, @name, @args)/node()"/>
     531    </xsl:template>
     532
    528533
    529534    <!-- 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.