Lehrveranstaltungszeugnis

Note als letzte Spalte; Lehrnergebnisse statt Lehrinhalte
This commit is contained in:
kindlm
2016-02-23 20:03:14 +01:00
parent 754f24ec7f
commit 47231d69c6
3 changed files with 204 additions and 26 deletions
+7 -1
View File
@@ -152,6 +152,7 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
}
$lehrinhalte = '';
$lehrziele = '';
$infoqry = "SELECT * FROM campus.tbl_lvinfo WHERE sprache='German' AND lehrveranstaltung_id = ".$db->db_add_param($lehrveranstaltung_id, FHC_INTEGER);
if($db->db_query($infoqry))
{
@@ -162,6 +163,11 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
{
$lehrinhalte .= $lehrinhalte_arr[$i].'\n';
}
$lehrziele_arr = explode("<br>",$inforow->lehrziele);
for ($i = 0; $i < sizeof($lehrziele_arr); $i++)
{
$lehrziele .= $lehrziele_arr[$i].'\n';
}
}
}
@@ -263,7 +269,7 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
$xml .= " <ects>".number_format($ects,1)."</ects>";
$xml .= " <lvleiter>".$leiter_titel." ".$leiter_vorname." ".$leiter_nachname.($leiter_titelpost!=''?', '.$leiter_titelpost:'')."</lvleiter>";
$xml .= " <lehrinhalte><![CDATA[".clearHtmlTags($lehrinhalte)."]]></lehrinhalte>";
$xml .= " <lehrziele><![CDATA[".clearHtmlTags($lehrziele)."]]></lehrziele>";
$xml .= " </zertifikat>";
}