Fix the editor and the surrounding table for settings
This commit is contained in:
+5
-2
@@ -110,12 +110,11 @@ echo '<input type="hidden" name="section" value="' . $PAGE->section . '" />';
|
||||
echo '<input type="hidden" name="sesskey" value="' . $USER->sesskey . '" />';
|
||||
echo '<input type="hidden" name="return" value="' . $return . '" />';
|
||||
print_heading($root->visiblename);
|
||||
print_simple_box_start('','100%','',5,'generalbox','');
|
||||
|
||||
echo $root->output_html();
|
||||
|
||||
echo '<center><input type="submit" value="' . get_string('savechanges','admin') . '" /></center>';
|
||||
print_simple_box_end();
|
||||
|
||||
echo '</form>';
|
||||
|
||||
if (!empty($SITE->fullname)) {
|
||||
@@ -125,6 +124,10 @@ if (!empty($SITE->fullname)) {
|
||||
echo '</td></tr></table>';
|
||||
}
|
||||
|
||||
if (!empty($CFG->adminusehtmleditor)) {
|
||||
use_html_editor();
|
||||
}
|
||||
|
||||
print_footer();
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user