"MDL-16639, enable spellchecker plugin, and added config pages"

This commit is contained in:
Dongsheng Cai
2010-03-23 08:47:05 +00:00
parent 1fe3281dce
commit 7a856a9330
8 changed files with 89 additions and 9 deletions
+8
View File
@@ -75,6 +75,14 @@ if ($hassiteconfig) {
$temp->add(new admin_setting_manageeditors());
$ADMIN->add('editorsettings', $temp);
$editors_available = get_available_editors();
$url = $CFG->wwwroot.'/'.$CFG->admin.'/editors.php?sesskey='.sesskey();
foreach ($editors_available as $editor=>$editorstr) {
if (file_exists($CFG->dirroot . '/lib/editor/'.$editor.'/settings.php')) {
$editor_setting = new admin_externalpage('editorsettings'.$editor, $editorstr, $url.'&action=edit&editor='.$editor);
$ADMIN->add('editorsettings', $editor_setting);
}
}
/// Filter plugins
$ADMIN->add('modules', new admin_category('filtersettings', get_string('managefilters')));