From 8bd7674551ec62d17837259688e0ec8e0220cd31 Mon Sep 17 00:00:00 2001 From: oesi Date: Fri, 30 Sep 2016 16:27:08 +0200 Subject: [PATCH 1/2] Logo Pfad korrigert --- include/tw/abgabe_lektor_benotung.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tw/abgabe_lektor_benotung.php b/include/tw/abgabe_lektor_benotung.php index 5972d3a3b..a3bf39da8 100644 --- a/include/tw/abgabe_lektor_benotung.php +++ b/include/tw/abgabe_lektor_benotung.php @@ -168,7 +168,7 @@ else $pdf->SetXY(30,30); //Logo - $pdf->Image("../../skin/styles/tw/logo.jpg","400","25","150","78","jpg",""); + $pdf->Image("../../skin/styles/".DEFAULT_STYLE."/logo.jpg","400","25","150","78","jpg",""); $pdf->SetFont('Arial','',12); $pdf->SetFillColor(190,190,190); @@ -430,7 +430,7 @@ else $pdf->SetXY(30,30); //Logo - $pdf->Image("../../skin/images/logo.jpg","400","25","160","54","jpg",""); + $pdf->Image("../../skin/styles/".DEFAULT_STYLE."/logo.jpg","400","25","150","78","jpg",""); $pdf->SetFont('Arial','',12); $pdf->SetFillColor(190,190,190); $pdf->SetXY(30,110-$titelabzug); From 42757176b5af2310e2d31a38900950b7554c9e31 Mon Sep 17 00:00:00 2001 From: oesi Date: Fri, 30 Sep 2016 16:30:23 +0200 Subject: [PATCH 2/2] Fixed broken Update Script --- system/dbupdate_3.2.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/system/dbupdate_3.2.php b/system/dbupdate_3.2.php index fb1480a8a..28b018a91 100755 --- a/system/dbupdate_3.2.php +++ b/system/dbupdate_3.2.php @@ -1202,8 +1202,9 @@ if(!$result = @$db->db_query("SELECT verpflichtend FROM public.tbl_ampel LIMIT 1 if(!$db->db_query($qry)) echo 'public.tbl_ampel '.$db->db_last_error().'
'; - else - echo '
Neue Spalten "verpflichtend" und "buttontext" in Tabelle public.tbl_ampel hinzugefügt
'; + else + echo '
Neue Spalten "verpflichtend" und "buttontext" in Tabelle public.tbl_ampel hinzugefügt
'; +} // Neue Spalte studienplan_id in public.tbl_bewerbungstermine if(!$result = @$db->db_query("SELECT lieferbedingungen FROM public.tbl_firma LIMIT 1"))