mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 10:22:18 +00:00
news_xslt_xhtml.xslt; news.php: Ort (Büro) von Studiengangsleitern und Assistenz wird nun bei den Studiengangsinformationen angezeigt, falls vorhanden.
vilesci_menu_main.inc.php: Tippfehler korrigiert
This commit is contained in:
@@ -44,6 +44,7 @@ require_once('../include/datum.class.php');
|
||||
require_once('../include/phrasen.class.php');
|
||||
require_once('../include/student.class.php');
|
||||
require_once('../include/benutzer.class.php');
|
||||
require_once('../include/ort.class.php');
|
||||
|
||||
$sprache = getSprache();
|
||||
|
||||
@@ -211,6 +212,12 @@ function getStgContent($studiengang_kz, $semester, $sprache)
|
||||
|
||||
$xml.= '<telefon><![CDATA['.$hauptnummer.' - '.$row_course_leader->telefonklappe.']]></telefon>';
|
||||
}
|
||||
if(isset($row_course_leader) && $row_course_leader->ort_kurzbz != "")
|
||||
{
|
||||
$ort = new ort();
|
||||
$ort->load($row_course_leader->ort_kurzbz);
|
||||
$xml.='<ort><![CDATA['.$ort->planbezeichnung.']]></ort>';
|
||||
}
|
||||
$xml.='</stg_ltg>';
|
||||
}
|
||||
}
|
||||
@@ -247,6 +254,12 @@ function getStgContent($studiengang_kz, $semester, $sprache)
|
||||
}
|
||||
$xml.= '<telefon><![CDATA['.$hauptnummer.' - '.$ma->telefonklappe.']]></telefon>';
|
||||
}
|
||||
if($ma->ort_kurzbz != "")
|
||||
{
|
||||
$ort = new ort();
|
||||
$ort->load($ma->ort_kurzbz);
|
||||
$xml.='<ort><![CDATA['.$ort->planbezeichnung.']]></ort>';
|
||||
}
|
||||
|
||||
$xml.='</gf_ltg>';
|
||||
}
|
||||
@@ -284,6 +297,12 @@ function getStgContent($studiengang_kz, $semester, $sprache)
|
||||
}
|
||||
$xml.= '<telefon><![CDATA['.$hauptnummer.' - '.$ma->telefonklappe.']]></telefon>';
|
||||
}
|
||||
if($ma->ort_kurzbz != "")
|
||||
{
|
||||
$ort = new ort();
|
||||
$ort->load($ma->ort_kurzbz);
|
||||
$xml.='<ort><![CDATA['.$ort->planbezeichnung.']]></ort>';
|
||||
}
|
||||
|
||||
$xml.='</stv_ltg>';
|
||||
}
|
||||
@@ -321,6 +340,12 @@ function getStgContent($studiengang_kz, $semester, $sprache)
|
||||
}
|
||||
$xml.= '<telefon><![CDATA['.$hauptnummer.' - '.$ma->telefonklappe.']]></telefon>';
|
||||
}
|
||||
if($ma->ort_kurzbz != "")
|
||||
{
|
||||
$ort = new ort();
|
||||
$ort->load($ma->ort_kurzbz);
|
||||
$xml.='<ort><![CDATA['.$ort->planbezeichnung.']]></ort>';
|
||||
}
|
||||
|
||||
$xml.='</ass>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user