From d21cf3563114ca29511571155cef0fefc39ee44c Mon Sep 17 00:00:00 2001 From: moyooo Date: Mon, 26 Mar 2007 18:34:43 +0000 Subject: [PATCH] ajout infos git-svn-id: https://forge.glpi-project.org/svn/example/trunk@17 349b9182-4a13-0410-896f-e5e9767dd1b3 --- setup.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.php b/setup.php index 965be54..9c31ff4 100755 --- a/setup.php +++ b/setup.php @@ -172,9 +172,10 @@ function plugin_planning_populate_example($parm){ // Add items in the items fields of the parm array // Items need to have an unique index beginning by the begin date of the item to display // needed to be correcly displayed + $parm["items"][$parm["begin"]."$$$"."plugin_example1"]["plugin"]="example"; $parm["items"][$parm["begin"]."$$$"."plugin_example1"]["begin"]=$parm["begin"]; - $parm["items"][$parm["begin"]."$$$"."plugin_example1"]["end"]=$parm["begin"]; + $parm["items"][$parm["begin"]."$$$"."plugin_example1"]["end"]="2007-03-28 12:33:00"; $parm["items"][$parm["begin"]."$$$"."plugin_example1"]["name"]="test planning example 1 "; return $parm; @@ -182,7 +183,7 @@ function plugin_planning_populate_example($parm){ // Display the planning item function plugin_display_planning_example($parm){ - + // $parm["type"] say begin end in or from type // Add items in the items fields of the parm array echo "--".$parm["name"]."--"; }