diff --git a/main/attendance/attendance_edit.php b/main/attendance/attendance_edit.php index 11bcfb9073..40aff9caf2 100755 --- a/main/attendance/attendance_edit.php +++ b/main/attendance/attendance_edit.php @@ -25,7 +25,7 @@ $attendance_weight = floatval($attendance_weight); // display form $form = new FormValidator('attendance_edit','POST','index.php?action=attendance_edit&'.api_get_cidreq().'&attendance_id='.$attendance_id.$param_gradebook,'','style="width: 100%;"'); -$form->addElement('header', '', get_lang('EditAnAttendance')); +$form->addElement('header', '', get_lang('Edit')); $form->addElement('hidden', 'sec_token',$token); $form->add_textfield('title', get_lang('Title'), true, array('size'=>'50')); diff --git a/main/attendance/attendance_sheet.php b/main/attendance/attendance_sheet.php index b3a7469965..daa0f0a6d8 100755 --- a/main/attendance/attendance_sheet.php +++ b/main/attendance/attendance_sheet.php @@ -16,7 +16,7 @@ if (api_is_allowed_to_edit(null, true)) { echo ''.Display::return_icon('calendar_up.gif',get_lang('AttendanceCalendar')).' '.get_lang('AttendanceCalendar').''; echo ''; - $message_information = get_lang('informationAttendanceSheet'); + $message_information = get_lang('AttendanceSheetDescription'); if (!empty($message_information)) { $message = ''.get_lang('Information').'
'; $message .= $message_information; @@ -34,11 +34,11 @@ if (api_is_allowed_to_edit(null, true)) { - + - +
-
+
- +
@@ -162,7 +162,7 @@ if (api_is_allowed_to_edit(null, true)) {
- + "> - + diff --git a/main/attendance/index.php b/main/attendance/index.php index add8b61236..0a6df34cc8 100644 --- a/main/attendance/index.php +++ b/main/attendance/index.php @@ -9,7 +9,7 @@ */ // name of the language file that needs to be included -$language_file = array ('userInfo'); +$language_file = array ('userInfo', 'admin'); // including files require_once '../inc/global.inc.php'; @@ -151,7 +151,7 @@ if (api_is_drh() && isset($_GET['student_id'])) { $student_param = '&student_id='.$student_id; $student_info = api_get_user_info($student_id); $student_name = api_get_person_name($student_info['firstname'],$student_info['lastname']); - $interbreadcrumb[] = array ('url' => '/main/mySpace/myStudents.php?&student='.$student_id, 'name' => $student_name); + $interbreadcrumb[] = array ('url' => '/main/mySpace/myStudents.php?student='.$student_id, 'name' => $student_name); } if (!empty($gradebook)) { diff --git a/main/dashboard/index.php b/main/dashboard/index.php index f42bc08c4b..b8fa696e11 100755 --- a/main/dashboard/index.php +++ b/main/dashboard/index.php @@ -8,7 +8,7 @@ */ // name of the language file that needs to be included -$language_file = array ('registration', 'index', 'tracking', 'userInfo', 'admin'); +$language_file = array ('index', 'tracking', 'userInfo', 'admin', 'gradebook'); // including files require_once '../inc/global.inc.php'; diff --git a/plugin/dashboard/block_student/block_student.class.php b/plugin/dashboard/block_student/block_student.class.php index b68cf9bfba..8e26b94386 100755 --- a/plugin/dashboard/block_student/block_student.class.php +++ b/plugin/dashboard/block_student/block_student.class.php @@ -139,7 +139,7 @@ class BlockStudent extends Block { } $students_table .= '
'; } else { - $students_table .= get_lang('ThereAreNoInformationAboutStudents'); + $students_table .= get_lang('ThereAreNoInformationsAboutYourStudents'); } $content .= $students_table; @@ -220,7 +220,7 @@ class BlockStudent extends Block { } $students_table .= ''; } else { - $students_table .= get_lang('ThereAreNoInformationAboutStudents'); + $students_table .= get_lang('ThereAreNoInformationsAboutYourStudents'); } $content .= $students_table; diff --git a/plugin/dashboard/block_teacher/block_teacher.class.php b/plugin/dashboard/block_teacher/block_teacher.class.php index 8e117ff077..eba391d70b 100755 --- a/plugin/dashboard/block_teacher/block_teacher.class.php +++ b/plugin/dashboard/block_teacher/block_teacher.class.php @@ -120,7 +120,7 @@ class BlockTeacher extends Block { } $teachers_table .= ''; } else { - $teachers_table .= get_lang('ThereAreNoInformationAboutTeachers'); + $teachers_table .= get_lang('ThereAreNoInformationsAboutYourTeachers'); } @@ -177,7 +177,7 @@ class BlockTeacher extends Block { } $teachers_table .= ''; } else { - $teachers_table .= get_lang('ThereAreNoInformationAboutTeachers'); + $teachers_table .= get_lang('ThereAreNoInformationsAboutYourTeachers'); } $content .= $teachers_table;