mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 16:32:20 +00:00
Merge master into HEAD
Conflicts: include/dokument_export.class.php include/studiengang.class.php vilesci/stammdaten/reihungstestverwaltung.php
This commit is contained in:
+17
-4
@@ -74,7 +74,7 @@ else
|
||||
$xsl_stg_kz=$_GET['stg_kz'];
|
||||
else
|
||||
{
|
||||
// Werden UIDs uebergeben, wird die Vorlage des Studiengangs genommen
|
||||
// Werden UIDs oder Prestudent_IDs uebergeben, wird die Vorlage des Studiengangs genommen
|
||||
// in dem der 1. Studierende in der Liste ist
|
||||
if(isset($_GET['uid']) && $_GET['uid']!='')
|
||||
{
|
||||
@@ -89,6 +89,19 @@ else
|
||||
$xsl_stg_kz=$student_obj->studiengang_kz;
|
||||
}
|
||||
}
|
||||
elseif(isset($_GET['prestudent_id']) && $_GET['prestudent_id']!='')
|
||||
{
|
||||
if(strstr($_GET['prestudent_id'],';'))
|
||||
$prestudent_ids = explode(';',$_GET['prestudent_id']);
|
||||
else
|
||||
$prestudent_ids[1] = $_GET['prestudent_id'];
|
||||
|
||||
$prestudent_obj = new prestudent();
|
||||
if($prestudent_obj->load($prestudent_ids[1]))
|
||||
{
|
||||
$xsl_stg_kz=$prestudent_obj->studiengang_kz;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if(isset($_GET['xsl_oe_kurzbz']))
|
||||
@@ -189,7 +202,7 @@ if (isset($_GET['output']) && $_GET['output']!='pdf')
|
||||
else
|
||||
$output = $_GET['output'];
|
||||
}
|
||||
else
|
||||
else
|
||||
$output = 'pdf';
|
||||
|
||||
|
||||
@@ -281,7 +294,7 @@ elseif(in_array($xsl,array('Ressource')))
|
||||
exit;
|
||||
}
|
||||
}
|
||||
elseif(in_array($xsl,array('Inskription','Studienerfolg','OutgoingLearning','OutgoingChangeL','LearningAgree','Zahlung')))
|
||||
elseif(in_array($xsl,array('Inskription','Studienerfolg','OutgoingLearning','OutgoingChangeL','LearningAgree','Zahlung','DichiaSost')))
|
||||
{
|
||||
if(!$rechte->isBerechtigt('admin') && !$rechte->isBerechtigt('assistenz'))
|
||||
{
|
||||
@@ -666,7 +679,7 @@ else
|
||||
|
||||
// Wenn ein Style XSL uebergeben wurde wird ein zweites XML File erstellt mit den
|
||||
// Styleanweisungen und ebenfalls zum Zip hinzugefuegt
|
||||
if(isset($_GET['style_xsl']))
|
||||
if(isset($_GET['style_xsl']) || $vorlage->style!='')
|
||||
{
|
||||
//Wenn die Spalte style in der DB befuellt ist, wird dieses verwendet
|
||||
if($vorlage->style!='')
|
||||
|
||||
Reference in New Issue
Block a user