. -------------------------------------------------------------------------- */ class PluginRemotesupportConfig extends CommonDBTM { static protected $notable = true; function getTabNameForItem(CommonGLPI $item, $withtemplate = 0) { if (!$withtemplate) { if ($item->getType() == 'Config') { return __('Remote Support plugin'); } } return ''; } static function configUpdate($input) { $input['configuration'] = 1 - $input['configuration']; return $input; } function showFormRemotesupport() { global $CFG_GLPI; if (!Session::haveRight("config", UPDATE)) { return false; } $my_config = Config::getConfigurationValues('plugin:Remotesupport'); echo "