Changeset 31749

Show
Ignore:
Timestamp:
26.06.2017 13:19:37 (5 weeks ago)
Author:
kjdon
Message:

add new documentedit_scripts and documentedit_scripts_util.js files, comment out documentmaker_scripts as not using that at the moment

Files:
1 modified

Legend:

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

    r31540 r31749  
    251251        </xsl:template> 
    252252    <xsl:template name="javascriptForDocumentEditing"> 
    253             <script type="text/javascript" src="interfaces/{$interface_name}/js/documentmaker_scripts.js"><xsl:text> </xsl:text></script> 
    254             <script type="text/javascript" src="interfaces/{$interface_name}/js/documentmaker_scripts_util.js"><xsl:text> </xsl:text></script> 
     253    <!--        <script type="text/javascript" src="interfaces/{$interface_name}/js/documentmaker_scripts.js"><xsl:text> </xsl:text></script>--> 
     254            <script type="text/javascript" src="interfaces/{$interface_name}/js/documentedit_scripts.js"><xsl:text> </xsl:text></script> 
     255            <script type="text/javascript" src="interfaces/{$interface_name}/js/documentedit_scripts_util.js"><xsl:text> </xsl:text></script> 
    255256            <script type="text/javascript" src="interfaces/{$interface_name}/js/hierarchy.js"><xsl:text> </xsl:text></script> 
    256257            <script type="text/javascript"> 
     
    308309         
    309310            <div id="float-anchor" style="width: 30%; min-width:180px; float:right; margin: 0 0 10px 20px;">         
    310             <xsl:if test="/page/pageRequest/userInformation and /page/pageRequest/userInformation/@editEnabled = 'true' and (util:contains(/page/pageRequest/userInformation/@groups, 'administrator') or util:contains(/page/pageRequest/userInformation/@groups, 'all-collections-editor') or util:contains(/page/pageRequest/userInformation/@groups, $thisCollectionEditor))"> 
     311                    <xsl:if test="$canDoEditing = 'true'"> 
    311312                <xsl:call-template name="editBar"/> 
    312313            </xsl:if>