mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 06:58:43 +02:00
remove old hook (headings) and move to new standard tab
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@184 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
@ -45,9 +45,11 @@ function plugin_init_example() {
|
||||
// Params : plugin name - string type - ID - Array of attributes
|
||||
Plugin::registerClass('PluginExampleDropdown');
|
||||
|
||||
$types = array('Central', 'Computer', 'ComputerDisk', 'Notification', 'Phone',
|
||||
'Preference', 'Profile', 'Supplier');
|
||||
Plugin::registerClass('PluginExampleExample',
|
||||
array('notificationtemplates_types' => true,
|
||||
'addtabon' => array('Phone')));
|
||||
'addtabon' => $types));
|
||||
|
||||
Plugin::registerClass('PluginExampleRuleTestCollection',
|
||||
array('rulecollections_types' => true));
|
||||
|
Reference in New Issue
Block a user