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;

This commit is contained in:
Johann Hoffmann
2024-05-13 16:01:26 +02:00
parent 3846f38a6f
commit 3b762c8065
2 changed files with 51 additions and 11 deletions
+11 -11
View File
@@ -37,17 +37,17 @@ echo '<html>
</head>
<body>';
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 '<H1>Systemcheck!</H1>';
echo '<H2>DB-Updates!</H2>';
+40
View File
@@ -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