Dotclear

source: plugins/dcCKEditor/index.php @ 2761:6b76144ca48b

Revision 2761:6b76144ca48b, 1.4 KB checked in by Nicolas <nikrou77@…>, 11 years ago (diff)

CKEditor can now load external plugins such as tags, series,...
Closes #1992

Line 
1<?php
2# -- BEGIN LICENSE BLOCK ---------------------------------------
3#
4# This file is part of Dotclear 2.
5#
6# Copyright (c) 2003-2014 Olivier Meunier & Association Dotclear
7# Licensed under the GPL version 2.0 license.
8# See LICENSE file or
9# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
10#
11# -- END LICENSE BLOCK -----------------------------------------
12
13if (!defined('DC_CONTEXT_ADMIN')) { return; }
14
15$is_super_admin = $core->auth->isSuperAdmin();
16$core->blog->settings->addNameSpace('dcckeditor');
17$dcckeditor_active = $core->blog->settings->dcckeditor->active;
18$dcckeditor_alignment_buttons = $core->blog->settings->dcckeditor->alignment_buttons;
19$dcckeditor_list_buttons = $core->blog->settings->dcckeditor->list_buttons;
20$dcckeditor_textcolor_button = $core->blog->settings->dcckeditor->textcolor_button;
21$dcckeditor_cancollapse_button = $core->blog->settings->dcckeditor->cancollapse_button;
22$dcckeditor_format_select = $core->blog->settings->dcckeditor->format_select;
23$dcckeditor_table_button = $core->blog->settings->dcckeditor->table_button;
24$dcckeditor_textareas = $core->blog->settings->dcckeditor->textareas;
25$dcckeditor_clipboard_buttons = $core->blog->settings->dcckeditor->clipboard_buttons;
26
27if (!empty($_GET['config'])) {
28    // text/javascript response stop stream just after including file
29    include_once(dirname(__FILE__).'/_post_config.php');
30    exit();
31} else {
32    include_once(dirname(__FILE__).'/inc/_config.php');
33}
Note: See TracBrowser for help on using the repository browser.

Sites map