mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
only show digi anw in cis_menu_lv when corresponding lva is from BIF/257 for testphase
This commit is contained in:
@@ -241,13 +241,13 @@ function checkZeilenUmbruch()
|
||||
}
|
||||
|
||||
// Digitale Anwesenheiten
|
||||
if(CIS_LEHRVERANSTALTUNG_ANWESENHEIT_ANZEIGEN && $angemeldet
|
||||
&& ($rechte->isBerechtigt('extension/anw_ent_admin')
|
||||
// $lv->studiengang_kz == 257 -> only show the extension for studiengang BIF - Bachelor Informatik
|
||||
if(defined('CIS_LEHRVERANSTALTUNG_ANWESENHEIT_ANZEIGEN') && CIS_LEHRVERANSTALTUNG_ANWESENHEIT_ANZEIGEN && $angemeldet
|
||||
&& $lv->studiengang_kz == 257 && ($rechte->isBerechtigt('extension/anw_ent_admin')
|
||||
|| $rechte->isBerechtigt('extension/anwesenheit_lektor')
|
||||
|| $rechte->isBerechtigt('extension/anwesenheit_student')
|
||||
|| $rechte->isBerechtigt('extension/anwesenheit_admin')))
|
||||
{
|
||||
|
||||
$link='';
|
||||
$text='';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user