Skip to content

Commit 5ba1b2b

Browse files
committed
Respect multiple languages in manage template page title (#467)
1 parent 4ca9f05 commit 5ba1b2b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manage_templates.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
require_capability('mod/customcert:manage', $context);
4848

4949
$title = $SITE->fullname;
50-
$heading = $title;
5150

5251
// Set up the page.
5352
$pageurl = new moodle_url('/mod/customcert/manage_templates.php');
@@ -61,6 +60,8 @@
6160
$PAGE->navbar->add(get_string('managetemplates', 'customcert'));
6261
}
6362

63+
$heading = format_string($title, true, ['context' => $context]);
64+
6465
if ($tid) {
6566
if ($action && confirm_sesskey()) {
6667
$nourl = new moodle_url('/mod/customcert/manage_templates.php');

0 commit comments

Comments
 (0)