Skip to content

Commit 1ee2d8b

Browse files
committed
Standardize header titles for tools help
1 parent 083b1d2 commit 1ee2d8b

13 files changed

+13
-13
lines changed

main/announcements/announcements.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@
951951

952952
if (empty($_GET['origin']) or $_GET['origin'] !== 'learnpath') {
953953
// We are not in the learning path
954-
Display::display_header($nameTools, get_lang('Announcements'));
954+
Display::display_header($nameTools, 'Announcements');
955955
}
956956

957957
// Tool introduction

main/exercise/aiken.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
}
5050
}
5151

52-
Display::display_header(get_lang('ImportAikenQuiz'), 'Exercises');
52+
Display::display_header(get_lang('ImportAikenQuiz'), 'Exercise');
5353
aiken_display_form();
5454
generateAikenForm();
5555
Display::display_footer();

main/exercise/comparative_group_report.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
Export::arrayToXls($tableXls, $fileName);
8484
exit;
8585
}
86-
Display::display_header($nameTools, get_lang('Exercise'));
86+
Display::display_header($nameTools, 'Exercise');
8787
$actions = '<a href="exercise_report.php?exerciseId='.$exerciseId.'&'.api_get_cidreq().'">'.
8888
Display::return_icon(
8989
'back.png',

main/exercise/exercise.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ function showUserToSendNotificacion(element) {
600600

601601
if (!in_array($origin, ['learnpath', 'mobileapp'])) {
602602
//so we are not in learnpath tool
603-
Display::display_header($nameTools, get_lang('Exercise'));
603+
Display::display_header($nameTools, 'Exercise');
604604
if (isset($_GET['message']) && in_array($_GET['message'], ['ExerciseEdited'])) {
605605
echo Display::return_message(get_lang('ExerciseEdited'), 'confirmation');
606606
}

main/exercise/exercise_admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ function setFocus(){
181181
'name' => $objExercise->selectTitle(true),
182182
];
183183

184-
Display::display_header($nameTools, get_lang('Exercise'));
184+
Display::display_header($nameTools, 'Exercise');
185185

186186
echo '<div class="actions">';
187187
if ($objExercise->iid != 0) {

main/exercise/exercise_history.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
$TBL_EXERCISES = Database::get_course_table(TABLE_QUIZ_TEST);
4040
$TBL_EXERCISES_QUESTION = Database::get_course_table(TABLE_QUIZ_QUESTION);
4141
$TBL_TRACK_ATTEMPT_RECORDING = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ATTEMPT_RECORDING);
42-
Display::display_header($nameTools, get_lang('Exercise'));
42+
Display::display_header($nameTools, 'Exercise');
4343

4444
if (isset($_GET['message'])) {
4545
if (in_array($_GET['message'], ['ExerciseEdited'])) {

main/exercise/exercise_question_reminder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
$hideHeaderAndFooter = in_array($origin, ['learnpath', 'embeddable', 'iframe']);
9797

9898
if (!$hideHeaderAndFooter) {
99-
Display::display_header($nameTools, get_lang('Exercise'));
99+
Display::display_header($nameTools, 'Exercise');
100100
} else {
101101
Display::display_reduced_header();
102102
}

main/exercise/exercise_reminder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
$hideHeaderAndFooter = in_array($origin, ['learnpath', 'embeddable', 'iframe']);
8383

8484
if (!$hideHeaderAndFooter) {
85-
Display::display_header($nameTools, get_lang('Exercise'));
85+
Display::display_header($nameTools, 'Exercise');
8686
} else {
8787
Display::display_reduced_header();
8888
}

main/exercise/exercise_submit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@
10301030
if (!in_array($origin, ['learnpath', 'embeddable', 'mobileapp', 'iframe'])) {
10311031
//so we are not in learnpath tool
10321032
SessionManager::addFlashSessionReadOnly();
1033-
Display::display_header(null, 'Exercises');
1033+
Display::display_header(null, 'Exercise');
10341034
} else {
10351035
Display::display_reduced_header();
10361036
echo '<div style="height:10px">&nbsp;</div>';

main/exercise/hotpotatoes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@
236236
exit;
237237
}
238238

239-
Display::display_header($nameTools, get_lang('Exercise'));
239+
Display::display_header($nameTools, 'Exercise');
240240

241241
echo '<div class="actions">';
242242
echo '<a href="exercise.php?show=test">'.

0 commit comments

Comments
 (0)