Changeset 33509


Ignore:
Timestamp:
2019-09-24T14:12:03+12:00 (5 years ago)
Author:
kjdon
Message:

only display Map GPS editing stuff if its allowed in config file

File:
1 edited

Legend:

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

    r33507 r33509  
    238238                    </xsl:for-each>
    239239                </table>
     240                <xsl:if test="$isMapGPSEditingAllowed = '1'">
    240241                <div id="map-and-controls-{@nodeID}" tabindex="-1">
    241242                    <div id="map-{@nodeID}" style="height: 300px;"><xsl:text> </xsl:text></div>
     
    305306                    -->             
    306307                </div>
    307                
     308                </xsl:if>
    308309                <xsl:call-template name="sectionContentForEditing"/>
    309310            </xsl:when>
     
    368369                        if(gs.cgiParams.docEdit == "1")
    369370                        {
    370                             readyPageForEditing();
     371                            readyPageForEditing(</xsl:text><xsl:value-of select="$isMapGPSEditingAllowed"/><xsl:text disable-output-escaping="yes">);
    371372                        }
    372373                    });
Note: See TracChangeset for help on using the changeset viewer.