MDL-19184, MDL-19212 - refactoring, cleanup and improvements in text editors support; localization support is not finished, inline docs incomplete, expect more commits soon

This commit is contained in:
skodak
2009-05-16 20:53:21 +00:00
parent f9e57c6e72
commit 5ca3c8386f
511 changed files with 5091 additions and 11914 deletions
+2 -2
View File
@@ -166,7 +166,7 @@ function useredit_shared_definition(&$mform) {
$mform->setDefault('trackforums', 0);
$mform->setAdvanced('trackforums');
}
/* TODO: reimplement editor preferences
if (!empty($CFG->htmleditor)) {
$choices = array();
$choices['0'] = get_string('texteditor');
@@ -175,7 +175,7 @@ function useredit_shared_definition(&$mform) {
$mform->setDefault('htmleditor', 1);
$mform->setAdvanced('htmleditor');
}
*/
if (empty($CFG->enableajax)) {
$mform->addElement('static', 'ajaxdisabled', get_string('ajaxuse'), get_string('ajaxno'));
$mform->setAdvanced('ajaxdisabled');