mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-11113 completely reimplemented editor plugin settings - we should never use custom forms instead of admin settings if possible
This commit is contained in:
parent
09ae4cad1a
commit
6fc67fce72
4 changed files with 34 additions and 63 deletions
|
@ -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&editor=$editor&action=edit'>{$txt->settings}</a>";
|
||||
$eurl = new moodle_url('/admin/settings.php', array('section'=>'editorsettingstinymce'));
|
||||
$settings = "<a href='$eurl'>{$txt->settings}</a>";
|
||||
} else {
|
||||
$settings = '';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue