From 6e6b43fbdcd370230a0a46956a6ae4a35f916aaf Mon Sep 17 00:00:00 2001 From: Stefan Puraner Date: Thu, 9 Oct 2014 11:50:09 +0000 Subject: [PATCH] Dokument Lehrveranstaltungsinformation in FAS eingebaut (KTU Addon) --- content/pdfExport.php | 2 +- rdf/ktu_lvinfo.xml.php | 17 +++++++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/content/pdfExport.php b/content/pdfExport.php index 147a9fc2b..4ab891654 100644 --- a/content/pdfExport.php +++ b/content/pdfExport.php @@ -178,7 +178,7 @@ elseif(in_array($xsl,array('Zertifikat','Diplomurkunde','Diplomzeugnis','Bakkurk 'PrProtokollBakk','PrProtokollDipl','Lehrauftrag','DiplomurkundeEng','Zeugnis','ZeugnisEng','StudienerfolgEng', 'Sammelzeugnis','PrProtDiplEng','PrProtBakkEng','BakkzeugnisEng','DiplomzeugnisEng','statusbericht','Uebernahme', 'DiplSupplement','Zutrittskarte','Projektbeschr','Ausbildungsver','AusbildStatus','PrProtBA','PrProtMA', -'PrProtBAEng','PrProtMAEng','Studienordnung','Erfolgsnachweis','ErfolgsnwHead','Studienblatt','lvInfo'))) +'PrProtBAEng','PrProtMAEng','Studienordnung','Erfolgsnachweis','ErfolgsnwHead','Studienblatt','LV_Informationen'))) { if(!$rechte->isBerechtigt('admin') && !$rechte->isBerechtigt('assistenz')) { diff --git a/rdf/ktu_lvinfo.xml.php b/rdf/ktu_lvinfo.xml.php index 5abca5197..8e9a13230 100644 --- a/rdf/ktu_lvinfo.xml.php +++ b/rdf/ktu_lvinfo.xml.php @@ -65,6 +65,11 @@ function sortArray($a, $b) return ($a->lv_bezeichnung < $b->lv_bezeichnung) ? -1 : 1; } +function removeTags($string) +{ + return preg_replace("/<(.*?)>/im"," ", str_replace(["
  • ","

  • "], ". ", $string)); +} + if($lvid == null) { if($studiengang->studiengang_kz > 0) @@ -117,13 +122,13 @@ foreach($studiengang->lehrveranstaltungen as $lv) if($lv->lvinfo->errormsg === NULL) { echo "lvinfo->titel."]]>"; - echo "lvinfo->lehrziele."]]>"; - echo "lvinfo->lehrinhalte."]]>"; - echo "lvinfo->methodik."]]>"; + echo "lvinfo->lehrziele)."]]>"; + echo "lvinfo->lehrinhalte)."]]>"; + echo "lvinfo->methodik)."]]>"; echo "lvinfo->sprache."]]>"; - echo "lvinfo->voraussetzungen."]]>"; - echo "lvinfo->voraussetzungen."]]>"; - echo "lvinfo->pruefungsordnung."]]>"; + echo "lvinfo->voraussetzungen)."]]>"; + echo "lvinfo->voraussetzungen)."]]>"; + echo "lvinfo->pruefungsordnung)."]]>"; } else {