Modif mineure

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@36 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
moyooo 2007-10-21 11:50:55 +00:00
parent 39c28f8b1d
commit 15b05d986f

View File

@ -84,10 +84,13 @@ function plugin_init_example() {
// Cron action // Cron action
$PLUGIN_HOOKS['cron']['example'] = DAY_TIMESTAMP; $PLUGIN_HOOKS['cron']['example'] = DAY_TIMESTAMP;
//redirect appel http://localhost/glpi/index.php?redirect=plugin_example_2 (ID 2 du form) //redirect appel http://localhost/glpi/index.php?redirect=plugin_example_2 (ID 2 du form)
$PLUGIN_HOOKS['redirect_page']['example']="example.form.php"; $PLUGIN_HOOKS['redirect_page']['example']="example.form.php";
//function to populate planning //function to populate planning
$PLUGIN_HOOKS['planning_populate']['example']="plugin_planning_populate_example"; $PLUGIN_HOOKS['planning_populate']['example']="plugin_planning_populate_example";
//function to populate planning //function to populate planning
$PLUGIN_HOOKS['display_planning']['example']="plugin_display_planning_example"; $PLUGIN_HOOKS['display_planning']['example']="plugin_display_planning_example";