mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
Bugfix ExamReg, Geburtsort instudent xml, Hide Moodle-Icon if not used
This commit is contained in:
@@ -968,10 +968,17 @@ function loadPruefungStudiengang(studiengang_kz, studiensemester)
|
||||
var liste = "";
|
||||
data.result.forEach(function(e){
|
||||
liste += "<ul><li>"+e.bezeichnung+"<ul>";
|
||||
e.pruefung[0].termine.forEach(function(d){
|
||||
liste += "<li> <a onclick='showAnmeldungen(\""+d.pruefungstermin_id+"\", \""+e.lehrveranstaltung_id+"\");'>"+convertDateTime(d.von)+" "+convertDateTime(d.von, "time")+" - "+convertDateTime(d.bis, "time")+"</a></li>";
|
||||
});
|
||||
liste += "</li></ul></ul>";
|
||||
try
|
||||
{
|
||||
e.pruefung[0].termine.forEach(function(d){
|
||||
liste += "<li> <a onclick='showAnmeldungen(\""+d.pruefungstermin_id+"\", \""+e.lehrveranstaltung_id+"\");'>"+convertDateTime(d.von)+" "+convertDateTime(d.von, "time")+" - "+convertDateTime(d.bis, "time")+"</a></li>";
|
||||
});
|
||||
}
|
||||
catch(err)
|
||||
{
|
||||
var errmsg = err.message;
|
||||
}
|
||||
liste += "</ul></li></ul>";
|
||||
});
|
||||
$("#pruefungenListe").append(liste);
|
||||
}
|
||||
|
||||
@@ -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))
|
||||
|
||||
Regular → Executable
+1
@@ -836,6 +836,7 @@ else
|
||||
<matrikelnummer><![CDATA['.$student->matrikelnr.']]></matrikelnummer>
|
||||
<geburtsdatum><![CDATA['.$datum_obj->convertISODate($student->gebdatum).']]></geburtsdatum>
|
||||
<geburtsdatum_iso><![CDATA['.$student->gebdatum.']]></geburtsdatum_iso>
|
||||
<geburtsort><![CDATA['.$student->gebort.']]></geburtsort>
|
||||
<semester><![CDATA['.$semester.']]></semester>
|
||||
<verband><![CDATA['.$student->verband.']]></verband>
|
||||
<gruppe><![CDATA['.$student->gruppe.']]></gruppe>
|
||||
|
||||
Reference in New Issue
Block a user