No change in functionality at all.
I was in the area trying to fix a bug on this page that only
shows up in Internet Explorer (something to do with editor)
global $CFG;
?>
<center>
-<form name="form" method="post" <?=$onsubmit ?> action="edit.php" enctype="multipart/form-data">
+<form name="form" method="post" action="edit.php" enctype="multipart/form-data">
<table class=generalbox cellpadding=5 bgcolor="<?php p($THEME->cellheading)?>">
<?PHP
if (isset($errors)) {
<?PHP
if ($usehtmleditor) {
- print_richedit_javascript("form", "text", "yes");
+ use_html_editor("text");
}
?>
$strglossaries = get_string("modulenameplural", "glossary");
$stredit = get_string("edit");
-if ($usehtmleditor = can_use_richtext_editor()) {
+if ($usehtmleditor = can_use_html_editor()) {
$defaultformat = FORMAT_HTML;
- $onsubmit = "onsubmit=\"copyrichtext(form.text);\"";
} else {
$defaultformat = FORMAT_MOODLE;
- $onsubmit = "";
}
print_header(strip_tags("$course->shortname: $glossary->name"), "$course->fullname",