diff --git a/admin/fas/check_fas_diplomarbeit.php b/admin/fas/check_fas_diplomarbeit.php index ddfefe317..a9a3a6cda 100644 --- a/admin/fas/check_fas_diplomarbeit.php +++ b/admin/fas/check_fas_diplomarbeit.php @@ -127,7 +127,7 @@ $qry="SELECT *, trim(substring(trim(erstbegutachter) from ' [A- (vilesci_vorsitzender IS NULL AND trim(vorsitzender)!='') OR (vilesci_pruefer1 IS NULL AND trim(pruefer1)!='')) ORDER BY diplomarbeit_pk - LIMIT 5;"; + LIMIT 10;"; //ORDER BY diplomarbeit_pk if($result = pg_query($conn_fas, $qry)) { diff --git a/cis/ToDo_CIS.html b/cis/ToDo_CIS.html new file mode 100644 index 000000000..e26e3718c --- /dev/null +++ b/cis/ToDo_CIS.html @@ -0,0 +1,239 @@ + +Anforderungsliste CIS + +
+

Anforderungen (ToDo) CIS

+
+

News

+ +

Lehrveranstaltung

+ +
+

Stundenplan

+ +
+

Kreuzerltool

+ +

Upload

+ + + +

Sonstiges

+ + \ No newline at end of file diff --git a/cis/public/location.html b/cis/public/location.html index e2130dd88..fda1c819a 100644 --- a/cis/public/location.html +++ b/cis/public/location.html @@ -96,7 +96,7 @@ - + diff --git a/cis/testtool/auswertung.php b/cis/testtool/auswertung.php index 6dc0da6bc..00ceab6ae 100644 --- a/cis/testtool/auswertung.php +++ b/cis/testtool/auswertung.php @@ -38,11 +38,12 @@ function sortByField($multArray,$sortField,$desc=true) // Verbindungsaufbau -if (!$conn = pg_pconnect(CONN_STRING)) +if (!$conn = pg_connect(CONN_STRING)) die("Es konnte keine Verbindung zum Server aufgebaut werden."); // Reihungstests laden -$sql_query="SELECT * FROM public.tbl_reihungstest WHERE date_part('year',datum)=date_part('year',now()) ORDER BY datum,uhrzeit"; +$sql_query="; + SELECT * FROM public.tbl_reihungstest WHERE date_part('year',datum)=date_part('year',now()) ORDER BY datum,uhrzeit"; //echo $sql_query; if(!($result=pg_query($conn, $sql_query))) die(pg_errormessage($conn)); @@ -56,7 +57,8 @@ while ($row=pg_fetch_object($result)) $rtest[$row->reihungstest_id]->uhrzeit=$row->uhrzeit; } - +if (isset($_POST['reihungstest'])) +{ // Vorkommende Gebiete laden $sql_query="SELECT DISTINCT gebiet_id, gebiet FROM testtool.vw_auswertung"; //echo $sql_query; @@ -69,9 +71,9 @@ while ($row=pg_fetch_object($result)) } // Ergebnisse laden -$sql_query="SELECT * FROM testtool.vw_auswertung"; +$sql_query="SELECT vw_auswertung.* FROM testtool.vw_auswertung"; if (isset($_POST['reihungstest'])) - $sql_query.==' WHERE '; + $sql_query.=' JOIN public.tbl_prestudent USING (prestudent_id) WHERE reihungstest_id='.$_POST['reihungstest']; //echo $sql_query; if(!($result=pg_query($conn, $sql_query))) @@ -107,6 +109,8 @@ while ($row=pg_fetch_object($result)) // Vorkommende Kategorien laden $sql_query="SELECT DISTINCT kategorie_kurzbz FROM testtool.vw_auswertung_kategorie"; +if (isset($_POST['reihungstest'])) + $sql_query.=' JOIN public.tbl_prestudent USING (prestudent_id) WHERE reihungstest_id='.$_POST['reihungstest']; //echo $sql_query; if(!($result=pg_query($conn, $sql_query))) die(pg_errormessage($conn)); @@ -114,9 +118,15 @@ while ($row=pg_fetch_object($result)) $kategorie[$row->kategorie_kurzbz]->name=$row->kategorie_kurzbz; // Ergebnisse laden -$sql_query="SELECT vw_auswertung_kategorie.*, tbl_kriterien.typ FROM testtool.vw_auswertung_kategorie, testtool.tbl_kriterien -WHERE tbl_kriterien.kategorie_kurzbz=vw_auswertung_kategorie.kategorie_kurzbz - AND vw_auswertung_kategorie.gebiet_id=tbl_kriterien.gebiet_id AND tbl_kriterien.punkte=vw_auswertung_kategorie.richtig ORDER BY pruefling_id, kategorie_kurzbz"; +$sql_query="SELECT vw_auswertung_kategorie.*, tbl_kriterien.typ + FROM (testtool.vw_auswertung_kategorie JOIN testtool.tbl_kriterien USING (kategorie_kurzbz))"; +if (isset($_POST['reihungstest'])) + $sql_query.=' JOIN public.tbl_prestudent USING (prestudent_id)'; +$sql_query.=" WHERE vw_auswertung_kategorie.gebiet_id=tbl_kriterien.gebiet_id AND tbl_kriterien.punkte=vw_auswertung_kategorie.richtig"; +if (isset($_POST['reihungstest'])) + $sql_query.=' AND reihungstest_id='.$_POST['reihungstest']; + +$sql_query.=" ORDER BY pruefling_id, kategorie_kurzbz"; //echo $sql_query; if(!($result=pg_query($conn, $sql_query))) die(pg_errormessage($conn)); @@ -140,7 +150,7 @@ while ($row=pg_fetch_object($result)) $erg_kat[$row->pruefling_id]->kategorie[$row->kategorie_kurzbz]->typ=$row->typ; $erg_kat[$row->pruefling_id]->kategorie[$row->kategorie_kurzbz]->punkte=$row->richtig.'/'.$row->gesamt; } - +} ?> @@ -154,8 +164,8 @@ while ($row=pg_fetch_object($result)) -

