You can now use Richtext editor to edit section texts, plus the page is a

bit more consistent now
This commit is contained in:
moodler
2003-03-11 05:43:39 +00:00
parent 8f6dcdbaa4
commit 1e5a2bf584
2 changed files with 33 additions and 3 deletions
+9 -1
View File
@@ -43,10 +43,18 @@
$form = $section;
}
if ($usehtmleditor = can_use_richtext_editor()) {
$onsubmit = "onsubmit=\"copyrichtext(theform.summary);\"";
} else {
$onsubmit = "";
}
$sectionname = get_string("name$course->format");
$stredit = get_string("edit", "", " $sectionname $section->section");
print_header($stredit, $stredit, "", "form.summary");
print_header("$course->shortname: $stredit", "$course->fullname",
"<A HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</A>
-> $stredit", "form.summary");
include("editsection.html");