mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
Das englisches Zeugnis zeigt nun den englischen Projektarbeitstitel an. Wenn kein englischer Titel vorhanden ist, wird der deutsche Titel angezeigt
This commit is contained in:
+3
-1
@@ -183,12 +183,13 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
|
||||
$datum_aktuell = date('d.m.Y');
|
||||
$xml .= " <ort_datum>".$datum_aktuell."</ort_datum>";
|
||||
|
||||
$qry_proj = "SELECT lehrveranstaltung_id, titel, themenbereich, note FROM lehre.tbl_projektarbeit JOIN lehre.tbl_lehreinheit USING(lehreinheit_id) WHERE student_uid='".addslashes($uid_arr[$i])."' AND studiensemester_kurzbz='".addslashes($studiensemester_kurzbz)."' AND projekttyp_kurzbz in('Bachelor', 'Diplom') ORDER BY beginn ASC, projektarbeit_id ASC";
|
||||
$qry_proj = "SELECT lehrveranstaltung_id, titel, themenbereich, note, titel_english FROM lehre.tbl_projektarbeit JOIN lehre.tbl_lehreinheit USING(lehreinheit_id) WHERE student_uid='".addslashes($uid_arr[$i])."' AND studiensemester_kurzbz='".addslashes($studiensemester_kurzbz)."' AND projekttyp_kurzbz in('Bachelor', 'Diplom') ORDER BY beginn ASC, projektarbeit_id ASC";
|
||||
if($result_proj = $db->db_query($qry_proj))
|
||||
{
|
||||
while($row_proj = $db->db_fetch_object($result_proj))
|
||||
{
|
||||
$projektarbeit[$row_proj->lehrveranstaltung_id]['titel']=$row_proj->titel;
|
||||
$projektarbeit[$row_proj->lehrveranstaltung_id]['titel_en']=$row_proj->titel_english;
|
||||
$projektarbeit[$row_proj->lehrveranstaltung_id]['themenbereich']=$row_proj->themenbereich;
|
||||
$projektarbeit[$row_proj->lehrveranstaltung_id]['note']=$row_proj->note;
|
||||
}
|
||||
@@ -263,6 +264,7 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
|
||||
$nl2='';
|
||||
$xml_fussnote .=" <titel_bezeichnung>$typ</titel_bezeichnung>";
|
||||
$xml_fussnote .=" <titel><![CDATA[".$projektarbeit[$row->lehrveranstaltung_id]['titel'].$nl2."]]></titel>";
|
||||
$xml_fussnote .=" <titel_en><![CDATA[".$projektarbeit[$row->lehrveranstaltung_id]['titel_en'].$nl2."]]></titel_en>";
|
||||
//$note = $note_arr[$projektarbeit[$row->lehrveranstaltung_id]['note']];
|
||||
$note = $projektarbeit[$row->lehrveranstaltung_id]['note'];
|
||||
//$nl = str_repeat('\n',($anzahl_nl));
|
||||
|
||||
@@ -314,7 +314,15 @@
|
||||
</xsl:choose>
|
||||
<xsl:text> </xsl:text>
|
||||
</fo:inline>
|
||||
<xsl:value-of select="titel"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="string-length(titel_en)!=0">
|
||||
<xsl:value-of select="titel_en"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="titel"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
|
||||
</fo:block>
|
||||
</fo:table-cell>
|
||||
<fo:table-cell border-width="0.2mm" border-style="solid">
|
||||
|
||||
Reference in New Issue
Block a user