From 81ca9ecfb21273ece0162f9dba7b5cde552a1b9d Mon Sep 17 00:00:00 2001 From: Cris Date: Tue, 30 Oct 2018 14:48:30 +0100 Subject: [PATCH] Added matrikelnummer in CIS profile Now the matrikelnummer is shown in CIS profile when user is a student --- cis/private/profile/index.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cis/private/profile/index.php b/cis/private/profile/index.php index d35b53655..4c0c0d024 100755 --- a/cis/private/profile/index.php +++ b/cis/private/profile/index.php @@ -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 ''; echo ' '.($type == "student"?$p->t("profil/student"):$p->t('profil/mitarbeiter')).'

- '.$p->t('global/username').': '.$user->uid.'
+ '.$p->t('global/username').': '.$user->uid.'
'; + echo ($type == 'student') ? $p->t('global/matrikelnummer'). ": ". $user->matrikelnr. "
" : ''; +echo ' '.$p->t('global/anrede').': '.$user->anrede.'
'.$p->t('global/titel').': '.$user->titelpre.'
';