mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-10583 course format - some more uses of the get_section_name() added ; backported from HEAD
This commit is contained in:
parent
c65318bd3c
commit
13ea07e24c
1 changed files with 2 additions and 2 deletions
|
@ -587,7 +587,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) {
|
||||
|
@ -636,7 +636,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') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue