From 922892aa1210e8cb32ceee8d1211e98381122ac1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Mon, 18 Jun 2007 13:39:05 +0000 Subject: [PATCH] Kontakt Modul FAS Online --- content/adressedialog.js.php | 6 +- content/adressedialog.xul.php | 4 +- content/bankverbindungdialog.js.php | 103 +++++++++ content/bankverbindungdialog.xul.php | 113 +++++++++ content/fas.xul.php | 8 +- content/fasDBDML.php | 145 ++++++++++-- content/fasoverlay.js.php | 7 + content/kontakt.js.php | 309 ++++++++++++++++++++++++- content/kontakt.xul.php | 65 +++--- content/kontaktdialog.js.php | 95 ++++++++ content/kontaktdialog.xul.php | 117 ++++++++++ content/phpRequest.js.php | 4 +- content/student/studentoverlay.js.php | 315 ++++++++++++++------------ include/bankverbindung.class.php | 96 +++----- include/kontakt.class.php | 150 ++++++------ rdf/kontakt.rdf.php | 1 + rdf/kontakttyp.rdf.php | 72 ++++++ 17 files changed, 1266 insertions(+), 344 deletions(-) create mode 100644 content/bankverbindungdialog.js.php create mode 100644 content/bankverbindungdialog.xul.php create mode 100644 content/kontaktdialog.js.php create mode 100644 content/kontaktdialog.xul.php create mode 100644 rdf/kontakttyp.rdf.php diff --git a/content/adressedialog.js.php b/content/adressedialog.js.php index 869fbd8a7..c89f697d2 100644 --- a/content/adressedialog.js.php +++ b/content/adressedialog.js.php @@ -50,7 +50,7 @@ function AdresseInit(adresse_id, person_id) var predicateNS = "http://www.technikum-wien.at/adresse/rdf"; - //Daten holen + //RDF parsen person_id = getTargetHelper(dsource,subject,rdfService.GetResource( predicateNS + "#person_id" )); name = getTargetHelper(dsource,subject,rdfService.GetResource( predicateNS + "#name" )); @@ -67,6 +67,7 @@ function AdresseInit(adresse_id, person_id) } else { + //Defaultwerte bei Neuem Datensatz neu = true; name=''; strasse=''; @@ -102,6 +103,9 @@ function AdresseInit(adresse_id, person_id) document.getElementById('adresse-menulist-firma').value=firma_id; } +// **** +// * Speichern der Daten +// **** function AdresseSpeichern() { if(window.opener.KontaktAdresseSpeichern(document)) diff --git a/content/adressedialog.xul.php b/content/adressedialog.xul.php index cbaa016d1..5ccb5581a 100644 --- a/content/adressedialog.xul.php +++ b/content/adressedialog.xul.php @@ -89,14 +89,14 @@ else - -