Changeset 30153


Ignore:
Timestamp:
09/02/15 10:13:58 (6 years ago)
Author:
kjdon
Message:

changed to use ckeditor instead of direct-edit, to keep in line with new default interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/therin/transform/layouts/header.xsl

    r29118 r30153  
    101101        <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))">
    102102            <xsl:if test="/page/pageRequest/paramList/param[(@name='docEdit') and (@value='on' or @value='true' or @value='1')]">
    103                 <script type="text/javascript" src="interfaces/{$interface_name}/js/direct-edit.js"><xsl:text> </xsl:text></script>
    104                 <xsl:call-template name="init-direct-edit"/>
     103              <script type="text/javascript" src="interfaces/{$interface_name}/js/ckeditor/ckeditor.js" defer="true"><xsl:text> </xsl:text></script>
     104                <!--<script type="text/javascript" src="interfaces/{$interface_name}/js/direct-edit.js"><xsl:text> </xsl:text></script>-->
     105                <!--<xsl:call-template name="init-direct-edit"/>-->
    105106            </xsl:if>
    106107            <script type="text/javascript" src="interfaces/{$interface_name}/js/debug_scripts.js"><xsl:text> </xsl:text></script>
Note: See TracChangeset for help on using the changeset viewer.