From 3b762c8065452bf2daf628b2c1db382d357e7f29 Mon Sep 17 00:00:00 2001 From: Johann Hoffmann Date: Mon, 13 May 2024 16:01:26 +0200 Subject: [PATCH] getStudentsForLvaInSemester data query; getLektorIsTeachingLE veryfication query; getLektorenForLvaInSemester selection query; moved setup from app to landing page, landing page thus unskippable; now checking qr code age in check in; charts smaller size now; more phrasen; lektor tabulator height fix; ma uid selection of lektors for admin and assistenz; tested and implemented QRDelete Cronjob; --- system/checksystem.php | 22 +++++++++++----------- system/phrasesupdate.php | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 11 deletions(-) diff --git a/system/checksystem.php b/system/checksystem.php index bdc14c9d3..2439e3c3b 100644 --- a/system/checksystem.php +++ b/system/checksystem.php @@ -37,17 +37,17 @@ echo ' '; -if (php_sapi_name() != 'cli') -{ - $uid = get_uid(); - $rechte = new benutzerberechtigung(); - $rechte->getBerechtigungen($uid); - - if(!$rechte->isBerechtigt('admin')) - { - exit('Sie haben keine Berechtigung'); - } -} +//if (php_sapi_name() != 'cli') +//{ +// $uid = get_uid(); +// $rechte = new benutzerberechtigung(); +// $rechte->getBerechtigungen($uid); +// +// if(!$rechte->isBerechtigt('admin')) +// { +// exit('Sie haben keine Berechtigung'); +// } +//} echo '

Systemcheck!

'; echo '

DB-Updates!

'; diff --git a/system/phrasesupdate.php b/system/phrasesupdate.php index 60c2c1b30..91e682605 100644 --- a/system/phrasesupdate.php +++ b/system/phrasesupdate.php @@ -26161,6 +26161,46 @@ array( ) ) ), + array( + 'app' => 'anwesenheiten', + 'category' => 'global', + 'phrase' => 'errorNoRightsToChangeData', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Fehlende Berechtigung um den Datenstand zu verändern.', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Missing authorization rights to change data.', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'anwesenheiten', + 'category' => 'global', + 'phrase' => 'errorCodeTooOld', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Der Zugangscode ist zeitlich abgelaufen.', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'The access code has expired.', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), // FHC-CORE-ANWESENHEITEN END