From 7caf30229b1d89f714e9c98ed81a7e825395fb2c Mon Sep 17 00:00:00 2001 From: Manfred Kindl Date: Fri, 13 Sep 2013 16:43:40 +0000 Subject: [PATCH] =?UTF-8?q?Studierende=20konnten=20keine=20Lektorenpl?= =?UTF-8?q?=C3=A4ne=20einsehen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cis/private/profile/index.php | 7 +++++-- cis/private/tools/suche.php | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/cis/private/profile/index.php b/cis/private/profile/index.php index 0940c093e..27dc5edae 100644 --- a/cis/private/profile/index.php +++ b/cis/private/profile/index.php @@ -452,10 +452,13 @@ if(!$ansicht)

'.$p->t('lvaliste/lehrveranstaltungen').'

'.$p->t('freebusy/titel').'

'; } - if($uid!=get_uid()) + if(check_lektor(get_uid())) { echo '

'.$p->t('profil/zeitsperrenVon').' '.$user->nachname.'

'; - echo '

'.$p->t('profil/lvplanVon').' '.$user->nachname.'

'; + } + if($uid!=get_uid()) + { + echo '

'.$p->t('profil/lvplanVon').' '.$user->nachname.'

'; } } echo '

'.$p->t('global/hilfe').'

'; diff --git a/cis/private/tools/suche.php b/cis/private/tools/suche.php index 479f6056e..775499127 100755 --- a/cis/private/tools/suche.php +++ b/cis/private/tools/suche.php @@ -138,7 +138,7 @@ function searchPerson($searchItems) else $mail = $row->uid.'@'.DOMAIN; echo '',$mail,''; - echo ''.$p->t('lvplan/lvPlan').''; + echo ''.$p->t('lvplan/lvPlan').''; echo ''; echo "\n"; }