diff --git a/content/fas.xul.php b/content/fas.xul.php
index 37bfe04e0..32d9dfe09 100644
--- a/content/fas.xul.php
+++ b/content/fas.xul.php
@@ -120,7 +120,7 @@ foreach($addon_obj->result as $addon)
-
+
diff --git a/content/student/studentoverlay.js.php b/content/student/studentoverlay.js.php
index acdb3a4c7..083987b30 100644
--- a/content/student/studentoverlay.js.php
+++ b/content/student/studentoverlay.js.php
@@ -2066,7 +2066,7 @@ function StudentAddRolle(rolle, semester, studiensemester)
// ****
// * Druckt die Instkriptionsbestaetigung
// ****
-function StudentPrintInskriptionsbestaetigung()
+function StudentPrintInskriptionsbestaetigung(event)
{
tree = document.getElementById('student-tree');
//Alle markierten Studenten holen
@@ -2095,8 +2095,15 @@ function StudentPrintInskriptionsbestaetigung()
return false;
}
+ if (event.shiftKey)
+ var output='odt';
+ else if (event.ctrlKey)
+ var output='doc';
+ else
+ var output='pdf';
+
if(anzahl>0)
- window.open('content/pdfExport.php?xml=student.rdf.php&xsl=Inskription&stg_kz='+stg_kz+'&uid='+paramList+'&ss='+stsem,'Inskriptionsbestaetigung', '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('content/pdfExport.php?xml=student.rdf.php&xsl=Inskription&stg_kz='+stg_kz+'&uid='+paramList+'&ss='+stsem+'&output='+output,'Inskriptionsbestaetigung', 'height=200,width=350,left=0,top=0,hotkeys=0,resizable=yes,status=no,scrollbars=yes,toolbar=no,location=no,menubar=no,dependent=yes');
else
alert('Bitte einen Studenten auswaehlen');
}