mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
Studierende konnten keine Lektorenpläne einsehen.
This commit is contained in:
@@ -452,10 +452,13 @@ if(!$ansicht)
|
||||
<p><A href="lva_liste.php?uid='.$user->uid.'">'.$p->t('lvaliste/lehrveranstaltungen').'</A></p>
|
||||
<p><A href="freebusy.php">'.$p->t('freebusy/titel').'</A></p>';
|
||||
}
|
||||
if($uid!=get_uid())
|
||||
if(check_lektor(get_uid()))
|
||||
{
|
||||
echo '<p><A href="zeitsperre_days.php?days=30&lektor='.$user->uid.'">'.$p->t('profil/zeitsperrenVon').' '.$user->nachname.'</A></p>';
|
||||
echo '<p><A href="../lvplan/stpl_week.php?pers_uid='.$user->uid.'">'.$p->t('profil/lvplanVon').' '.$user->nachname.'</A></p>';
|
||||
}
|
||||
if($uid!=get_uid())
|
||||
{
|
||||
echo '<p><A href="../lvplan/stpl_week.php?pers_uid='.$user->uid.'&type=lektor">'.$p->t('profil/lvplanVon').' '.$user->nachname.'</A></p>';
|
||||
}
|
||||
}
|
||||
echo '<p><a href="../../../cms/content.php?content_id='.$p->t("dms_link/lvPlanFAQ").'" target="_blank">'.$p->t('global/hilfe').'</a></p></td>';
|
||||
|
||||
@@ -138,7 +138,7 @@ function searchPerson($searchItems)
|
||||
else
|
||||
$mail = $row->uid.'@'.DOMAIN;
|
||||
echo '<td><a href="mailto:',$mail,'">',$mail,'</a></td>';
|
||||
echo '<td><a href="../../../cis/private/lvplan/stpl_week.php?pers_uid='.$row->uid.($row->mitarbeiter_uid==NULL?'&type=student':'').'">'.$p->t('lvplan/lvPlan').'</a></td>';
|
||||
echo '<td><a href="../../../cis/private/lvplan/stpl_week.php?pers_uid='.$row->uid.($row->mitarbeiter_uid==NULL?'&type=student':'&type=lektor').'">'.$p->t('lvplan/lvPlan').'</a></td>';
|
||||
echo '</tr>';
|
||||
echo "\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user