Dotclear

Changeset 3799:d2747491fd00 for plugins


Ignore:
Timestamp:
08/14/18 11:31:00 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
2.14
Message:

Don't set js var for theme if syntax coloration is disabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/themeEditor/index.php

    r3731 r3799  
    7070    'dotclear.msg.document_saved'     => __("Document saved"), 
    7171    'dotclear.msg.error_occurred'     => __("An error occurred:"), 
    72     'dotclear.msg.confirm_reset_file' => __("Are you sure you want to reset this file?"), 
    73     'dotclear.colorsyntax'            => $user_ui_colorsyntax 
     72    'dotclear.msg.confirm_reset_file' => __("Are you sure you want to reset this file?") 
    7473)) . 
    7574dcPage::jsConfirmClose('file-form') . 
    7675dcPage::jsLoad(dcPage::getPF('themeEditor/js/script.js')); 
    7776if ($user_ui_colorsyntax) { 
     77    echo dcPage::jsVar('dotclear.colorsyntax', $user_ui_colorsyntax); 
    7878    echo dcPage::jsLoadCodeMirror($user_ui_colorsyntax_theme); 
    7979} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map