Technischer Teil

- +

Auswertung Reihungstest

+Reihungstest wählen: 
Freischaltung HaupteingastüreFreischaltung Haupteingangstüre Mo-Fr 7:30 - 17:00 Uhr
@@ -196,10 +211,10 @@ while ($row=pg_fetch_object($result)) "; foreach ($gebiet AS $gbt) if (isset($erg->gebiet[$gbt->gebiet_id])) - echo ''; + echo ''; else echo ''; - echo ''; + echo ''; echo ''; } ?> @@ -238,5 +253,9 @@ while ($row=pg_fetch_object($result)) } ?>
$erg->idnachweis$erg->registriert$erg->stg_kurzbz$erg->stg_bez$erg->gruppe'.$erg->gebiet[$gbt->gebiet_id]->punkte.''.$erg->gebiet[$gbt->gebiet_id]->prozent.' %'.number_format($erg->gebiet[$gbt->gebiet_id]->punkte,2,',',' ').''.number_format($erg->gebiet[$gbt->gebiet_id]->prozent,2,',',' ').' %'.$erg->gesamt.''.number_format($erg->gesamt,2,',',' ').'
+ + diff --git a/content/ToDo_FASo.html b/content/ToDo_FASo.html new file mode 100644 index 000000000..8cbacafaf --- /dev/null +++ b/content/ToDo_FASo.html @@ -0,0 +1,373 @@ + +ToDo FAS-Online + +

ToDo Fas-Online

+Mitarbeiter-Modul
+ +LVA-Modul + +
+FAS V2
+ +

Erledigte Anforderungen
+

+ +
+ \ No newline at end of file diff --git a/content/ToDo_Tempus.html b/content/ToDo_Tempus.html new file mode 100644 index 000000000..dc4fcff74 --- /dev/null +++ b/content/ToDo_Tempus.html @@ -0,0 +1,203 @@ + + + + + +
Legende:  +Rot=dringend; Orange=wichtig; Schwarz=noch +offen; Grün=erledigt; +Grau=passt nicht ins +Konzept
+
+Verplanung

