mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 02:12:17 +00:00
Added new xml field in Standortcode in container Lehrgangmeldung
Added xml field Standortcode in container Lehrgangmeldung > Lehrgang > StudentIn. The default value should be set in config-file. Signed-off-by: Cris <hainberg@technikum-wien.at>
This commit is contained in:
@@ -249,4 +249,7 @@ define('BIS_FUNKTIONSCODE_6_ARR', array(
|
||||
'Team'
|
||||
));
|
||||
|
||||
// Standortcode fuer Lehrgaenge
|
||||
define('BIS_STANDORTCODE_LEHRGAENGE', '0');
|
||||
|
||||
?>
|
||||
|
||||
@@ -93,6 +93,18 @@ if(isset($_GET['plausi']))
|
||||
{
|
||||
$plausi=$_GET['plausi'];
|
||||
}
|
||||
|
||||
// Standortcode
|
||||
if (defined('BIS_STANDORTCODE_LEHRGAENGE') && BIS_STANDORTCODE_LEHRGAENGE != '0')
|
||||
{
|
||||
$standortcode = BIS_STANDORTCODE_LEHRGAENGE;
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<H2>Standortcode für Lehrgänge fehlt.</H2>";
|
||||
exit;
|
||||
}
|
||||
|
||||
$datumobj=new datum();
|
||||
|
||||
//Lehrgangsdaten auslesen
|
||||
@@ -672,6 +684,7 @@ if($result = $db->db_query($qry))
|
||||
}
|
||||
$datei.="
|
||||
<StudStatusCode>".$status."</StudStatusCode>
|
||||
<StandortCode>" .$standortcode. "</StandortCode>
|
||||
</StudentIn>";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user