This commit is contained in:
Andreas Österreicher
2008-02-18 08:59:05 +00:00
parent e55c453f3d
commit 4aa8b97da7
8 changed files with 67 additions and 12 deletions
+10 -1
View File
@@ -322,7 +322,11 @@ Sekunden angegeben werden </td>
<th>Aufwand [h] </th>
</tr>
<tr class="liste0">
<td><br>
<td>Beim Inskripieren von Studenten werden immer die Daten des
Bewerberstatus verwendet (StSem, AusbSem). Wenn ein Status
Wartender/Aufgenommener mit abweichenden Daten angelegt ist, kann dies
zu Problemen f&uuml;hren. (falsch generierte Matrikelnummer/UID,
Duplizierter Wert, etc.)<br>
</td>
<td align="center"><br>
</td>
@@ -415,6 +419,11 @@ Sekunden angegeben werden </td>
<hr>
<h2>Erledigte Anforderungen</h2>
<ul>
<li>Die H&ouml;he des Konto-Trees passt sich nun der
Fenstergr&ouml;&szlig;e an.<br>
18.02.2008 oesi<br>
<br>
</li>
<li>Bei der Zuordnung von Lektoren zu einer Lehreinheit wird nun
&uuml;berpr&uuml;ft ob die maximal zul&auml;ssige Unterrichtszeit des
Lektors &uuml;berschritten wurde. Falls ja wird eine Warnung ausgegeben.<br>
+1 -1
View File
@@ -73,7 +73,7 @@ else
$stg_kz=null;
if (isset($_GET['sem']))
$sem=$_GET['sem'];
else
else
$sem=null;
if (isset($_GET['ver']))
$ver=$_GET['ver'];
+5 -6
View File
@@ -59,12 +59,12 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
</hbox>
</row>
<row>
<vbox>
<row flex="1">
<vbox flex="1">
<label id="student-konto-label-filter" value="alle Buchungen:"/>
<tree id="student-konto-tree" seltype="multi" hidecolumnpicker="false" flex="1"
datasources="rdf:null" ref="http://www.technikum-wien.at/konto/liste"
style="margin-left:10px;margin-right:10px;margin-bottom:5px;margin-top: 10px;" height="100px" enableColumnDrag="true"
style="margin-left:10px;margin-right:10px;margin-bottom:5px;margin-top: 10px;" enableColumnDrag="true"
onselect="StudentKontoAuswahl()"
context="student-konto-tree-popup"
flags="dont-build-content"
@@ -115,7 +115,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
</template>
</tree>
</vbox>
<vbox>
<vbox flex="1">
<hbox>
<button id="student-konto-button-neu" label="Neu" oncommand="StudentKontoNeu();" disabled="true"/>
<button id="student-konto-button-gegenbuchung" label="Gegenbuchung" oncommand="StudentKontoGegenbuchung();" disabled="true"/>
@@ -127,7 +127,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<label value="Buchungsnr" control="student-konto-textbox-buchungsnr"/>
<textbox id="student-konto-textbox-buchungsnr" disabled="true"/>
</vbox>
<groupbox id="student-konto-groupbox" flex="1">
<groupbox id="student-konto-groupbox">
<caption label="Details"/>
<grid id="student-konto-grid-detail" style="overflow:auto;margin:4px;" flex="1">
<columns >
@@ -201,6 +201,5 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
</rows>
</grid>
</hbox>
<spacer flex="1" />
</vbox>
</overlay>
+3
View File
@@ -231,6 +231,9 @@ function onOrtSelect()
var daten=window.TimeTableWeek.document.getElementById('TimeTableWeekData');
var datum=parseInt(daten.getAttribute("datum"));
if(ort=='')
return false;
var attributes="?type=ort&ort="+ort+"&datum="+datum;
var url = "<?php echo APP_ROOT; ?>content/lvplanung/timetable-week.xul.php";
url+=attributes+'&'+gettimestamp();
+5
View File
@@ -88,6 +88,10 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/lvplanung/stpl-semester-overlay.xu
<treecol id="ort_bezeichnung" label="Bezeichnung" flex="3" hidden="true"/>
<splitter class="tree-splitter"/>
<treecol id="max_person" label="MaxP" flex="1" hidden="true"/>
<splitter class="tree-splitter"/>
<treecol id="raumtypen" label="Raumtypen" flex="1" hidden="true"/>
<splitter class="tree-splitter"/>
<treecol id="stockwerk" label="Stockwerk" flex="1" hidden="true"/>
</treecols>
<template>
@@ -100,6 +104,7 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/lvplanung/stpl-semester-overlay.xu
<treecell label="rdf:http://www.technikum-wien.at/ort/rdf#hierarchie"/>
<treecell label="rdf:http://www.technikum-wien.at/ort/rdf#ort_bezeichnung"/>
<treecell label="rdf:http://www.technikum-wien.at/ort/rdf#max_person"/>
<treecell label="rdf:http://www.technikum-wien.at/ort/rdf#stockwerk"/>
</treerow>
</treeitem>
</treechildren>
+3 -2
View File
@@ -847,7 +847,8 @@ class wochenplan
$updateamum[]=substr($lehrstunde->updateamum,0,16);
$updatevon[]=$lehrstunde->updatevon;
$paramList.='&amp;stundenplan_id'.$z++.'='.$lehrstunde->stundenplan_id;
$farbe=$lehrstunde->farbe;
if(isset($lehrstunde->farbe))
$farbe=$lehrstunde->farbe;
$titel=$lehrstunde->titel;
$anmerkung=$lehrstunde->anmerkung;
}
@@ -914,7 +915,7 @@ class wochenplan
// Ausgabe
echo '<button id="buttonSTPL'.$count++.'"
tooltiptext="'.$titel.' - '.$anmerkung.' ('.$updatevonam.')"
style="border-width:1px;background-color:#'.$farbe.';"
style="border-width:1px;'.((isset($farbe) && $farbe!='')?'background-color:#'.$farbe:'').';"
styleOrig="border-width:1px;background-color:#'.$farbe.';" ';
if ($berechtigung->isBerechtigt('lv-plan',$stg_kz) || $berechtigung->isBerechtigt('admin',0) || $berechtigung->isBerechtigt('admin',$stg_kz))
echo ' context="stplPopupMenue" ';
+38 -2
View File
@@ -1,4 +1,24 @@
<?php
/* Copyright (C) 2007 Technikum-Wien
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*
* Authors: Christian Paminger <christian.paminger@technikum-wien.at>,
* Andreas Oesterreicher <andreas.oesterreicher@technikum-wien.at> and
* Rudolf Hangl <rudolf.hangl@technikum-wien.at>.
*/
/*
* Created on 02.12.2004
*
@@ -46,6 +66,18 @@ for ($i=0;$i<$num_rows;$i++)
$lastTYP=($i>0?$ortLAST->raumtyp_kurzbz:null);
$nextTYP=(($i<$num_rows-1)?$ortNEXT->raumtyp_kurzbz:null);
//echo "current:$currentTYP last:$lastTYP next:$nextTYP";
$raumtypen='';
$qry = "SELECT raumtyp_kurzbz FROM public.tbl_ortraumtyp WHERE ort_kurzbz='$ort->ort_kurzbz'";
if($result_rt = pg_query($conn, $qry))
{
while($row_rt = pg_fetch_object($result_rt))
{
if($raumtypen!='')
$raumtypen.=', ';
$raumtypen.=$row_rt->raumtyp_kurzbz;
}
}
if ($lastTYP!=$currentTYP || $i==0)
$descr.='<RDF:Description RDF:about="'.$rdf_url.$ort->raumtyp_kurzbz.'" >
<ORT:raumtyp>'.$ort->raumtyp_kurzbz.'</ORT:raumtyp>
@@ -53,14 +85,18 @@ for ($i=0;$i<$num_rows;$i++)
<ORT:ort_kurzbz></ORT:ort_kurzbz>
<ORT:ort_bezeichnung></ORT:ort_bezeichnung>
<ORT:max_person></ORT:max_person>
<ORT:stockwerk></ORT:stockwerk>
<ORT:raumtypen>'.$ort->raumtyp_kurzbz.'</ORT:raumtypen>
</RDF:Description>';
$descr.='<RDF:Description RDF:about="'.$rdf_url.$ort->raumtyp_kurzbz.'/'.$ort->ort_kurzbz.'" >
<ORT:raumtyp>'.$ort->ort_kurzbz."</ORT:raumtyp>
<ORT:hierarchie>".$ort->hierarchie."</ORT:hierarchie>
<ORT:ort_kurzbz>".$ort->ort_kurzbz."</ORT:ort_kurzbz>
<ORT:ort_bezeichnung>".$ort->bezeichnung."</ORT:ort_bezeichnung>
<ORT:max_person>".$ort->max_person.'</ORT:max_person>
</RDF:Description>'."\n";
<ORT:max_person>".$ort->max_person."</ORT:max_person>
<ORT:stockwerk>".$ort->stockwerk."</ORT:stockwerk>
<ORT:raumtypen>".$raumtypen."</ORT:raumtypen>
</RDF:Description>\n";
if ($lastTYP!=$currentTYP)
$sequenz.='<RDF:li RDF:resource="'.$rdf_url.$ort->raumtyp_kurzbz.'" />
@@ -196,6 +196,7 @@ if(isset($_POST['save']))
$person->aktiv = true;
$person->geburtsnation = 'A';
$person->staatsbuergerschaft = 'A';
$person->familienstand = 'l';
if($person->save())
{
@@ -324,6 +325,7 @@ if(isset($_POST['save']))
$mtiarbeiter->aktiv = true;
$mitarbeiter->fixangestellt = true;
$mitarbeiter->stundensatz = 0;
$mitarbeiter->bismelden = true;
$mitarbeiter->anmerkung = $anmerkungen;
$mitarbeiter->ausbildungcode = $letzteausbildung;
$mitarbeiter->insertamum = date('Y-m-d H:i:s');