mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-08 23:59:28 +00:00
Pruefungen werden auf das aktuell ausgewaehlte Studiensemester gefiltert. Die Anzeige kann umgeschalten werden damit alle Pruefungen angezeigt werden
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -57,13 +57,18 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<vbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<button type="checkbox" id="student-pruefung-button-filterstsem" label="Alle Studiensemester anzeigen" oncommand="StudentPruefungFilterStsem();" disabled="true"/>
|
||||
</hbox>
|
||||
<tree id="student-pruefung-tree" seltype="multi" hidecolumnpicker="false" flex="1"
|
||||
datasources="rdf:null" ref="http://www.technikum-wien.at/pruefung/liste"
|
||||
style="margin-left:10px;margin-right:10px;margin-bottom:5px;margin-top: 10px;" height="100px" enableColumnDrag="true"
|
||||
context="student-pruefung-tree-popup"
|
||||
flags="dont-build-content"
|
||||
>
|
||||
|
||||
|
||||
<treecols>
|
||||
<treecol id="student-pruefung-tree-datum" label="Datum" flex="2" hidden="false" primary="true"
|
||||
class="sortDirectionIndicator"
|
||||
@@ -110,7 +115,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
sort="rdf:http://www.technikum-wien.at/pruefung/rdf#punkte" />
|
||||
<splitter class="tree-splitter"/>
|
||||
</treecols>
|
||||
|
||||
|
||||
<template>
|
||||
<treechildren flex="1" >
|
||||
<treeitem uri="rdf:*">
|
||||
@@ -131,6 +136,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
</treechildren>
|
||||
</template>
|
||||
</tree>
|
||||
</vbox>
|
||||
<vbox>
|
||||
<hbox>
|
||||
<button id="student-pruefung-button-neu" label="Neu" oncommand="StudentPruefungNeu();" disabled="true"/>
|
||||
@@ -154,7 +160,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
<label value="Lehrveranstaltung" control="student-pruefung-menulist-lehrveranstaltung"/>
|
||||
<menulist id="student-pruefung-menulist-lehrveranstaltung" disabled="true"
|
||||
datasources="rdf:null" flex="1"
|
||||
ref="http://www.technikum-wien.at/lehrveranstaltung/liste"
|
||||
ref="http://www.technikum-wien.at/lehrveranstaltung/liste"
|
||||
oncommand="StudentPruefungLVAChange()">
|
||||
<template>
|
||||
<menupopup>
|
||||
|
||||
+15
-6
@@ -31,6 +31,7 @@ require_once('../include/pruefung.class.php');
|
||||
require_once('../include/datum.class.php');
|
||||
require_once('../include/functions.inc.php');
|
||||
require_once('../include/benutzerberechtigung.class.php');
|
||||
require_once('../include/variable.class.php');
|
||||
|
||||
$uid = get_uid();
|
||||
$rechte = new benutzerberechtigung();
|
||||
@@ -41,14 +42,14 @@ if(!$rechte->isBerechtigt('assistenz') && !$rechte->isBerechtigt('admin'))
|
||||
|
||||
if(isset($_GET['student_uid']))
|
||||
$student_uid = $_GET['student_uid'];
|
||||
else
|
||||
else
|
||||
$student_uid = '';
|
||||
|
||||
if(isset($_GET['pruefung_id']))
|
||||
$pruefung_id = $_GET['pruefung_id'];
|
||||
else
|
||||
else
|
||||
$pruefung_id = '';
|
||||
|
||||
|
||||
$datum_obj = new datum();
|
||||
|
||||
$pruefung = new pruefung();
|
||||
@@ -61,7 +62,7 @@ echo '
|
||||
<RDF:RDF
|
||||
xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:PRUEFUNG="'.$rdf_url.'/rdf#"
|
||||
xmlns:NC="http://home.netscape.com/NC-rdf#"
|
||||
xmlns:NC="http://home.netscape.com/NC-rdf#"
|
||||
>
|
||||
|
||||
<RDF:Seq about="'.$rdf_url.'/liste">
|
||||
@@ -74,7 +75,15 @@ if($pruefung_id!='')
|
||||
}
|
||||
else
|
||||
{
|
||||
$pruefung->getPruefungen($student_uid);
|
||||
if(isset($_REQUEST['all_stsem']))
|
||||
$stsem = null;
|
||||
else
|
||||
{
|
||||
$variable = new variable();
|
||||
$variable->loadVariables($uid);
|
||||
$stsem = $variable->variable->semester_aktuell;
|
||||
}
|
||||
$pruefung->getPruefungen($student_uid, null, null, $stsem);
|
||||
foreach ($pruefung->result as $row)
|
||||
draw_rdf($row);
|
||||
}
|
||||
@@ -82,7 +91,7 @@ else
|
||||
function draw_rdf($row)
|
||||
{
|
||||
global $rdf_url, $datum_obj;
|
||||
|
||||
|
||||
echo '
|
||||
<RDF:li>
|
||||
<RDF:Description id="'.$row->pruefung_id.'" about="'.$rdf_url.'/'.$row->pruefung_id.'" >
|
||||
|
||||
Reference in New Issue
Block a user