From 6e471a33c49ede4740bcfe571b7374a502885299 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Tue, 8 Feb 2011 14:05:23 +0000 Subject: [PATCH] --- index.vilesci.html | 13 ------------- index.vilesci.php | 2 +- wawi/firma.php | 12 ++++++++++-- 3 files changed, 11 insertions(+), 16 deletions(-) delete mode 100644 index.vilesci.html diff --git a/index.vilesci.html b/index.vilesci.html deleted file mode 100644 index 9940980e9..000000000 --- a/index.vilesci.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - CIS - FH Technikum Wien - - - - -Wenn Sie nicht weitergeleitet werden, klicken Sie bitte hier - - diff --git a/index.vilesci.php b/index.vilesci.php index cfe55f8a3..c5bc8d110 100644 --- a/index.vilesci.php +++ b/index.vilesci.php @@ -1,6 +1,6 @@ \ No newline at end of file diff --git a/wawi/firma.php b/wawi/firma.php index 5316caa87..9200cb2a9 100644 --- a/wawi/firma.php +++ b/wawi/firma.php @@ -73,7 +73,7 @@ $id = isset($_GET['id'])?$_GET['id']:''; if(isset($_POST['save'])) { if(!isset($_POST['strasse']) || !isset($_POST['name']) || !isset($_POST['plz']) || !isset($_POST['ort']) || - !isset($_POST['telefon']) || !isset($_POST['fax']) || !isset($_POST['email'])) + !isset($_POST['telefon']) || !isset($_POST['fax']) || !isset($_POST['email']) || !isset($_POST['anmerkung'])) die('Ungueltige Parameteruebergabe'); $error = false; @@ -85,6 +85,7 @@ if(isset($_POST['save'])) $fax = $_POST['fax']; $email = $_POST['email']; $nation = $_POST['nation']; + $anmerkung = $_POST['anmerkung']; //Bei einem Update werden die IDs der Datensaetze uebergeben $adresse_id = $_POST['adresse_id']; @@ -135,6 +136,7 @@ if(isset($_POST['save'])) } $firma->name=$name; + $firma->anmerkung=$anmerkung; if($firma->save()) @@ -311,6 +313,7 @@ if($method=='new' || $method=='update') $fax_id=''; $email_id=''; $telefon_id=''; + $anmerkung=''; if($method=='new') echo '

Neue Firma

'; @@ -327,6 +330,7 @@ if($method=='new' || $method=='update') die('Firma konnte nicht geladen werden'); $name = $firma->name; + $anmerkung = $firma->anmerkung; $firma_id = $firma->firma_id; //Standort Laden @@ -384,7 +388,7 @@ if($method=='new' || $method=='update') - Strasse: + Straße: @@ -425,6 +429,10 @@ if($method=='new' || $method=='update') E-Mail: + + Anmerkungen: + +