mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 09:52:22 +00:00
FAS: BESCHEID generation & archiving
. generation and archiving bescheide in EN and DE . adaptation of stg_art in xsl-forms and abschluesspruefung.rdf.php . deletion of few Lehrgang-Zeugnis-xsl templates, which are not used anymore
This commit is contained in:
@@ -272,7 +272,7 @@ if($xsl=='AccountInfo')
|
||||
exit;
|
||||
}
|
||||
}
|
||||
elseif(in_array($xsl,array('Lehrveranstaltungszeugnis','Zertifikat','Diplomurkunde','Diplomzeugnis','Bakkurkunde','BakkurkundeEng','Bakkzeugnis',
|
||||
elseif(in_array($xsl,array('Lehrveranstaltungszeugnis','Zertifikat','Diplomurkunde','Diplomzeugnis','Bescheid', 'BescheidEng','Bakkurkunde','BakkurkundeEng','Bakkzeugnis',
|
||||
'PrProtokollBakk','PrProtokollDipl','Lehrauftrag','DiplomurkundeEng','Zeugnis','ZeugnisEng','StudienerfolgEng',
|
||||
'Sammelzeugnis','PrProtDiplEng','PrProtBakkEng','BakkzeugnisEng','DiplomzeugnisEng','statusbericht',
|
||||
'DiplSupplement','Zutrittskarte','Projektbeschr','Ausbildungsver','AusbildStatus','PrProtBA','PrProtMA',
|
||||
@@ -395,7 +395,7 @@ if (!isset($_REQUEST["archive"]))
|
||||
default:
|
||||
$endung = 'pdf';
|
||||
}
|
||||
|
||||
|
||||
// Load the XSL source
|
||||
$xsl_doc = new DOMDocument;
|
||||
|
||||
@@ -738,14 +738,14 @@ else
|
||||
$tempPdfName = $vorlage->vorlage_kurzbz.'.pdf';
|
||||
exec("unoconv -e IsSkipEmptyPages=false --stdout -f pdf $tempname_zip > $tempPdfName");
|
||||
}
|
||||
$file = $tempfolder.'/'.$tempPdfName;
|
||||
$file = $tempfolder.'/'.$tempPdfName;
|
||||
}
|
||||
else
|
||||
{
|
||||
if(PDF_CREATE_FUNCTION=='FOP')
|
||||
{
|
||||
$fop = new fop();
|
||||
$file = $fop->generatePdf($xml_doc->saveXML(), $xsl_content, $filename, "F");
|
||||
$file = $fop->generatePdf($xml_doc->saveXML(), $xsl_content, $filename, "F");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -769,7 +769,7 @@ else
|
||||
echo('Failed to generate PDF');
|
||||
}
|
||||
$tmp = sys_get_temp_dir();
|
||||
$file = $tmp."/FHC".$filename.".pdf";
|
||||
$file = $tmp."/FHC".$filename.".pdf";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user