This commit is contained in:
Christian Paminger
2007-02-20 14:09:30 +00:00
parent 12307123aa
commit 310e4bb242
5 changed files with 173 additions and 169 deletions
+90 -135
View File
@@ -18,143 +18,98 @@ echo "<?xml-stylesheet href=\"".APP_ROOT."content/lfvt.css\" type=\"text/css\" ?
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
>
<script type="application/x-javascript" src="<?php echo APP_ROOT; ?>content/studenten.js" />
<script type="application/x-javascript" src="<?php echo APP_ROOT; ?>content/studenten.js" />
<!-- ************************* -->
<!-- * Stundenplan Details * -->
<!-- ************************* -->
<vbox id="vboxSTPLDetailsListe">
<tree id="treeStplDetails" seltype="single" hidecolumnpicker="false" flex="1"
datasources="../rdf/lehrstunde.rdf.php" ref="http://www.technikum-wien.at/lehrstunde/alle"
flags="dont-build-content"
enableColumnDrag="true"
style="margin:0px;"
>
<treecols>
<treecol id="stplUNR" label="UNR" flex="2" primary="false"
class="sortDirectionIndicator" sortActive="true" sortDirection="ascending"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#unr" />
<splitter class="tree-splitter"/>
<treecol id="stplLektor" label="Lektor" flex="2" hidden="false"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#lektor" />
<splitter class="tree-splitter"/>
<treecol id="stplLehrfachKurzbz" label="Fach" flex="1" hidden="false"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#lehrfach" />
<splitter class="tree-splitter"/>
<treecol id="stplLehrform" label="Form" flex="1" hidden="false"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#lehrform" />
<splitter class="tree-splitter"/>
<treecol id="stplLehrfachBezeichnung" label="Lehrfach" flex="20" hidden="false"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#lehrfach_bez" />
<splitter class="tree-splitter"/>
<treecol id="stpl_studiengang" label="Studiengang" flex="1" hidden="false"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#studiengang" />
<splitter class="tree-splitter"/>
<treecol id="stplSemester" label="S" flex="1" hidden="false"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#sem" />
<splitter class="tree-splitter"/>
<treecol id="stplVerband" label="V" flex="1" hidden="false"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#ver" />
<splitter class="tree-splitter"/>
<treecol id="gruppe" label="G" flex="1" hidden="false"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#grp" />
<splitter class="tree-splitter"/>
<treecol id="stpl_einheit" label="SpzGrp" flex="3" hidden="false"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#gruppe" />
<splitter class="tree-splitter"/>
<treecol id="stplOrt" label="Ort" flex="2" hidden="true"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#ort_kurzbz" />
<splitter class="tree-splitter"/>
<treecol id="stpl_datum" label="Datum" flex="2" hidden="true"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#datum" />
<splitter class="tree-splitter"/>
<treecol id="stpl_stunde" label="Std" flex="1" hidden="true"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#stunde" />
<splitter class="tree-splitter"/>
</treecols>
<template>
<rule>
<treechildren>
<treeitem uri="rdf:*">
<treerow>
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#unr" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#lektor" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#lehrfach" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#lehrform" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#lehrfach_bez" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#studiengang" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#sem" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#ver" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#grp" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#gruppe" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#ort_kurzbz" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#datum" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#stunde" />
</treerow>
</treeitem>
</treechildren>
</rule>
</template>
</tree>
</vbox>
<!-- ************************* -->
<!-- * Stundenplan Details * -->
<!-- ************************* -->
<vbox id="vboxSTPLDetailsListe">
<!-- ************* -->
<!-- * Auswahl * -->
<!-- ************* -->
<tree id="treeStplDetails" seltype="single" hidecolumnpicker="false" flex="1"
datasources="../rdf/lehrstunde.rdf.php" ref="http://www.technikum-wien.at/lehrstunde/liste"
flags="dont-build-content"
enableColumnDrag="true"
style="margin:0px;"
>
<treecols>
<treecol id="stplUNR" label="UNR" flex="2" primary="false"
class="sortDirectionIndicator"
sortActive="true"
sortDirection="ascending"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#unr" />
<splitter class="tree-splitter"/>
<treecol id="stplLektor" label="Lektor" flex="2" hidden="false"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#lektor" />
<splitter class="tree-splitter"/>
<treecol id="stplLehrfachKurzbz" label="Fach" flex="1" hidden="false"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#lehrfach" />
<splitter class="tree-splitter"/>
<treecol id="stplLehrform" label="Form" flex="1" hidden="false"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#lehrform" />
<splitter class="tree-splitter"/>
<treecol id="stplLehrfachBezeichnung" label="Lehrfach" flex="20" hidden="false"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#lehrfach_bez" />
<splitter class="tree-splitter"/>
<treecol id="stpl_studiengang" label="Studiengang" flex="1" hidden="false"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#studiengang" />
<splitter class="tree-splitter"/>
<treecol id="stplSemester" label="S" flex="1" hidden="false"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#semester" />
<splitter class="tree-splitter"/>
<treecol id="stplVerband" label="V" flex="1" hidden="false"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#verband" />
<splitter class="tree-splitter"/>
<treecol id="gruppe" label="G" flex="1" hidden="false"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#gruppe" />
<splitter class="tree-splitter"/>
<treecol id="stpl_einheit" label="Einheit" flex="3" hidden="false"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#einheit" />
<splitter class="tree-splitter"/>
<treecol id="stplOrt" label="Ort" flex="2" hidden="true"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#ort_kurzbz" />
<splitter class="tree-splitter"/>
<treecol id="stpl_datum" label="Datum" flex="2" hidden="true"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#datum" />
<splitter class="tree-splitter"/>
<treecol id="stpl_stunde" label="Std" flex="1" hidden="true"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#stunde" />
<splitter class="tree-splitter"/>
</treecols>
<template>
<rule>
<treechildren>
<treeitem uri="rdf:*">
<treerow>
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#unr" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#lektor" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#lehrfach" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#lehrform" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#lehrfach_bez" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#studiengang" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#semester" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#verband" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#gruppe" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#einheit" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#ort_kurzbz" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#datum" />
<treecell label="rdf:http://www.technikum-wien.at/lehrstunde/rdf#stunde" />
</treerow>
</treeitem>
</treechildren>
</rule>
</template>
<!--
<template>
<rule>
<conditions>
<content uri="?uri" />
<member container="?uri" child="?student" />
</conditions>
<bindings>
<binding subject="?student" predicate="http://www.technikum-wien.at/tempus/studenten/rdf#uid" object="?uid" />
<binding subject="?student" predicate="http://www.technikum-wien.at/tempus/studenten/rdf#titel" object="?titel" />
<binding subject="?student" predicate="http://www.technikum-wien.at/tempus/studenten/rdf#vornamen" object="?vornamen" />
<binding subject="?student" predicate="http://www.technikum-wien.at/tempus/studenten/rdf#nachname" object="?nachname" />
<binding subject="?student" predicate="http://www.technikum-wien.at/tempus/studenten/rdf#geburtsdatum" object="?geburtsdatum" />
<binding subject="?student" predicate="http://www.technikum-wien.at/tempus/studenten/rdf#aktiv" object="?aktiv" />
</bindings>
<action>
<treechildren>
<treeitem uri="?student">
<treerow>
<treecell label="?uid" />
<treecell label="?titel" />
<treecell label="?vornamen" />
<treecell label="?nachname" />
<treecell label="?geburtsdatum" />
<treecell label="?aktiv" />
</treerow>
</treeitem>
</treechildren>
</action>
</rule>
</template>
-->
</tree>
</vbox>
</overlay>
+2 -1
View File
@@ -194,8 +194,9 @@ function onStplDetail(event)
var ort_kurzbz=event.target.getAttribute("ort_kurzbz");
var attributes="?type="+type+"&datum="+datum+"&stunde="+stunde+"&ort_kurzbz="+ort_kurzbz+"&pers_uid="+pers_uid+"&stg_kz="+stg_kz+"&sem="+sem+"&ver="+ver+"&grp="+grp+"&gruppe="+gruppe+"&ort_kurzbz="+ort_kurzbz;
//alert(attributes);
attributes+=idList;
var url = "<?php echo APP_ROOT; ?>content/lehrstunde.rdf.php";
var url = "<?php echo APP_ROOT; ?>rdf/lehrstunde.rdf.php";
url+=attributes;
//alert(url);
var treeStplDetails=parent.document.getElementById('treeStplDetails');
+1 -1
View File
@@ -88,7 +88,7 @@ $num_rows_stunde=pg_numrows($result_stunde);
<grippy />
</splitter>
<!-- <vbox id="vboxSTPLDetailsListe" flex="2" /> -->
<vbox id="vboxSTPLDetailsListe" flex="2" />
</vbox>