Bugfix ExamReg, Geburtsort instudent xml, Hide Moodle-Icon if not used

This commit is contained in:
Gerald Raab
2016-05-20 10:25:32 +02:00
parent 5f540c2067
commit da7036d33a
3 changed files with 26 additions and 15 deletions
+14 -11
View File
@@ -439,17 +439,20 @@ function checkZeilenUmbruch()
}
}
}
$menu[]=array
(
'id'=>'core_menu_moodle',
'position'=>'70',
'name'=>$p->t('lehre/moodle'),
'icon'=>'../../../skin/images/button_moodle.png',
'link'=>$link,
'link_target'=>$link_target,
'link_onclick'=>$link_onclick,
'text'=>$text
);
if (MOODLE)
{
$menu[]=array
(
'id'=>'core_menu_moodle',
'position'=>'70',
'name'=>$p->t('lehre/moodle'),
'icon'=>'../../../skin/images/button_moodle.png',
'link'=>$link,
'link_target'=>$link_target,
'link_onclick'=>$link_onclick,
'text'=>$text
);
}
//Gesamtnote
if($is_lector && ((!defined('CIS_LEHRVERANSTALTUNG_GESAMTNOTE_ANZEIGEN') || CIS_LEHRVERANSTALTUNG_GESAMTNOTE_ANZEIGEN) && $angemeldet))