From 789ada0a2fc3b1829e446e395883f3feeb4c1272 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Fri, 23 Feb 2007 14:12:28 +0000 Subject: [PATCH] =?UTF-8?q?-=20Lehrveranstaltungsansicht=20f=C3=BCr=20Temp?= =?UTF-8?q?us?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/lfvt.css | 8 + content/lfvtbinding.xml.php | 233 +++++++++++++----------- content/lfvtoverlay.js.php | 145 +++++---------- content/lfvtoverlay.xul.php | 100 +++++----- content/tempusoverlay.js.php | 6 +- content/tempusoverlay.xul.php | 4 +- include/lehreinheit.class.php | 3 +- include/lehrveranstaltung.class.php | 8 +- include/raumtyp.class.php | 2 +- rdf/lehrfach.rdf.php | 4 +- rdf/lehrform.rdf.php | 13 +- rdf/lehrveranstaltung_einheiten.rdf.php | 184 +++++++++++++++++++ rdf/raumtyp.rdf.php | 14 +- rdf/sprache.rdf.php | 51 ++++++ 14 files changed, 503 insertions(+), 272 deletions(-) create mode 100644 rdf/lehrveranstaltung_einheiten.rdf.php create mode 100644 rdf/sprache.rdf.php diff --git a/content/lfvt.css b/content/lfvt.css index 4748b6a70..d067d2d10 100644 --- a/content/lfvt.css +++ b/content/lfvt.css @@ -42,6 +42,14 @@ customMenulist.einheit { -moz-binding: url('lfvtbinding.xml.php#einheitenListe'); } +customMenulist.sprache { + -moz-binding: url('lfvtbinding.xml.php#spracheListe'); +} + +customMenulist.lehrveranstaltung { + -moz-binding: url('lfvtbinding.xml.php#lehrveranstaltungenListe'); +} + customMenulist.lehrfach { -moz-binding: url('lfvtbinding.xml.php#lehrfaecherListe'); } diff --git a/content/lfvtbinding.xml.php b/content/lfvtbinding.xml.php index 3303cd960..5d724bdb6 100644 --- a/content/lfvtbinding.xml.php +++ b/content/lfvtbinding.xml.php @@ -136,7 +136,7 @@ - + - - + + - - + + + - - - + + + + + - + - + @@ -197,8 +200,8 @@ - - + + @@ -221,11 +224,7 @@ --> - - - - - + @@ -235,17 +234,17 @@ this.gridLFVTLVNR=document.getElementById('gridLFVTLVNR'); this.gridLFVTUNR=document.getElementById('gridLFVTUNR'); - this.gridLFVTEinheit=document.getElementById('gridLFVTEinheit'); - this.gridLFVTLektor=document.getElementById('gridLFVTLektor'); + this.gridLFVTSprache=document.getElementById('gridLFVTSprache'); + this.gridLFVTLehrveranstaltung=document.getElementById('gridLFVTLehrveranstaltung'); this.gridLFVTLehrfach=document.getElementById('gridLFVTLehrfach'); - this.gridLFVTStudiengang=document.getElementById('gridLFVTStudiengang'); + this.gridLFVTRaumtyp=document.getElementById('gridLFVTRaumtyp'); this.gridLFVTRaumtypAlt=document.getElementById('gridLFVTRaumtypAlt'); - this.gridLFVTSemesterstunden=document.getElementById('gridLFVTSemesterstunden'); + this.gridLFVTLehre=document.getElementById('gridLFVTLehre'); this.gridLFVTStundenblockung=document.getElementById('gridLFVTStundenblockung'); this.gridLFVTWochenrythmus=document.getElementById('gridLFVTWochenrythmus'); this.gridLFVTStart_kw=document.getElementById('gridLFVTStart_kw'); @@ -257,17 +256,17 @@ null null - null - null + null + null null - null + null null - null + null null null null @@ -311,18 +310,18 @@ - + //alert('property-setter: val='+val); if (this.currentLVA!=null) - this.currentLVA.einheit=val; + this.currentLVA.sprache=val; //this.showCurrentLVA(); return val; - + //alert('property-setter: val='+val); if (this.currentLVA!=null) @@ -344,7 +343,7 @@ - + - + @@ -387,7 +386,7 @@ return val; - + + - if (isNaN(val)) { + /*if (isNaN(val)) { alert('Semesterstunden muss eine Zahl sein!'); if (this.currentLVA!=null) this.currentLVA.semesterstunden=null; } else { if (this.currentLVA!=null) this.currentLVA.semesterstunden=val; - } + }*/ return val; @@ -516,20 +515,22 @@ } else { req.add('do','update'); } - req.add('lehrveranstaltung_id',this.currentLVA.id); + req.add('lehreinheit_id',this.currentLVA.lehreinheit_id); if (this.currentLVA.unr!=null) req.add('unr',this.currentLVA.unr); if (this.currentLVA.lvnr!=null) req.add('lvnr',this.currentLVA.lvnr); - if (this.currentLVA.einheit!=null) req.add('einheit_kurzbz',this.currentLVA.einheit); - if (this.currentLVA.lektor!=null) req.add('lektor',this.currentLVA.lektor); + if (this.currentLVA.sprache!=null) req.add('sprache',this.currentLVA.sprache); + if (this.currentLVA.lehrveranstaltung!=null) req.add('lehrveranstaltung',this.currentLVA.lehrveranstaltung); if (this.currentLVA.lehrfach!=null) req.add('lehrfach_nr',this.currentLVA.lehrfach); + /* if (this.currentLVA.studiengang!=null) req.add('studiengang_kz',this.currentLVA.studiengang); if (this.currentLVA.fachbereich!=null) req.add('fachbereich_id',this.currentLVA.fachbereich); if (this.currentLVA.semester!=null) req.add('semester',this.currentLVA.semester); if (this.currentLVA.verband!=null) req.add('verband',this.currentLVA.verband); if (this.currentLVA.gruppe!=null) req.add('gruppe',this.currentLVA.gruppe); + */ if (this.currentLVA.raumtyp!=null) req.add('raumtyp',this.currentLVA.raumtyp); if (this.currentLVA.raumtyp_alt!=null) req.add('raumtypalternativ',this.currentLVA.raumtyp_alt); - if (this.currentLVA.semesterstunden!=null) req.add('semesterstunden',this.currentLVA.semesterstunden); + if (this.currentLVA.lehre!=null) req.add('lehre',this.currentLVA.lehre); if (this.currentLVA.stundenblockung!=null) req.add('stundenblockung',this.currentLVA.stundenblockung); if (this.currentLVA.wochenrythmus!=null) req.add('wochenrythmus',this.currentLVA.wochenrythmus); if (this.currentLVA.start_kw!=null) req.add('start_kw',this.currentLVA.start_kw); @@ -555,17 +556,19 @@ @@ -729,32 +717,30 @@ - - - + --> - + - - @@ -770,13 +756,13 @@ - + - - @@ -792,12 +778,12 @@ + ref="http://www.technikum-wien.at/ort/alle-orte" > - - @@ -812,17 +798,17 @@ - - + - + --> @@ -855,10 +841,32 @@ --> + + + + + + + + + + + + + + + + + + - + + @@ -879,23 +887,43 @@ +--> + + + + + + + + + + + + + + + + - - - + --> @@ -911,12 +939,11 @@ - - - @@ -940,7 +967,7 @@ - - -