MDL-11113 completely reimplemented editor plugin settings - we should never use custom forms instead of admin settings if possible

This commit is contained in:
Petr Skoda 2010-07-04 20:53:01 +00:00
parent 09ae4cad1a
commit 6fc67fce72
4 changed files with 34 additions and 63 deletions

View file

@ -5286,7 +5286,8 @@ class admin_setting_manageeditors extends admin_setting {
// settings link
if (file_exists($CFG->dirroot.'/lib/editor/'.$editor.'/settings.php')) {
$settings = "<a href='$url&amp;editor=$editor&amp;action=edit'>{$txt->settings}</a>";
$eurl = new moodle_url('/admin/settings.php', array('section'=>'editorsettingstinymce'));
$settings = "<a href='$eurl'>{$txt->settings}</a>";
} else {
$settings = '';
}