diff --git a/cis/private/profile/index.php b/cis/private/profile/index.php index 27dc5edae..877a3efa1 100644 --- a/cis/private/profile/index.php +++ b/cis/private/profile/index.php @@ -36,6 +36,7 @@ require_once('../../../include/mitarbeiter.class.php'); require_once('../../../include/student.class.php'); require_once('../../../include/kontakt.class.php'); require_once('../../../include/fotostatus.class.php'); +require_once('../../../include/addon.class.php'); $sprache = getSprache(); $p=new phrasen($sprache); @@ -461,6 +462,24 @@ if(!$ansicht) echo '
'.$p->t('profil/lvplanVon').' '.$user->nachname.'
'; } } + //Überprüfung ob Addon vorhanden ist + $addon = new addon(); + foreach($addon->aktive_addons as $ad) + { + // checken ob es file profil_array.php gibt + if(file_exists(DOC_ROOT.'/addons/'.$ad.'/cis/profil_array.php')) + { + include(DOC_ROOT.'/addons/'.$ad.'/cis/profil_array.php'); + // Wenn Mitarbeiter count == 0 + if(count($menu >0)) + { + foreach($menu as $entry) + { + echo ""; + } + } + } + } echo ''; echo'