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:
remicollet
2012-01-24 11:32:20 +00:00
parent 7e733f2322
commit cd37a236d1
3 changed files with 71 additions and 108 deletions

View File

@ -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));