mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 08:34:29 +00:00
This commit is contained in:
@@ -82,6 +82,7 @@ echo '<?xml-stylesheet href="datepicker/datepicker.css" type="text/css"?>';
|
||||
<command id="menu-statistic-lehrauftragsliste:command" oncommand="StatistikPrintLehrauftragsliste();"/>
|
||||
<command id="menu-dokumente-inskriptionsbestaetigung:command" oncommand="StudentPrintInskriptionsbestaetigung();"/>
|
||||
<command id="menu-dokumente-zeugnis:command" oncommand="StudentCreateZeugnis();"/>
|
||||
<command id="menu-dokumente-diplsupplement:command" oncommand="StudentCreateDiplSupplement();"/>
|
||||
<command id="menu-help-close:command" oncommand="OpenAboutDialog()"/>
|
||||
</commandset>
|
||||
|
||||
@@ -207,6 +208,12 @@ echo '<?xml-stylesheet href="datepicker/datepicker.css" type="text/css"?>';
|
||||
label = "&menu-dokumente-zeugnis.label;"
|
||||
command = "menu-dokumente-zeugnis:command"
|
||||
accesskey = "&menu-dokumente-zeugnis.accesskey;"/>
|
||||
<menuitem
|
||||
id = "menu-dokumente-diplsupplement"
|
||||
key = "menu-dokumente-diplsupplement:key"
|
||||
label = "&menu-dokumente-diplsupplement.label;"
|
||||
command = "menu-dokumente-diplsupplement:command"
|
||||
accesskey = "&menu-dokumente-diplsupplement.accesskey;"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menu id="menu-help" label="&menu-help.label;" accesskey="&menu-help.accesskey;">
|
||||
|
||||
@@ -127,7 +127,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
<template>
|
||||
<menupopup>
|
||||
<menuitem value="rdf:http://www.technikum-wien.at/lehrform/rdf#kurzbz"
|
||||
label="rdf:http://www.technikum-wien.at/lehrform/rdf#kurzbz"
|
||||
label="rdf:http://www.technikum-wien.at/lehrform/rdf#kurzbz rdf:http://www.technikum-wien.at/lehrform/rdf#bezeichnung"
|
||||
uri="rdf:*"/>
|
||||
</menupopup>
|
||||
</template>
|
||||
@@ -141,7 +141,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
<template>
|
||||
<menupopup>
|
||||
<menuitem value="rdf:http://www.technikum-wien.at/raumtyp/rdf#kurzbz"
|
||||
label="rdf:http://www.technikum-wien.at/raumtyp/rdf#kurzbz"
|
||||
label="rdf:http://www.technikum-wien.at/raumtyp/rdf#kurzbz rdf:http://www.technikum-wien.at/raumtyp/rdf#beschreibung"
|
||||
uri="rdf:*"/>
|
||||
</menupopup>
|
||||
</template>
|
||||
@@ -154,7 +154,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
<template>
|
||||
<menupopup>
|
||||
<menuitem value="rdf:http://www.technikum-wien.at/raumtyp/rdf#kurzbz"
|
||||
label="rdf:http://www.technikum-wien.at/raumtyp/rdf#kurzbz"
|
||||
label="rdf:http://www.technikum-wien.at/raumtyp/rdf#kurzbz rdf:http://www.technikum-wien.at/raumtyp/rdf#beschreibung"
|
||||
uri="rdf:*"/>
|
||||
</menupopup>
|
||||
</template>
|
||||
|
||||
@@ -3379,4 +3379,46 @@ function StudentSendMail()
|
||||
if(anzfault!=0)
|
||||
alert(anzfault+' Student konnten nicht hinzugefuegt werden weil keine UID eingetragen ist!');
|
||||
window.location.href=mailempfaenger;
|
||||
}
|
||||
|
||||
|
||||
// ****
|
||||
// * Erstellt das Diploma Supplement fuer einen oder mehrere Studenten
|
||||
// ****
|
||||
function StudentCreateDiplSupplement()
|
||||
{
|
||||
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
|
||||
|
||||
tree = document.getElementById('student-tree');
|
||||
|
||||
//Markierte Studenten holen
|
||||
var start = new Object();
|
||||
var end = new Object();
|
||||
var numRanges = tree.view.selection.getRangeCount();
|
||||
var paramList= '';
|
||||
|
||||
for (var t = 0; t < numRanges; t++)
|
||||
{
|
||||
tree.view.selection.getRangeAt(t,start,end);
|
||||
for (var v = start.value; v <= end.value; v++)
|
||||
{
|
||||
if(!tree.view.getParentIndex(v))
|
||||
{
|
||||
alert('Zum Drucken der Bestaetigung bitte die oberste Buchung waehlen');
|
||||
return false;
|
||||
}
|
||||
var col = tree.columns ? tree.columns["student-treecol-uid"] : "student-treecol-uid";
|
||||
var uid=tree.view.getCellText(v,col);
|
||||
paramList += ';'+uid;
|
||||
}
|
||||
}
|
||||
|
||||
if(paramList.replace(";",'')=='')
|
||||
{
|
||||
alert('Bitte einen Studenten auswaehlen');
|
||||
return false;
|
||||
}
|
||||
|
||||
//PDF erzeugen
|
||||
window.open('<?php echo APP_ROOT; ?>content/pdfExport.php?xml=diplomasupplement.xml.php&xsl=DiplSupplement&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');
|
||||
}
|
||||
Reference in New Issue
Block a user