diff --git a/rdf/diplomasupplement.xml.php b/rdf/diplomasupplement.xml.php
index e0c34b7c1..e9e2325f6 100644
--- a/rdf/diplomasupplement.xml.php
+++ b/rdf/diplomasupplement.xml.php
@@ -482,6 +482,7 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
echo "";
for($start = $semesterNumberStart; $start <= $semesterNumberEnd; $start++)
{
+ $semester_ects = 0;
//$thesis_beschreibung = '';
echo "";
@@ -567,6 +568,7 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
$arrayLvAusbildungssemester[$row_stud->lehrveranstaltung_id]['note'] = $row_stud->anmerkung;
$arrayLvAusbildungssemester[$row_stud->lehrveranstaltung_id]['sort'] = $row_stud->sort;
$ects_total += $row_stud->ects;
+ $semester_ects +=$row_stud->ects;
}
else
{
@@ -857,11 +859,12 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
'.$note_outgoing.'
';
+
$ects_total +=$row_outgoing->ects;
}
}
}
-
+ echo ''.$semester_ects.'';
echo "";
}
echo "";
diff --git a/rdf/zeugnis.rdf.php b/rdf/zeugnis.rdf.php
index 2d2ae9a1e..4b356a218 100644
--- a/rdf/zeugnis.rdf.php
+++ b/rdf/zeugnis.rdf.php
@@ -227,6 +227,7 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
$obj->getZeugnisnoten($lehrveranstaltung_id=null, $uid_arr[$i], $studiensemester_kurzbz);
+ $ects_gesamt = 0;
foreach ($obj->result as $row)
{
if($row->zeugnis)
@@ -364,6 +365,8 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
else
$ectspunkte=number_format($row->ects,2);
}
+ $ects_gesamt+=$ectspunkte;
+
$xml .= " ".$ectspunkte."";
$xml .= " ".$row->lv_lehrform_kurzbz."";
if($auslandssemester)
@@ -376,6 +379,7 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
$xml .= " ";
}
}
+ $xml .= "".$ects_gesamt."";
$xml .= $xml_fussnote;
$xml .= " ";
}