Changeset 37069


Ignore:
Timestamp:
2022-12-29T00:03:24+13:00 (5 weeks ago)
Author:
davidb
Message:

Fixed silly typo in allowMapGPSEditing test that made the test go wrong; other changes just white-space differences

File:
1 edited

Legend:

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

    r37053 r37069  
    376376            <script type="text/javascript" src="interfaces/{$interface_name}/js/documentedit_scripts_util.js"><xsl:text> </xsl:text></script>
    377377
    378             <xsl:if test="/page/pageResponse/format/gsf:option[@name='allowMapGPSEditing']/@value = 'true']">
     378            <xsl:if test="/page/pageResponse/format/gsf:option[@name='allowMapGPSEditing']/@value = 'true'">
    379379              <script type="text/javascript" src="interfaces/{$interface_name}/js/map-scripts-editor-history.js"><xsl:text> </xsl:text></script>
    380380              <script type="text/javascript" src="interfaces/{$interface_name}/js/map-scripts-editor-themes.js"><xsl:text> </xsl:text></script>
     
    421421    <xsl:template match="/page/pageResponse/document">
    422422      <xsl:if test="$bookswitch = 'off' or ($bookswitch != 'on' and $bookswitch != 'flashxml')"> <!-- true when bookswitch=mirador, for example -->
    423       <xsl:call-template name="javascriptForDocumentView"/>
     423        <xsl:call-template name="javascriptForDocumentView"/>
    424424      <gslib:langfrag name="doc"/>
    425425        <xsl:if test="/page/pageResponse/collection[@name = $collName]/metadataList/metadata[@name = 'tidyoption'] = 'tidy'">
     
    530530                    <xsl:call-template name="documentPre"/>
    531531                    <div id="gs-document-text" class="documenttext" collection="{/page/pageResponse/collection/@name}"><!-- *** -->
    532                         <xsl:for-each select="documentNode">
     532                      <xsl:for-each select="documentNode">
    533533                            <xsl:call-template name="wrapDocumentNodes"/>
    534534                        </xsl:for-each>
     
    538538            </xsl:when>
    539539            <xsl:when test="/page/pageResponse/document/@docType = 'paged' or /page/pageResponse/document/@docType = 'pagedhierarchy'">
    540                 <div id="gs-document">                         
     540              <div id="gs-document">
    541541                    <div id="tocLoadingImage" style="text-align:center;">
    542542                        <img src="{util:getInterfaceText($interface_name, /page/@lang, 'loading_image')}"/><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'doc.loading')"/><xsl:text>...</xsl:text>
Note: See TracChangeset for help on using the changeset viewer.