+
+
+ +
+ +
+ +
+Stundenverschiebung
+
+
Lektorenverschiebung +
+Löschen von Reservierungen +
+Verschieben von Reservierungen +
+
+Sonderwünsche (eher zweitrangig)
+
+"Rückgängig"-Button hinzufügen +
+Zeitwünsche der betreffenden +Lektoren bei der Verplanung im Hintergrund +anzeigen (auch bei Verbandsansicht) +
+Möglichkeit zum drucken bzw. speichern der aktuellen Ansicht (Zwecks +Einsicht der Lektoren) +
+Verstellbare Schriftgröße +
+ + diff --git a/content/lvplanung/lehrveranstaltung.css b/content/lvplanung/lehrveranstaltung.css index 51e827427..6eb216636 100644 --- a/content/lvplanung/lehrveranstaltung.css +++ b/content/lvplanung/lehrveranstaltung.css @@ -1,5 +1,5 @@ - -.stplDetailRow { +.stplDetailRow +{ margin:0px; padding:0px; -moz-binding: url('lehrveranstaltungbinding.xml.php#stplDetailRow'); diff --git a/skin/vilesci.css b/skin/vilesci.css index 2be3ef6b9..d6e69d18d 100644 --- a/skin/vilesci.css +++ b/skin/vilesci.css @@ -5,13 +5,19 @@ body color: #000000; background-color: #F6F7FF; } - -TABLE + +table { font-size: small; +} +table.menu +{ + width: 100%; + border: 0; + cellspacing: 0; + cellpadding: 0; } - -TABLE.liste +table.liste { border: 1; cellspacing: 0; @@ -19,17 +25,31 @@ TABLE.liste font-size: small; } -TR.liste +tr.liste { background-color: #D3DCE3; } -TR.liste0 +tr.liste0 { - background-color: #CCCCCC; + background-color: #F3F3E9; } -TR.liste1 +tr.liste1 { - background-color: #DDDDDD; + background-color: #E6E6CC; +} +td.button +{ + color: #000000; + border-top: 1px solid #FFFFFF; + border-right: 1px solid #706D41; + border-bottom: 1px solid #706D41; + border-left: 1px solid #FFFFFF; + cursor: pointer; + font-family: arial, tahoma, verdana, helvetica, sans-serif, serif; + font-size: smaller; /*0.8em;*/ + padding-left: 6px; + padding-right: 6px; + text-align: center; } A.stpl_detail { @@ -304,4 +324,286 @@ h4 background-color: #00FF00; } - +body, td +{ + background-color: #FFFFFF; + margin: 4px; + font-family: arial, tahoma, verdana, helvetica, sans-serif, serif; + padding: 0px; + font-size: smaller; /*0.8em;*/ +} + +img { border: none; } + +div.logo +{ + background-color: #CECF9C; + margin: 0px; + padding: 0px; + font-family: arial, tahoma, verdana, helvetica, sans-serif, serif; + font-size: smaller; /* 1em; */ + border: none; + border-bottom: 2px solid #000000; + margin-bottom: 2px; +} + +body.browser +{ + height: 100%; + background-color: #efefef; + margin: 0px; + padding: 0px; + font-family: arial, tahoma, verdana, helvetica, sans-serif, serif; + font-size: smaller; /*1em;*/ + border-right: 1px dashed #c0c0c0; + text-align: left; +} + +body.bottombar { + background-color: #CECF9C; + margin: 0px; + padding: 0px; + font-family: arial, tahoma, verdana, helvetica, sans-serif, serif; + font-size: smaller; /*1em;*/ + text-align: left; +} + +p.message { + color: blue; +} + +p.comment { + font-style: italic; +} + +h2 +{ + color: #666633; + font-size: medium; /*1.3em;*/ + font-family: arial, tahoma, verdana, helvetica, sans-serif, serif; + font-weight: bold; + border: 2px solid #E6E6CC; + background-color: #F3F3E9; + padding: 2px 1em; + margin: 0 0 1ex 0; +} + +h3 +{ + color: #666633; + font-size: small; + font-family: arial, tahoma, verdana, helvetica, sans-serif, serif; + font-weight: bold; +} + +table.error +{ + background-color: #E6E6CC; +} + +table.error td { + background-color: #E6E6CC; +} + +table.navbar +{ + background-color: #E6E6CC; +} + +table.navbar td +{ + height: 25px; + color: #000000; + background-color: #F3F3E9; + text-align: center; + font-family: arial, tahoma, verdana, helvetica, sans-serif, serif; + font-size: smaller; /* 0.9em */ + font-weight: bold; +} + +table.navbar td.active +{ + background-color: #E6E6CC; +} + +th.data +{ + color: #000000; + background-color: #E6E6CC; + font-family: arial, tahoma, verdana, helvetica, sans-serif, serif; + font-size: smaller; /* 0.9em */ +} + +th.data a:active, th.data a:link, th.data a:visited, th.data a:hover +{ + font-weight: bold; +} + +.left +{ + text-align: left; +} + +th.required +{ + text-decoration: underline; +} + +td.topbar +{ + background-color: #CECF9C; + margin: 0px 0px; + padding: 0px; + font-family: arial, tahoma, verdana, helvetica, sans-serif, serif; + font-size: smaller; /*0.8em;*/ + text-align: left; +} + + + +.trail, .tab +{ + border: 2px solid #E6E6CC; + background-color: #F3F3E9; + padding: 2px 1em; + vertical-align: bottom; +} + +.trail, .topbar +{ + margin-bottom: 2px; +} + +.trail td +{ + background-color: #F3F3E9; + vertical-align: bottom; +} + +.tabs +{ + width: 100%; + border-collapse: collapse; + margin: 0 0 1ex 0; + vertical-align: bottom; +} + +.tab +{ + text-align: center; + vertical-align: bottom; +} + +.tabs .active +{ + background-color: #E6E6CC; + vertical-align: bottom; +} + +.topbar { + border: 2px solid #CECF9C; + padding: 2px 1em; +} + +.topbar, .topbar td { + background-color: #CECF9C; +} + +.topbar .platform, .topbar .host, .topbar .username { + font-weight: bold; +} + +a:active +{ + color: #989973; + font-family: arial, tahoma, verdana, helvetica, sans-serif, serif; + font-weight: normal; + text-decoration: underline; +} + +a,a:link +{ + color: #336699; + font-family: arial, tahoma, verdana, helvetica, sans-serif, serif; + text-decoration: none; +} + +a:visited +{ + color: #336699; + font-family: arial, tahoma, verdana, helvetica, sans-serif, serif; + text-decoration: none; +} + +a:hover +{ + color: #cc0000; + font-family: arial, tahoma, verdana, helvetica, sans-serif, serif; + text-decoration: none; +} + +a.navlink:link, a.toplink:link +{ + color: #336699; + font-family: arial, tahoma, verdana, helvetica, sans-serif, serif; + font-weight: bold; + text-decoration: none; +} + +a.navlink:visited, a.toplink:visited +{ + color: #336699; + font-family: arial, tahoma, verdana, helvetica, sans-serif, serif; + font-weight: bold; + text-decoration: none; +} + +a.navlink:hover, a.toplink:hover +{ + color: #cc0000; + font-family: arial, tahoma, verdana, helvetica, sans-serif, serif; + font-weight: bold; + text-decoration: none; +} + +a.navlink:active, a.toplink:active +{ + color: #cc0000; + font-family: arial, tahoma, verdana, helvetica, sans-serif, serif; + font-weight: bold; + text-decoration: none; +} + +.active a +{ + font-weight: bold; +} + +a.help +{ + color: #E68800; + font-size: smaller; + vertical-align: super; + text-decoration: none; +} + +pre +{ + font-size: 110%; +} + +pre.data +{ + font-family: arial, tahoma, verdana, helvetica, sans-serif, serif; + font-size: 100%; +} + +.intro li +{ + font-weight: bold; +} + +/* Syntax highlighting */ +.comment {color: #008080} +.keyword {color: #FF8000} +.literal {color: #808080} diff --git a/vilesci/index.html b/vilesci/index.html index cb5470477..1220ab960 100644 --- a/vilesci/index.html +++ b/vilesci/index.html @@ -1,15 +1,21 @@ - + + + -VileSci + VileSci + + - - - - - -<body bgcolor="#FFFFFF"> +<frameset cols="200,*"> + <frame src="left.php" id="nav" name="nav" frameborder="0" /> + <frame src="main.php" id="main" name="main" frameborder="0" /> + <noframes> + <body bgcolor="#FFFFFF"> + This application works only with a frames-enabled browser.<br /> + <a href="main.php">Use without frames</a> + </body> + + - - diff --git a/vilesci/left.php b/vilesci/left.php index ea206b705..ad2738cbd 100644 --- a/vilesci/left.php +++ b/vilesci/left.php @@ -1,8 +1,8 @@ @@ -10,67 +10,84 @@ "http://www.w3.org/TR/html4/loose.dtd"> - - + + VileSci Menü + - -VileSci Menü + } + return false; + } + else + return true; + } + //--> + - - - -
- + +
+ +
+ + + + +
IntroductionServers
+ + + + - \ No newline at end of file + diff --git a/vilesci/personen/import/interessentenimport.php b/vilesci/personen/import/interessentenimport.php index 348997a63..2a9e6b096 100644 --- a/vilesci/personen/import/interessentenimport.php +++ b/vilesci/personen/import/interessentenimport.php @@ -15,7 +15,7 @@ * 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 , + * Authors: Christian Paminger , * Andreas Oesterreicher and * Rudolf Hangl . */ @@ -31,7 +31,7 @@ require_once('../../../include/adresse.class.php'); if(!$conn=pg_pconnect(CONN_STRING)) die('Fehler beim Herstellen der DB Connection'); - + $user=get_uid(); loadVariables($conn, $user); @@ -48,7 +48,7 @@ function disablefields(obj) val=false; else val=true; - + document.getElementById('titel').disabled=val; document.getElementById('nachname').disabled=val; document.getElementById('vorname').disabled=val; @@ -82,11 +82,11 @@ $rechte->getBerechtigungen($user); if(!$rechte->isBerechtigt('admin')) die('Sie haben keine Berechtigung fuer diese Seite'); - + $where = ''; $error = false; //Parameter -$titel = (isset($_POST['titel'])?$_POST['titel']:''); +$titel = (isset($_POST['titel'])?$_POST['titel']:''); $nachname = (isset($_POST['nachname'])?$_POST['nachname']:''); $vorname = (isset($_POST['vorname'])?$_POST['vorname']:''); $geschlecht = (isset($_POST['geschlecht'])?$_POST['geschlecht']:''); @@ -106,15 +106,15 @@ $ueberschreiben = (isset($_POST['ueberschreiben'])?$_POST['ueberschreiben']:''); //end Parameter //Testphase fix -if($studiengang_kz!='' && $studiengang_kz!='257') +if($studiengang_kz!='' && $studiengang_kz!='299') die('Keine Berechtigung zum Importieren'); //end Testphase // *** Speichern der Daten *** if(isset($_POST['save'])) { - //echo "Saving Data: Geburtsdatum: $geburtsdatum | Titel: $titel | Nachname: $nachname | Vorname: $vorname | - // Geschlecht: $geschlecht | Adresse: $adresse | Plz: $plz | Ort: $ort | + //echo "Saving Data: Geburtsdatum: $geburtsdatum | Titel: $titel | Nachname: $nachname | Vorname: $vorname | + // Geschlecht: $geschlecht | Adresse: $adresse | Plz: $plz | Ort: $ort | // Email: $email | Telefon: $telefon | Mobil: $mobil | Letzteausbildung: $letzteausbildung | ausbildungsart: $ausbildungsart | // anmerkungen: $anmerkungen | studiengang_kz: $studiengang_kz | person_id: $person_id

"; $person = new person($conn); @@ -129,7 +129,7 @@ if(isset($_POST['save'])) $error=true; $errormsg = 'Person konnte nicht geladen werden'; } - else + else { $geburtsdatum = $person->gebdatum; $vorname = $person->vorname; @@ -141,7 +141,7 @@ if(isset($_POST['save'])) { $error=true; $errormsg = 'Prestudent existiert bereits!'; - } + } } } else @@ -157,31 +157,31 @@ if(isset($_POST['save'])) { $error=false; } - else + else { $error=true; $errormsg = "Person konnte nicht gespeichert werden: $person->errormsg"; } } - + //Adresse anlegen if($ueberschreiben!='' && !($plz=='' && $adresse=='' && $ort=='')) - { + { if($person_id=='0') $ueberschreiben='Nein'; - + $adr = new adresse($conn); //Adresse neu anlegen if($ueberschreiben=='Nein') - { + { $adr->new = true; $adr->insertamum = date('Y-m-d H:i:s'); $adr->insertvon = $user; } - else + else { //Bestehende Adresse Ueberschreiben - + //Adressen der Peron laden $adr->load_pers($person->person_id); if(isset($adr->result[0])) @@ -193,19 +193,19 @@ if(isset($_POST['save'])) $adr->updateamum = date('Y-m-d H:i:s'); $adr->updatevon = $user; } - else + else { $error = true; $errormsg = 'Fehler beim laden der Adresse'; } } - else + else { $error = true; $errormsg = 'Kann die Adresse nicht ueberschreiben wenn keine da ist'; } } - + if(!$error) { //Adressdaten zuweisen und speichern @@ -222,8 +222,8 @@ if(isset($_POST['save'])) $errormsg = $adr->errormsg; } } - } - + } + //Kontaktdaten anlegen if(!$error) { @@ -238,7 +238,7 @@ if(isset($_POST['save'])) $kontakt->insertamum = date('Y-m-d H:i:s'); $kontakt->insertvon = $user; $kontakt->new = true; - + if(!$kontakt->save()) { $error = true; @@ -256,7 +256,7 @@ if(isset($_POST['save'])) $kontakt->insertamum = date('Y-m-d H:i:s'); $kontakt->insertvon = $user; $kontakt->new = true; - + if(!$kontakt->save()) { $error = true; @@ -274,7 +274,7 @@ if(isset($_POST['save'])) $kontakt->insertamum = date('Y-m-d H:i:s'); $kontakt->insertvon = $user; $kontakt->new = true; - + if(!$kontakt->save()) { $error = true; @@ -282,7 +282,7 @@ if(isset($_POST['save'])) } } } - + //Prestudent Anlegen if(!$error) { @@ -294,19 +294,19 @@ if(isset($_POST['save'])) $prestudent->anmerkung = $anmerkungen .($ausbildungsart!=''?' Ausbildungsart:'.$ausbildungsart:''); $prestudent->reihungstestangetreten = false; $prestudent->bismelden = true; - + if(!$prestudent->save()) { $error=true; $errormsg = $prestudent->errormsg; } } - + //Prestudent Rolle Anlegen if(!$error) { $rolle = new prestudent($conn); - + $rolle->prestudent_id = $prestudent->prestudent_id; $rolle->rolle_kurzbz = 'Interessent'; $rolle->studiensemester_kurzbz = $semester_aktuell; @@ -314,25 +314,25 @@ if(isset($_POST['save'])) $rolle->datum = date('Y-m-d'); $rolle->insertamum = date('Y-m-d H:i:s'); $rolle->insertvon = $user; - + $rolle->new = true; - + if(!$rolle->save_rolle()) { $error = true; $errormsg = $rolle->errormsg; } - else + else $error = false; } - + if(!$error) { pg_query($conn, 'COMMIT'); die("Interessent $vorname $nachname wurde erfolgreich angelegt
"); } else - { + { pg_query($conn, 'ROLLBACK'); echo ''.$errormsg.''; } @@ -436,8 +436,8 @@ if($where!='') echo '
'; } } -//else -// echo 'Zum Erstellen des Vorschlags bitte Geburtsdatum oder Vorname und Nachname eingeben'; +//else +// echo 'Zum Erstellen des Vorschlags bitte Geburtsdatum oder Vorname und Nachname eingeben'; ?>