diff --git a/cis/private/lehre/benotungstool/lvgesamtnoteverwalten.php b/cis/private/lehre/benotungstool/lvgesamtnoteverwalten.php index d3919d25e..f14cc0b72 100644 --- a/cis/private/lehre/benotungstool/lvgesamtnoteverwalten.php +++ b/cis/private/lehre/benotungstool/lvgesamtnoteverwalten.php @@ -805,10 +805,24 @@ if (isset($_REQUEST["freigabe"]) && ($_REQUEST["freigabe"] == 1)) $neuenoten = 0; $studlist = "
| " . $p->t('global/personenkz') . " | -" . $p->t('global/nachname') . " | -" . $p->t('global/vorname') . " | "; +|
| " . $p->t('global/personenkz') . " | +" . $p->t('global/nachname') . " | +" . $p->t('global/vorname') . " | + "; + } + // oder anonymisiert nur die UIDs einbinden + else + { + $studlist .= " +" . $p->t('global/uid') . " | + "; + } if (defined('CIS_GESAMTNOTE_PUNKTE') && CIS_GESAMTNOTE_PUNKTE) { @@ -842,9 +856,16 @@ if (isset($_REQUEST["freigabe"]) && ($_REQUEST["freigabe"] == 1)) $lvgesamtnote->freigabevon_uid = $user; $lvgesamtnote->save(); - $studlist .= "
| " . trim($row_stud->matrikelnr) . " | "; - $studlist .= "" . trim($row_stud->nachname) . " | "; - $studlist .= "" . trim($row_stud->vorname) . " | "; + if (defined('CIS_GESAMTNOTE_FREIGABEMAIL_NOTE') && CIS_GESAMTNOTE_FREIGABEMAIL_NOTE) + { + $studlist .= "|
| " . trim($row_stud->matrikelnr) . " | "; + $studlist .= "" . trim($row_stud->nachname) . " | "; + $studlist .= "" . trim($row_stud->vorname) . " | "; + } + else + { + $studlist .= "|
| " . trim($row_stud->uid) . " | "; + } if (defined('CIS_GESAMTNOTE_PUNKTE') && CIS_GESAMTNOTE_PUNKTE) { @@ -896,8 +917,7 @@ if (isset($_REQUEST["freigabe"]) && ($_REQUEST["freigabe"] == 1))