Merge branch 'MDL-85252-main' of https://github.com/laurentdavid/moodle
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ require_login($course, false, $cm);
|
||||
require_capability('mod/folder:managefiles', $context);
|
||||
|
||||
$PAGE->set_url('/mod/folder/edit.php', array('id' => $cm->id));
|
||||
$PAGE->set_title($course->shortname.': '.$folder->name);
|
||||
$PAGE->set_title($course->shortname . \moodle_page::TITLE_SEPARATOR . $folder->name);
|
||||
$PAGE->set_heading($course->fullname);
|
||||
$PAGE->set_activity_record($folder);
|
||||
$PAGE->set_secondary_active_tab('modulepage');
|
||||
|
||||
@@ -46,7 +46,7 @@ $strintro = get_string('moduleintro');
|
||||
$strlastmodified = get_string('lastmodified');
|
||||
|
||||
$PAGE->set_url('/mod/folder/index.php', array('id' => $course->id));
|
||||
$PAGE->set_title($course->shortname.': '.$strfolders);
|
||||
$PAGE->set_title($course->shortname . \moodle_page::TITLE_SEPARATOR . $strfolders);
|
||||
$PAGE->set_heading($course->fullname);
|
||||
$PAGE->set_secondary_active_tab('coursehome');
|
||||
$PAGE->navbar->add($strfolders);
|
||||
|
||||
+1
-1
@@ -65,7 +65,7 @@ $completion->set_module_viewed($cm);
|
||||
|
||||
$PAGE->set_url('/mod/folder/view.php', array('id' => $cm->id));
|
||||
|
||||
$PAGE->set_title($course->shortname.': '.$folder->name);
|
||||
$PAGE->set_title($course->shortname . \moodle_page::TITLE_SEPARATOR . $folder->name);
|
||||
$PAGE->set_heading($course->fullname);
|
||||
$PAGE->set_activity_record($folder);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user