diff --git a/export.php b/export.php index bbcb570c490753e33aac6ddf54b6f725ff0c594a..89f05f7c5d3df57ac143ecc619121ef0de53608b 100644 --- a/export.php +++ b/export.php @@ -43,6 +43,7 @@ $PAGE->set_url('/local/hshexport/export.php', ['id' => $course->id]); require_login($course); $PAGE->set_title($title); +$PAGE->set_heading($title); $PAGE->set_context($context); require_capability('local/hshexport:canexport', $context); @@ -67,7 +68,7 @@ if ($mform->is_cancelled()) { } echo $OUTPUT->header(); -echo $OUTPUT->heading($title); +echo $OUTPUT->heading(get_string('formtitle', 'local_hshexport', $course->fullname)); $mform->display(); diff --git a/lang/de/local_hshexport.php b/lang/de/local_hshexport.php index 4ab1d648592eda217b0ef74b0207f4ef2b304818..85e0352cc38cc373dab816339248a23ca9d0538f 100644 --- a/lang/de/local_hshexport.php +++ b/lang/de/local_hshexport.php @@ -31,6 +31,7 @@ $string['coursecode_help'] = 'Eine LV-Kennung muss eindeutig und einmalig sein, $string['coursecode_placeholder'] = 'Bitte hier LV Kennung eingeben'; $string['csvdownload'] = 'CSV herunterladen'; $string['evaluserexport_form_into'] = 'Nutzen Sie dieses Formular um eine CSV-Datei mit den Nutzern der ausgewählten Rollen für die Evaluation zu erzeugen.'; +$string['formtitle'] = 'Export für Evaluation: {$a}'; $string['hshexport:canexport'] = 'Kann Nutzer für Evasys als csv exportieren'; $string['nav_course'] = 'Link in Kursnavigation'; $string['nav_participants'] = 'Link in Auswahlbutton der Teilnehmerliste'; diff --git a/lang/en/local_hshexport.php b/lang/en/local_hshexport.php index fffe5468ee6656358ef0b9b7f2e3c96232bd6afa..c4644727daa8943d5920664227d77a7830d31ebd 100644 --- a/lang/en/local_hshexport.php +++ b/lang/en/local_hshexport.php @@ -31,6 +31,7 @@ $string['coursecode_help'] = 'A course code must be unique and unambiguous, e.g. $string['coursecode_placeholder'] = 'Please enter course code here'; $string['csvdownload'] = 'Download csv'; $string['evaluserexport_form_into'] = 'Use this form to generate a CSV file with users of selected roles for evaluation purposes.'; +$string['formtitle'] = 'Export for evaluation: {$a}'; $string['hshexport:canexport'] = 'Can export user csv for evasys'; $string['nav_course'] = 'Navigation node in course navigation'; $string['nav_participants'] = 'Navigation node in participants page jump menu';