MDL-10583 course format - some more uses of the get_section_name() added

This commit is contained in:
stronk7
2009-02-05 13:41:18 +00:00
parent 1465d3d426
commit 876a3baa42
+2 -2
View File
@@ -606,7 +606,7 @@
$form->mode = "add";
$form->sesskey = !empty($USER->id) ? $USER->sesskey : '';
$sectionname = get_string("name$course->format");
$sectionname = get_section_name($course->format);
$fullmodulename = get_string("modulename", $module->name);
if ($form->section) {
@@ -655,7 +655,7 @@
$form->type = $type;
}
$sectionname = get_string("name$course->format");
$sectionname = get_section_name($course->format);
$fullmodulename = get_string("modulename", $module->name);
if ($form->section && $course->format != 'site') {