diff --git a/cis/private/profile/lva_liste.php b/cis/private/profile/lva_liste.php index 6327e68ad..059694de9 100644 --- a/cis/private/profile/lva_liste.php +++ b/cis/private/profile/lva_liste.php @@ -79,7 +79,7 @@ echo ''.$row_lv->bezeichnung.''; echo ''.$row->lehrfach_bez.''; echo ''.$row->lektor.''; - echo ''.$row->stg_kurzbz.''; + echo ''.strtoupper($row->stg_typ.$row->stg_kurzbz).''; echo ''.$row->semester.''; echo ''.$row->verband.''; echo ''.$row->gruppe.''; diff --git a/content/lfvt.css b/content/lfvt.css index d067d2d10..cd274bbba 100644 --- a/content/lfvt.css +++ b/content/lfvt.css @@ -46,6 +46,10 @@ customMenulist.sprache { -moz-binding: url('lfvtbinding.xml.php#spracheListe'); } +customMenulist.studiensemester { + -moz-binding: url('lfvtbinding.xml.php#studiensemesterListe'); +} + customMenulist.lehrveranstaltung { -moz-binding: url('lfvtbinding.xml.php#lehrveranstaltungenListe'); } diff --git a/content/lfvtCUD.php b/content/lfvtCUD.php index de5c58d77..cfd7aad58 100644 --- a/content/lfvtCUD.php +++ b/content/lfvtCUD.php @@ -54,7 +54,7 @@ if ($_GET['do']=='create' || ($_GET['do']=='update')) if ($leDAO->save()) echo 'ok'; else - echo $lvaDAO->errormsg; + echo $leDAO->errormsg; } else if ($_GET['do']=='update') { diff --git a/content/lfvtbinding.xml.php b/content/lfvtbinding.xml.php index 7e3de0596..f545c1ef3 100644 --- a/content/lfvtbinding.xml.php +++ b/content/lfvtbinding.xml.php @@ -113,32 +113,23 @@ - - - - - - - - - - + - + - - - + + + - - - - - - - @@ -216,18 +187,13 @@ - + - - - + @@ -238,11 +204,6 @@ this.gridLFVTSprache=document.getElementById('gridLFVTSprache'); this.gridLFVTLehrveranstaltung=document.getElementById('gridLFVTLehrveranstaltung'); this.gridLFVTLehrfach=document.getElementById('gridLFVTLehrfach'); - this.gridLFVTRaumtyp=document.getElementById('gridLFVTRaumtyp'); this.gridLFVTRaumtypAlt=document.getElementById('gridLFVTRaumtypAlt'); this.gridLFVTLehre=document.getElementById('gridLFVTLehre'); @@ -252,7 +213,6 @@ this.gridLFVTAnmerkung=document.getElementById('gridLFVTAnmerkung'); this.gridLFVTStudiensemester=document.getElementById('gridLFVTStudiensemester'); this.gridLFVTLehrform=document.getElementById('gridLFVTLehrform'); - null @@ -260,11 +220,6 @@ null null null - null null null @@ -284,11 +239,14 @@ - if (isNaN(val)) { + if (isNaN(val)) + { alert('LVNR muss eine Zahl sein!'); if (this.currentLVA!=null) this.currentLVA.lvnr=null; - } else { + } + else + { if (this.currentLVA!=null) this.currentLVA.lvnr=val; } @@ -298,25 +256,25 @@ - if (isNaN(val)) { + if (isNaN(val)) + { alert('UNR muss eine Zahl sein!'); if (this.currentLVA!=null) this.currentLVA.unr=null; - } else { + } + else + { if (this.currentLVA!=null) this.currentLVA.unr=val; } - alert('unr:'+val); return val; - //alert('property-setter: val='+val); if (this.currentLVA!=null) this.currentLVA.sprache=val; - //this.showCurrentLVA(); return val; @@ -324,10 +282,8 @@ - //alert('property-setter: val='+val); if (this.currentLVA!=null) this.currentLVA.lehrveranstaltung=val; - //this.showCurrentLVA(); return val; @@ -335,43 +291,17 @@ - //alert('property-setter: val='+val); if (this.currentLVA!=null) this.currentLVA.lehrfach=val; - //this.showCurrentLVA(); return val; - - - - - //alert('property-setter: val='+val); if (this.currentLVA!=null) this.currentLVA.raumtyp=val; - //this.showCurrentLVA(); return val; @@ -387,44 +317,6 @@ return val; - this.currentLVA.lehre=val; @@ -543,25 +435,18 @@ @@ -594,15 +479,15 @@ // Start KW this.gridLFVTStart_kw.value=this.currentLVA.start_kw; // Studiensemester - this.gridLFVTStudiensemester.value=this.currentLVA.studiensemester; + this.gridLFVTStudiensemester.currentValue=this.currentLVA.studiensemester; // Anmerkung this.gridLFVTAnmerkung.value=this.currentLVA.anmerkung; // Lehrveranstaltung setzen //this.gridLFVTLehrveranstaltung.currentValue=this.currentLVA.lehrveranstaltung; this.gridLFVTLehrveranstaltung.value=this.currentLVA.lehrveranstaltung; // Lehrfach - //this.gridLFVTLehrfach.currentValue=this.currentLVA.lehrfach; - this.gridLFVTLehrfach.value=this.currentLVA.lehrfach; + this.gridLFVTLehrfach.currentValue=this.currentLVA.lehrfach; + //this.gridLFVTLehrfach.value=this.currentLVA.lehrfach; // Lehrform this.gridLFVTLehrform.currentValue=this.currentLVA.lehrform; ]]> @@ -742,6 +627,27 @@ + + + + + + + + + + + + + + + + + + @@ -803,33 +709,6 @@ - @@ -855,35 +734,12 @@ - - - @@ -904,16 +760,16 @@ - + @@ -947,10 +803,10 @@ - - + + - + diff --git a/content/lfvtoverlay.js.php b/content/lfvtoverlay.js.php index ce8e20015..6ee1e44ff 100644 --- a/content/lfvtoverlay.js.php +++ b/content/lfvtoverlay.js.php @@ -188,6 +188,10 @@ function lvaAuswahl() var lvaDetail=document.getElementById('lvaDetail'); lvaDetail.setLVA(lva); lvaDetail.isNew=false; + + //***Lehreinheitmitarbeiter tree setzen + url='../rdf/lehreinheitmitarbeiter.rdf.php?lehreinheit_id='+lehreinheit_id; + document.getElementById('lfvt_detail_tree_lehreinheitmitarbeiter').setAttribute('datasources',url); } function getTargetHelper(dsource,subj,predi) @@ -211,25 +215,28 @@ function getTargetHelper(dsource,subj,predi) */ function Lehrveranstaltung() { - this.id=null; // =lehrveranstaltung_id + this.id=null; this.lvnr=null; this.unr=null; - this.einheit=null; - this.lektor=null; + this.anmerkung=null; + this.lehrveranstaltung=null; this.lehrfach=null; - this.studiengang=null; - this.fachbereich=null; - this.semester=null; - this.verband=null; - this.gruppe=null; - this.raumtyp=null; - this.raumtyp_alt=null; + this.sprache='German'; + this.lehrform=''; + this.lehre='true'; + //this.studiengang=null; + //this.fachbereich=null; + //this.semester=null; + //this.verband=null; + //this.gruppe=null; + this.raumtyp='Dummy'; + this.raumtyp_alt='Dummy'; this.semesterstunden=null; this.stundenblockung=null; this.wochenrythmus=null; this.start_kw=null; this.studiensemester=null; - this.lehrform=null; + this.lehrform=' '; this.ects=null; // flag, welches angibt, ob Daten verändert wurden this.dataChanged=false; diff --git a/content/lfvtoverlay.xul.php b/content/lfvtoverlay.xul.php index eb4f91dc1..761f5b65e 100644 --- a/content/lfvtoverlay.xul.php +++ b/content/lfvtoverlay.xul.php @@ -71,7 +71,7 @@ echo " -