static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0) { global $CFG_GLPI; if ($item->getType() == 'NotificationMailSetting') { $target = $CFG_GLPI["root_doc"] . "/plugins/additionalalerts/front/config.form.php"; self::showFormAlerts($target); } else { if ($item->getType() == 'Entity') { PluginAdditionalalertsInfocomAlert::showNotificationOptions($item); PluginAdditionalalertsOcsAlert::showNotificationOptions($item); } } return true; }