From 83093dd76704186f394521f03191c2e3dcb1537b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Thu, 8 Sep 2011 15:02:48 +0000 Subject: [PATCH] =?UTF-8?q?Notizen=20f=C3=BCr=20Projekte=20und=20Projektph?= =?UTF-8?q?asen=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/notiz.window.js.php | 9 ++ content/notiz.window.xul.php | 15 +++- content/notiz.xml.php | 86 ++++++++++---------- content/planner.overlay.js.php | 16 +++- content/planner.overlay.xul.php | 2 +- content/projekt/projekt.overlay.js.php | 7 +- content/projekt/projekt.overlay.xul.php | 4 +- content/projekt/projektphase.overlay.js.php | 4 + content/projekt/projektphase.overlay.xul.php | 2 + 9 files changed, 95 insertions(+), 50 deletions(-) diff --git a/content/notiz.window.js.php b/content/notiz.window.js.php index 39ef4ecf2..502a4b32d 100755 --- a/content/notiz.window.js.php +++ b/content/notiz.window.js.php @@ -46,15 +46,24 @@ function NotizInit(id) //RDF parsen titel = getTargetHelper(dsource,subject,rdfService.GetResource( predicateNS + "#titel" )); + text = getTargetHelper(dsource,subject,rdfService.GetResource( predicateNS + "#text" )); + start = getTargetHelper(dsource,subject,rdfService.GetResource( predicateNS + "#start" )); + ende = getTargetHelper(dsource,subject,rdfService.GetResource( predicateNS + "#ende" )); } else { //Defaultwerte bei Neuem Datensatz titel=''; + text=''; + start=''; + ende=''; } document.getElementById('notiz-textbox-titel').value=titel; + document.getElementById('notiz-textbox-text').value=text; + document.getElementById('notiz-box-start').value=start; + document.getElementById('notiz-box-ende').value=ende; } // **** diff --git a/content/notiz.window.xul.php b/content/notiz.window.xul.php index 1605ead41..009563f80 100755 --- a/content/notiz.window.xul.php +++ b/content/notiz.window.xul.php @@ -31,7 +31,8 @@ echo ''."\n"; echo ''; echo ''; - +echo ''; + if(isset($_GET['id']) && is_numeric($_GET['id'])) $id=$_GET['id']; else @@ -63,6 +64,18 @@ else