"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
+2 -2
View File
@@ -4992,8 +4992,8 @@ class admin_setting_manageeditors extends admin_setting {
}
// settings link
if (file_exists($CFG->dirroot.'/editor/'.$editor.'/settings.php')) {
$settings = "<a href=\"settings.php?section=editorsetting$editor\">{$txt->settings}</a>";
if (file_exists($CFG->dirroot.'/lib/editor/'.$editor.'/settings.php')) {
$settings = "<a href='$url&amp;editor=$editor&amp;action=edit'>{$txt->settings}</a>";
} else {
$settings = '';
}