mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
several fixes
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@213 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
parent
d9a47a3e19
commit
bbbfa5812a
@ -40,7 +40,7 @@ class PluginExampleRuleTestCollection extends RuleCollection {
|
|||||||
|
|
||||||
// From RuleCollection
|
// From RuleCollection
|
||||||
public $stop_on_first_match = true;
|
public $stop_on_first_match = true;
|
||||||
static public = 'rule_import';
|
static public $right = 'rule_import';
|
||||||
public $menu_option = 'test';
|
public $menu_option = 'test';
|
||||||
|
|
||||||
function getTitle() {
|
function getTitle() {
|
||||||
|
@ -43,7 +43,6 @@ function plugin_init_example() {
|
|||||||
// ));
|
// ));
|
||||||
|
|
||||||
Plugin::registerClass('PluginExampleConfig', array('addtabon' => 'Config'));
|
Plugin::registerClass('PluginExampleConfig', array('addtabon' => 'Config'));
|
||||||
Plugin::registerClass('PluginExampleRight', array('addtabon' => 'Profile'));
|
|
||||||
|
|
||||||
// Params : plugin name - string type - ID - Array of attributes
|
// Params : plugin name - string type - ID - Array of attributes
|
||||||
Plugin::registerClass('PluginExampleDropdown');
|
Plugin::registerClass('PluginExampleDropdown');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user