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:
Manfred Kindl
2013-11-06 11:19:18 +00:00
parent edd3cb6438
commit e4578e4a57
3 changed files with 31 additions and 6 deletions
+25
View File
@@ -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>';
}
+1 -1
View File
@@ -189,7 +189,7 @@ $menu=array
'Kartentausch'=>array('name'=>'Kartentausch','link'=>'fhausweis/kartentausch.php','target'=>'main'),
'Verlaengerung'=>array('name'=>'Verlängerung','link'=>'fhausweis/verlaengerung.php','target'=>'main'),
'Suche'=>array('name'=>'Suche','link'=>'fhausweis/search.php','target'=>'main'),
'Syncronisation'=>array('name'=>'Syncronisation', 'link'=>'stammdaten/imexport/zutrittskarten/index.html', 'target'=>'main'),
'Synchronisation'=>array('name'=>'Syncronisation', 'link'=>'stammdaten/imexport/zutrittskarten/index.html', 'target'=>'main'),
'Korrektur'=>array('name'=>'Kartenkorrektur','link'=>'fhausweis/kartenkorrektur.php','target'=>'main')
)
),
+5 -5
View File
@@ -4,12 +4,9 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<html>
<head>
<link rel="stylesheet" href="../skin/style.css.php" type="text/css" />
<title>News</title>
<script type="text/javascript" src="../include/js/flexcroll.js"></script>
<link href="../skin/flexcrollstyles.css" rel="stylesheet" type="text/css" />
<title>News</title>
</head>
<body>
<div class="flexcroll" style="outline: none;">
<h1>News</h1>
<table class="cmstable" cellspacing="0" cellpadding="0">
<tr>
@@ -39,7 +36,6 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
</xsl:if>
</tr>
</table>
</div>
</body>
</html>
</xsl:template>
@@ -109,6 +105,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:variable name="uid" select="uid"></xsl:variable>
<p><a href="../cis/private/profile/index.php?uid={$uid}"><xsl:value-of select="name" /></a><br />
T: <xsl:value-of select="telefon" /><br />
R: <xsl:value-of select="ort" /><br />
E: <xsl:variable name="mail" select="email"></xsl:variable>
<a href="mailto:{$mail}"><xsl:value-of select="email" /></a></p>
</xsl:template>
@@ -116,6 +113,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:variable name="uid" select="uid"></xsl:variable>
<p><a href="../cis/private/profile/index.php?uid={$uid}"><xsl:value-of select="name" /></a><br />
T: <xsl:value-of select="telefon" /><br />
R: <xsl:value-of select="ort" /><br />
E: <xsl:variable name="mail" select="email"></xsl:variable>
<a href="mailto:{$mail}"><xsl:value-of select="email" /></a></p>
</xsl:template>
@@ -123,6 +121,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:variable name="uid" select="uid"></xsl:variable>
<p><a href="../cis/private/profile/index.php?uid={$uid}"><xsl:value-of select="name" /></a><br />
T: <xsl:value-of select="telefon" /><br />
R: <xsl:value-of select="ort" /><br />
E: <xsl:variable name="mail" select="email"></xsl:variable>
<a href="mailto:{$mail}"><xsl:value-of select="email" /></a></p>
</xsl:template>
@@ -130,6 +129,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:variable name="uid" select="uid"></xsl:variable>
<p><a href="../cis/private/profile/index.php?uid={$uid}"><xsl:value-of select="name" /></a><br />
T: <xsl:value-of select="telefon" /><br />
R: <xsl:value-of select="ort" /><br />
E: <xsl:variable name="mail" select="email"></xsl:variable>
<a href="mailto:{$mail}"><xsl:value-of select="email" /></a></p>
</xsl:template>