From 3846f38a6facfe956a5233d84cdc91244026f541 Mon Sep 17 00:00:00 2001 From: Johann Hoffmann Date: Mon, 6 May 2024 11:21:01 +0200 Subject: [PATCH] added PK to tbl_anwesenheit_check; chenged anwesenheiten sum function to account for timespans of the checks; added extension/anwesenheit_admin berechtigung; fotos are now being sent as links to bild.php; studentByLva table now with von & bis times of the check; now updating attendance check times when starting further checks on the same date; checking if time the code is being sent is in the timespan of the kontrolle; added method to delete QR codes older than certain ms to be called from QRDelete Cronjob; --- system/phrasesupdate.php | 61 +++++++++++++++++++++++++++++++++------- 1 file changed, 51 insertions(+), 10 deletions(-) diff --git a/system/phrasesupdate.php b/system/phrasesupdate.php index d5864abe3..60c2c1b30 100644 --- a/system/phrasesupdate.php +++ b/system/phrasesupdate.php @@ -25629,7 +25629,7 @@ array( 'phrases' => array( array( 'sprache' => 'German', - 'text' => 'Keine Anwesenheitskontrolle gefunden für Lehreinheit {le_id} am {day}.{month}.{year}.', + 'text' => 'Keine Anwesenheitskontrolle gefunden für LV-Teil {le_id} am {day}.{month}.{year}.', 'description' => '', 'insertvon' => 'system' ), @@ -25649,7 +25649,7 @@ array( 'phrases' => array( array( 'sprache' => 'German', - 'text' => 'Fehler beim Löschen der User Anwesenheiten für Lehreinheit {le_id} am {day}.{month}.{year}.', + 'text' => 'Fehler beim Löschen der User Anwesenheiten für LV-Teil {le_id} am {day}.{month}.{year}.', 'description' => '', 'insertvon' => 'system' ), @@ -25669,7 +25669,7 @@ array( 'phrases' => array( array( 'sprache' => 'German', - 'text' => 'Fehler beim Löschen der Anwesenheitskontrolle für Lehreinheit {le_id} am {day}.{month}.{year}.', + 'text' => 'Fehler beim Löschen der Anwesenheitskontrolle für LV-Teil {le_id} am {day}.{month}.{year}.', 'description' => '', 'insertvon' => 'system' ), @@ -25689,7 +25689,7 @@ array( 'phrases' => array( array( 'sprache' => 'German', - 'text' => 'Löschen der Anwesenheitskontrolle für Lehreinheit {le_id} am {day}.{month}.{year} erfolgreich.', + 'text' => 'Löschen der Anwesenheitskontrolle für LV-Teil {le_id} am {day}.{month}.{year} erfolgreich.', 'description' => '', 'insertvon' => 'system' ), @@ -25769,7 +25769,7 @@ array( 'phrases' => array( array( 'sprache' => 'German', - 'text' => 'Zugangscode hat eine fehlerhafte Lehreinheit hinterlegt.', + 'text' => 'Zugangscode hat einen fehlerhaften LV-Teil hinterlegt.', 'description' => '', 'insertvon' => 'system' ), @@ -25789,7 +25789,7 @@ array( 'phrases' => array( array( 'sprache' => 'German', - 'text' => 'Lehreinheit des Zugangscodes hat keine Teilnehmer hinterlegt.', + 'text' => 'LV-Teil des Zugangscodes hat keine Teilnehmer hinterlegt.', 'description' => '', 'insertvon' => 'system' ), @@ -25809,7 +25809,7 @@ array( 'phrases' => array( array( 'sprache' => 'German', - 'text' => 'Sie sind nicht als Teilnehmer der Lehreinheit eingetragen.', + 'text' => 'Sie sind nicht als Teilnehmer der LV-Teil eingetragen.', 'description' => '', 'insertvon' => 'system' ), @@ -25829,7 +25829,7 @@ array( 'phrases' => array( array( 'sprache' => 'German', - 'text' => 'Keine Anwesenheitseinträge gefunden für die Lehreinheit an diesem Datum.', + 'text' => 'Keine Anwesenheitseinträge gefunden für den LV-Teil an diesem Datum.', 'description' => '', 'insertvon' => 'system' ), @@ -26029,7 +26029,7 @@ array( 'phrases' => array( array( 'sprache' => 'German', - 'text' => 'Lehreinheit auswählen', + 'text' => 'LV-Teil auswählen', 'description' => '', 'insertvon' => 'system' ), @@ -26049,7 +26049,7 @@ array( 'phrases' => array( array( 'sprache' => 'German', - 'text' => 'Keine Anwesenheitskontrolle möglich weil ihnen im System keine Lehreinheiten für diese Lehrveranstaltung zugewiesen sind.', + 'text' => 'Keine Anwesenheitskontrolle möglich weil ihnen im System keine LV-Teile für diese Lehrveranstaltung zugewiesen sind.', 'description' => '', 'insertvon' => 'system' ), @@ -26121,6 +26121,47 @@ array( ) ) ), + array( + 'app' => 'anwesenheiten', + 'category' => 'global', + 'phrase' => 'leLaden', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'LV-Teil laden', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Load teaching unit', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'anwesenheiten', + 'category' => 'global', + 'phrase' => 'errorCodeSentInTimeOutsideKontrolle', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Der Zugangscode wurde außerhalb der Kontrollzeiten gesendet.', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'The access code has been sent outside the time of the attendance check.', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + // FHC-CORE-ANWESENHEITEN END );