several fixes

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@213 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
moyooo 2013-02-19 11:32:25 +00:00
parent d9a47a3e19
commit bbbfa5812a
2 changed files with 1 additions and 2 deletions

View File

@ -40,7 +40,7 @@ class PluginExampleRuleTestCollection extends RuleCollection {
// From RuleCollection
public $stop_on_first_match = true;
static public = 'rule_import';
static public $right = 'rule_import';
public $menu_option = 'test';
function getTitle() {

View File

@ -43,7 +43,6 @@ function plugin_init_example() {
// ));
Plugin::registerClass('PluginExampleConfig', array('addtabon' => 'Config'));
Plugin::registerClass('PluginExampleRight', array('addtabon' => 'Profile'));
// Params : plugin name - string type - ID - Array of attributes
Plugin::registerClass('PluginExampleDropdown');