mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
Wenn Benotung deaktiviert ist, dann wird der Gesamtnote Menüpunkt im CIS deaktiviert
This commit is contained in:
@@ -457,14 +457,28 @@ function checkZeilenUmbruch()
|
||||
//Gesamtnote
|
||||
if($is_lector && ((!defined('CIS_LEHRVERANSTALTUNG_GESAMTNOTE_ANZEIGEN') || CIS_LEHRVERANSTALTUNG_GESAMTNOTE_ANZEIGEN) && $angemeldet))
|
||||
{
|
||||
$menu[]=array
|
||||
(
|
||||
'id'=>'core_menu_gesamtnote',
|
||||
'position'=>'80',
|
||||
'name'=>$p->t('lehre/gesamtnote'),
|
||||
'icon'=>'../../../skin/images/button_endnote.png',
|
||||
'link'=>'benotungstool/lvgesamtnoteverwalten.php?lvid='.urlencode($lvid).'&stsem='.urlencode($angezeigtes_stsem)
|
||||
);
|
||||
if($lv_obj->benotung)
|
||||
{
|
||||
$menu[]=array
|
||||
(
|
||||
'id'=>'core_menu_gesamtnote',
|
||||
'position'=>'80',
|
||||
'name'=>$p->t('lehre/gesamtnote'),
|
||||
'icon'=>'../../../skin/images/button_endnote.png',
|
||||
'link'=>'benotungstool/lvgesamtnoteverwalten.php?lvid='.urlencode($lvid).'&stsem='.urlencode($angezeigtes_stsem)
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
$menu[]=array
|
||||
(
|
||||
'id'=>'core_menu_gesamtnote',
|
||||
'position'=>'80',
|
||||
'name'=>$p->t('lehre/gesamtnote'),
|
||||
'icon'=>'../../../skin/images/button_endnote.png',
|
||||
'text'=>$p->t('lehre/noteneingabedeaktiviert')
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// Studentenupload
|
||||
|
||||
@@ -44,4 +44,5 @@ $this->phrasen['lehre/nichtzugeteilt']='Sie sind nicht zu dieser Lehrveranstaltu
|
||||
|
||||
$this->phrasen['lehre/studienordnung']='Studienordnung';
|
||||
$this->phrasen['lehre/studienplan']='Studienplan';
|
||||
$this->phrasen['lehre/noteneingabedeaktiviert']='Noteneingabe deaktiviert';
|
||||
?>
|
||||
|
||||
@@ -34,5 +34,5 @@ $this->phrasen['lehre/mail']='E-Mail to students';
|
||||
$this->phrasen['lehre/keinMailverteiler']='There is no e-mail distribution list for the group(s) %s! The students in these groups will not receive an e-mail.';
|
||||
|
||||
$this->phrasen['lehre/pinboard']='Pinboard';
|
||||
|
||||
$this->phrasen['lehre/noteneingabedeaktiviert']='Grades deactivated';
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user