Changeset 3003:f8c097e1f7c5 for plugins/dcLegacyEditor/inc
Legend:
- Unmodified
- Added
- Removed
-
plugins/dcLegacyEditor/inc/dc.legacy.editor.behaviors.php
r2856 r3003 15 15 protected static $p_url = 'index.php?pf=dcLegacyEditor'; 16 16 17 18 19 20 21 22 23 17 /** 18 * adminPostEditor add javascript to the DOM to load ckeditor depending on context 19 * 20 * @param editor <b>string</b> wanted editor 21 * @param context <b>string</b> page context (post,page,comment,event,...) 22 * @param tags <b>array</b> array of ids to inject editor 23 */ 24 24 public static function adminPostEditor($editor='',$context='',array $tags=array()) { 25 25 if (empty($editor) || $editor!='dcLegacyEditor') {return;} … … 61 61 if (isset($GLOBALS['core']->auth) && $GLOBALS['core']->auth->getOption('enable_wysiwyg')) { 62 62 $res .= '<script type="text/javascript" src="'.self::$p_url.'/js/jsToolBar/jsToolBar.wysiwyg.js"></script>'; 63 63 } 64 64 65 65 $res .= … … 132 132 } 133 133 134 $res .= "jsToolBar.prototype.toolbar_bottom = ". 135 (isset($GLOBALS['core']->auth) && $GLOBALS['core']->auth->getOption('toolbar_bottom') ? 'true' : 'false').";\n"; 136 134 137 $res .= 135 138 "\n//]]>\n".
Note: See TracChangeset
for help on using the changeset viewer.