mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 00:24:35 +00:00
Stempelvorlagen, shiftkey, ctrlkey, Archiv
Englische Zeugnisvorlage mit Stempel druckt nun auch mehrseitig. Zeugnis und Diplomasupplement können im FAS auch als .odt und .doc durch drücken der Umschalt- bzw. Strg-Taste generiert werden. Menüpunkt "Zeugnis" (Karteireiter) umbenannt in "Archiv".
This commit is contained in:
+3
-3
@@ -118,10 +118,10 @@ foreach($addon_obj->result as $addon)
|
||||
<command id="menu-statistic-lektorenstatistik:command" oncommand="StatistikPrintLektorenstatistik();"/>
|
||||
<command id="menu-statistic-stromanalyse:command" oncommand="StatistikPrintStromanalyse();"/>
|
||||
<command id="menu-dokumente-inskriptionsbestaetigung:command" oncommand="StudentPrintInskriptionsbestaetigung();"/>
|
||||
<command id="menu-dokumente-zeugnis:command" oncommand="StudentCreateZeugnis('Zeugnis');"/>
|
||||
<command id="menu-dokumente-zeugniseng:command" oncommand="StudentCreateZeugnis('ZeugnisEng');"/>
|
||||
<command id="menu-dokumente-zeugnis:command" oncommand="StudentCreateZeugnis('Zeugnis',event);"/>
|
||||
<command id="menu-dokumente-zeugniseng:command" oncommand="StudentCreateZeugnis('ZeugnisEng',event);"/>
|
||||
<!--<command id="menu-dokumente-sammelzeugnis:command" oncommand="StudentCreateSammelzeugnis('Sammelzeugnis');"/>-->
|
||||
<command id="menu-dokumente-diplsupplement:command" oncommand="StudentCreateDiplSupplement();"/>
|
||||
<command id="menu-dokumente-diplsupplement:command" oncommand="StudentCreateDiplSupplement(event);"/>
|
||||
<command id="menu-dokumente-studienerfolg-normal:command" oncommand="StudentCreateStudienerfolg('Studienerfolg');"/>
|
||||
<command id="menu-dokumente-studienerfolg-finanzamt:command" oncommand="StudentCreateStudienerfolg('Studienerfolg','finanzamt');"/>
|
||||
<command id="menu-dokumente-studienerfolg-allesemester-normal:command" oncommand="StudentCreateStudienerfolg('Studienerfolg','', '', 'true');"/>
|
||||
|
||||
@@ -345,7 +345,7 @@ else
|
||||
<tab id="student-tab-betriebsmittel" label="Betriebsmittel" />
|
||||
<tab id="student-tab-io" label="In/Out" />
|
||||
<tab id="student-tab-noten" label="Noten" />
|
||||
<tab id="student-tab-zeugnis" label="Zeugnis" />
|
||||
<tab id="student-tab-zeugnis" label="Archiv" />
|
||||
<tab id="student-tab-pruefung" label="Prüfung" />
|
||||
<tab id="student-tab-abschlusspruefung" label="AbschlussPrüfung" />
|
||||
<tab id="student-tab-projektarbeit" label="Projektarbeit" />
|
||||
|
||||
@@ -2653,10 +2653,10 @@ function StudentKontoZahlungsbestaetigung()
|
||||
// ****
|
||||
// * Erstellt das Zeugnis fuer einen oder mehrere Studenten
|
||||
// ****
|
||||
function StudentCreateZeugnis(xsl)
|
||||
function StudentCreateZeugnis(xsl,event)
|
||||
{
|
||||
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
|
||||
|
||||
|
||||
tree = document.getElementById('student-tree');
|
||||
|
||||
//Markierte Studenten holen
|
||||
@@ -2683,9 +2683,24 @@ function StudentCreateZeugnis(xsl)
|
||||
alert('Bitte einen Studenten auswaehlen');
|
||||
return false;
|
||||
}
|
||||
|
||||
var output = 'pdf';
|
||||
if(typeof(event)!=='undefined')
|
||||
{
|
||||
if (event.shiftKey)
|
||||
{
|
||||
var output = 'odt';
|
||||
}
|
||||
else if (event.ctrlKey)
|
||||
{
|
||||
var output = 'doc';
|
||||
}
|
||||
else
|
||||
{
|
||||
var output = 'pdf';
|
||||
}
|
||||
}
|
||||
//PDF erzeugen
|
||||
window.open('<?php echo APP_ROOT; ?>content/pdfExport.php?xml=zeugnis.rdf.php&output=pdf&xsl='+xsl+'&uid='+paramList+'&ss='+ss+'&xsl_stg_kz='+xsl_stg_kz,'Zeugnis', 'height=200,width=350,left=0,top=0,hotkeys=0,resizable=yes,status=no,scrollbars=yes,toolbar=no,location=no,menubar=no,dependent=yes');
|
||||
window.open('<?php echo APP_ROOT; ?>content/pdfExport.php?xml=zeugnis.rdf.php&output='+output+'&xsl='+xsl+'&uid='+paramList+'&ss='+ss+'&xsl_stg_kz='+xsl_stg_kz,'Zeugnis', 'height=200,width=350,left=0,top=0,hotkeys=0,resizable=yes,status=no,scrollbars=yes,toolbar=no,location=no,menubar=no,dependent=yes');
|
||||
}
|
||||
|
||||
// ****
|
||||
@@ -2754,7 +2769,7 @@ function StudentZeugnisAnzeigen()
|
||||
}
|
||||
|
||||
// ****
|
||||
// * Loescht ein Zeugnis
|
||||
// * Loescht ein Dokument aus dem Archiv
|
||||
// ****
|
||||
function StudentAkteDel()
|
||||
{
|
||||
@@ -2778,7 +2793,7 @@ function StudentAkteDel()
|
||||
|
||||
studiengang_kz = document.getElementById('student-detail-menulist-studiengang_kz').value;
|
||||
//Abfrage ob wirklich geloescht werden soll
|
||||
if (confirm('Zeugnis wirklich entfernen?'))
|
||||
if (confirm('Dokument wirklich entfernen?'))
|
||||
{
|
||||
//Script zum loeschen aufrufen
|
||||
var req = new phpRequest('student/studentDBDML.php','','');
|
||||
@@ -4373,7 +4388,7 @@ function StudentShowPersonendetails()
|
||||
// ****
|
||||
// * Erstellt das Diploma Supplement fuer einen oder mehrere Studenten
|
||||
// ****
|
||||
function StudentCreateDiplSupplement()
|
||||
function StudentCreateDiplSupplement(event)
|
||||
{
|
||||
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
|
||||
|
||||
@@ -4402,9 +4417,20 @@ function StudentCreateDiplSupplement()
|
||||
alert('Bitte einen Studenten auswaehlen');
|
||||
return false;
|
||||
}
|
||||
|
||||
if (event.shiftKey)
|
||||
{
|
||||
var output='odt';
|
||||
}
|
||||
else if (event.ctrlKey)
|
||||
{
|
||||
var output='doc';
|
||||
}
|
||||
else
|
||||
{
|
||||
var output='pdf';
|
||||
}
|
||||
//PDF erzeugen
|
||||
window.open('<?php echo APP_ROOT; ?>content/pdfExport.php?xml=diplomasupplement.xml.php&output=pdf&xsl=DiplSupplement&xsl_stg_kz='+stg_kz+'&uid='+paramList,'DiplomaSupplement', 'height=200,width=350,left=0,top=0,hotkeys=0,resizable=yes,status=no,scrollbars=yes,toolbar=no,location=no,menubar=no,dependent=yes');
|
||||
window.open('<?php echo APP_ROOT; ?>content/pdfExport.php?xml=diplomasupplement.xml.php&output='+output+'&xsl=DiplSupplement&xsl_stg_kz='+stg_kz+'&uid='+paramList,'DiplomaSupplement', 'height=200,width=350,left=0,top=0,hotkeys=0,resizable=yes,status=no,scrollbars=yes,toolbar=no,location=no,menubar=no,dependent=yes');
|
||||
}
|
||||
|
||||
// ****
|
||||
|
||||
@@ -43,7 +43,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
</popupset>
|
||||
<hbox>
|
||||
<groupbox id="student-zeugnis-groupbox" flex="1">
|
||||
<caption label="Zeugnis"/>
|
||||
<caption label="Dokumente"/>
|
||||
<tree id="student-zeugnis-tree" seltype="single" hidecolumnpicker="false" flex="1"
|
||||
datasources="rdf:null" ref="http://www.technikum-wien.at/akte/liste"
|
||||
style="margin-left:10px;margin-right:10px;margin-bottom:5px;" height="150px" enableColumnDrag="true"
|
||||
|
||||
Reference in New Issue
Block a user