Added matrikelnummer in CIS profile

Now the matrikelnummer is shown in CIS profile when user is a student
This commit is contained in:
Cris
2018-10-30 14:48:30 +01:00
parent e081003e16
commit 81ca9ecfb2
+4 -1
View File
@@ -24,6 +24,7 @@ require_once('../../../config/cis.config.inc.php');
require_once('../../../config/global.config.inc.php');
require_once('../../../include/functions.inc.php');
require_once('../../../include/globals.inc.php');
require_once('../../../include/benutzerberechtigung.class.php');
require_once('../../../include/studiengang.class.php');
require_once('../../../include/studienordnung.class.php');
require_once('../../../include/person.class.php');
@@ -230,7 +231,9 @@ echo '</td><td width="30%" valign="top">';
echo '
<b>'.($type == "student"?$p->t("profil/student"):$p->t('profil/mitarbeiter')).'</b><br><br>
'.$p->t('global/username').': '.$user->uid.'<br>
'.$p->t('global/username').': '.$user->uid.'<br>';
echo ($type == 'student') ? $p->t('global/matrikelnummer'). ": ". $user->matrikelnr. "<br>" : '';
echo '
'.$p->t('global/anrede').': '.$user->anrede.'<br>
'.$p->t('global/titel').': '.$user->titelpre.' <br>';