From a4ba0a96f1cdc16b00addfe272c8d1504a5edee7 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sun, 4 Jul 2010 14:00:19 +0000 Subject: [PATCH] fixed recent regression when fixing pluginname in editors --- lib/editorlib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/editorlib.php b/lib/editorlib.php index ef576ba10d6..6c90efb471d 100644 --- a/lib/editorlib.php +++ b/lib/editorlib.php @@ -106,7 +106,7 @@ function get_texteditor($editorname) { function get_available_editors() { $editors = array(); foreach (get_plugin_list('editor') as $editorname => $dir) { - $editors[$editorname] = get_string('modulename', 'editor_'.$editorname); + $editors[$editorname] = get_string('pluginname', 'editor_'.$editorname); } return $editors; } @@ -185,7 +185,7 @@ abstract class texteditor { } //TODO: this is very wrong way to do admin settings - this has to be rewritten -require_once($CFG->libdir.'/formslib.php'); +require_once($CFG->libdir.'/formslib.php'); /** * Editor settings moodle form class. *