Dokumente für ao. Studierende hinzugefügt

This commit is contained in:
Martin Tatzber
2014-01-13 11:21:24 +00:00
parent 3be30559b4
commit c4ef725f5d
12 changed files with 2211 additions and 24 deletions
+4 -4
View File
@@ -1,5 +1,5 @@
<?php
/* Copyright (C) 2006 Technikum-Wien
/* Copyright (C) 2006 fhcomplete.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
@@ -37,7 +37,6 @@ require_once('../include/vorlage.class.php');
$user = get_uid();
$db = new basis_db();
loadVariables($user);
function clean_string($string)
{
@@ -85,11 +84,11 @@ else
else
if(isset($_GET['uid']) && $_GET['uid']!='')
{
if(strstr(';',$_GET['uid']))
if(strstr($_GET['uid'],';'))
$uids = explode(';',$_GET['uid']);
else
$uids = $_GET['uid'];
//var_dump($uids);
$qry = "SELECT student_uid, studiengang_kz FROM public.tbl_student WHERE student_uid='".addslashes($uids[1])."'";
if($result_std = $db->db_query($qry))
if($db->db_num_rows($result_std)==1)
@@ -142,6 +141,7 @@ else
}
$xsl_content = $vorlage->text;
loadVariables($user);
if (!isset($_REQUEST["archive"]))
{
@@ -1,5 +1,5 @@
<?php
/* Copyright (C) 2006 Technikum-Wien
/* Copyright (C) 2006 fhcomplete.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
@@ -38,10 +38,10 @@ echo "<?xml-stylesheet href=\"".APP_ROOT."content/bindings.css\" type=\"text/css
<!-- Zeugnis Overlay -->
<vbox id="lehrveranstaltung-noten" style="margin:0px;" flex="1">
<popupset>
<popup id="lehrveranstaltung-noten-tree-popup">
<menupopup id="lehrveranstaltung-noten-tree-popup">
<menuitem label="Entfernen" oncommand="LehrveranstaltungNotenDelete();" id="lehrveranstaltung-noten-tree-popup-delete" hidden="false"/>
<menuitem label="Freifaecher-Zertifikat erstellen" oncommand="LehrveranstaltungFFZertifikatPrint();" id="lehrveranstaltung-noten-tree-popup-ffzertifikat" hidden="false"/>
</popup>
</menupopup>
</popupset>
<hbox flex="1" style="margin-top: 10px;">
<vbox flex="1">
@@ -1,5 +1,5 @@
<?php
/* Copyright (C) 2006 Technikum-Wien
/* Copyright (C) 2006 fhcomplete.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
@@ -47,9 +47,9 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/lvplanung/lehrveranstaltungnotenov
<!-- ************************ -->
<vbox id="LehrveranstaltungEditor" flex="1" uid="" stg_kz="">
<popupset>
<popup id="lehrveranstaltung-tree-popup">
<menupopup id="lehrveranstaltung-tree-popup">
<menuitem label="Entfernen" oncommand="LeDelete();" id="lehrveranstaltung-tree-popup-entf" disabled="false"/>
</popup>
</menupopup>
</popupset>
<toolbox>
<toolbar id="lehrveranstaltung-nav-toolbar">
+10 -4
View File
@@ -1,5 +1,5 @@
<?php
/* Copyright (C) 2006 Technikum-Wien
/* Copyright (C) 2006 fhcomplete.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
@@ -38,9 +38,10 @@ echo "<?xml-stylesheet href=\"".APP_ROOT."content/bindings.css\" type=\"text/css
<!-- Zeugnis Overlay -->
<vbox id="student-noten" style="overflow:auto;margin:0px;" flex="1">
<popupset>
<popup id="student-noten-tree-popup">
<menupopup id="student-noten-tree-popup">
<menuitem label="Entfernen" oncommand="StudentNotenDelete();" id="student-noten-tree-popup-delete" hidden="false"/>
</popup>
<menuitem label="Zertifikat erstellen" oncommand="StudentFFZertifikatPrint();" id="lehrveranstaltung-noten-tree-popup-ffzertifikat" hidden="false"/>
</menupopup>
</popupset>
<hbox flex="1" style="margin-top: 10px;">
<vbox flex="1">
@@ -96,6 +97,10 @@ echo "<?xml-stylesheet href=\"".APP_ROOT."content/bindings.css\" type=\"text/css
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/zeugnisnote/rdf#studiengang" />
<splitter class="tree-splitter"/>
<treecol id="student-noten-tree-studiengang_kz" label="Studiengang_kz" flex="1" hidden="true" persist="hidden, width, ordinal"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/zeugnisnote/rdf#studiengang_kz" />
<splitter class="tree-splitter"/>
<treecol id="student-noten-tree-studiengang_lv" label="StudiengangLV" flex="2" hidden="true" persist="hidden, width, ordinal"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/zeugnisnote/rdf#studiengang_lv" />
@@ -124,6 +129,7 @@ echo "<?xml-stylesheet href=\"".APP_ROOT."content/bindings.css\" type=\"text/css
<treecell label="rdf:http://www.technikum-wien.at/zeugnisnote/rdf#student_uid"/>
<treecell label="rdf:http://www.technikum-wien.at/zeugnisnote/rdf#lehrveranstaltung_id"/>
<treecell label="rdf:http://www.technikum-wien.at/zeugnisnote/rdf#studiengang"/>
<treecell label="rdf:http://www.technikum-wien.at/zeugnisnote/rdf#studiengang_kz"/>
<treecell label="rdf:http://www.technikum-wien.at/zeugnisnote/rdf#studiengang_lv"/>
<treecell label="rdf:http://www.technikum-wien.at/zeugnisnote/rdf#lehrveranstaltung_lehrform"/>
<treecell label="rdf:http://www.technikum-wien.at/zeugnisnote/rdf#lehrveranstaltung_kurzbz"/>
@@ -233,4 +239,4 @@ echo "<?xml-stylesheet href=\"".APP_ROOT."content/bindings.css\" type=\"text/css
<spacer flex="1" />
</hbox>
</vbox>
</overlay>
</overlay>
+30 -3
View File
@@ -1,5 +1,5 @@
<?php
/* Copyright (C) 2006 Technikum-Wien
/* Copyright (C) 2006 fhcomplete.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
@@ -345,6 +345,32 @@ function StudentTreeKeyPress(event)
// ****************** FUNKTIONEN ************************** //
// ****
// * Erstellt das Zertifikat fuer die Freifaecher
// ****
function StudentFFZertifikatPrint()
{
// netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
var tree = document.getElementById('student-noten-tree');
col = tree.columns ? tree.columns["student-noten-tree-student_uid"] : "student-noten-tree-student_uid";
uid = tree.view.getCellText(tree.currentIndex,col);
col = tree.columns ? tree.columns["student-noten-tree-lehrveranstaltung_id"] : "student-noten-tree-lehrveranstaltung_id";
lvid = tree.view.getCellText(tree.currentIndex,col);
col = tree.columns ? tree.columns["student-noten-tree-studiensemester_kurzbz"] : "student-noten-tree-studiensemester_kurzbz";
stsem = tree.view.getCellText(tree.currentIndex,col);
col = tree.columns ? tree.columns["student-noten-tree-studiengang_kz"] : "student-noten-tree-studiengang_kz";
stg_kz = tree.view.getCellText(tree.currentIndex,col);
url = '<?php echo APP_ROOT; ?>content/pdfExport.php?xml=zertifikat.rdf.php&xsl=Zertifikat&stg_kz='+stg_kz+'&uid=;'+uid+'&ss='+stsem+'&lvid='+lvid+'&'+gettimestamp();
// alert('url: '+url);
window.location.href = url;
}
// ****
// * Asynchroner (Nicht blockierender) Refresh des StudentenTrees
// ****
@@ -1865,6 +1891,7 @@ function StudentPrintInskriptionsbestaetigung()
{
uid = getTreeCellText(tree, 'student-treecol-uid', v);
paramList += ';'+uid;
stg_kz = getTreeCellText(tree, 'student-treecol-studiengang_kz', v);
anzahl = anzahl+1;
}
}
@@ -1877,7 +1904,7 @@ function StudentPrintInskriptionsbestaetigung()
}
if(anzahl>0)
window.open('<?php echo APP_ROOT; ?>content/pdfExport.php?xml=student.rdf.php&xsl=Inskription&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('<?php echo APP_ROOT; ?>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');
else
alert('Bitte einen Studenten auswaehlen');
}
@@ -4290,7 +4317,7 @@ function StudentCreateDiplSupplement()
}
// ****
// * Erstellt das Diploma Supplement fuer einen oder mehrere Studenten
// * Erstellt den Ausbildungsvertrag fuer einen oder mehrere Studenten
// ****
function StudentPrintAusbildungsvertrag()
{