From d26345610483a9da3445992d2c96f0db04fc3582 Mon Sep 17 00:00:00 2001 From: moyooo Date: Tue, 1 Dec 2009 14:19:56 +0000 Subject: [PATCH] correct use of 4th level / permit to link over complete GLPI git-svn-id: https://forge.glpi-project.org/svn/example/trunk@103 349b9182-4a13-0410-896f-e5e9767dd1b3 --- setup.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.php b/setup.php index fcf42f1..c791e8f 100755 --- a/setup.php +++ b/setup.php @@ -65,11 +65,11 @@ function plugin_init_example() { $PLUGIN_HOOKS['submenu_entry']['example']['options']['optionname']['title']="Search"; $PLUGIN_HOOKS['submenu_entry']['example']['options']['optionname']['page']='index.php'; - $PLUGIN_HOOKS['submenu_entry']['example']['options']['optionname']['links']['search']='index.php'; - $PLUGIN_HOOKS['submenu_entry']['example']['options']['optionname']['links']['add'] = 'example.form.php'; - $PLUGIN_HOOKS['submenu_entry']['example']['options']['optionname']['links']['config'] = 'index.php'; - $PLUGIN_HOOKS['submenu_entry']['example']['options']['optionname']['links']["".$LANG["] = 'index.php'; - $PLUGIN_HOOKS['submenu_entry']['example']['options']['optionname']['links'][$LANG['plugin_example']["test"]] = 'index.php'; + $PLUGIN_HOOKS['submenu_entry']['example']['options']['optionname']['links']['search']='/plugins/example/index.php'; + $PLUGIN_HOOKS['submenu_entry']['example']['options']['optionname']['links']['add'] = '/plugins/example/example.form.php'; + $PLUGIN_HOOKS['submenu_entry']['example']['options']['optionname']['links']['config'] = '/plugins/example/index.php'; + $PLUGIN_HOOKS['submenu_entry']['example']['options']['optionname']['links']["".$LANG["] = '/plugins/example/index.php'; + $PLUGIN_HOOKS['submenu_entry']['example']['options']['optionname']['links'][$LANG['plugin_example']["test"]] = '/plugins/example/index.php'; $PLUGIN_HOOKS["helpdesk_menu_entry"]['example'] = true; }