. * --------------------------------------------------------------------- */ if (!defined('GLPI_ROOT')) { die("Sorry. You can't access this file directly"); } class GLPINetwork { public function getTabNameForItem() { return 'GLPI Network'; } static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0) { if ($item->getType() == 'Config') { $glpiNetwork = new self(); $glpiNetwork->showForConfig(); } } public static function showForConfig() { if (!Config::canView()) { return; } $registration_key = self::getRegistrationKey(); $canedit = Config::canUpdate(); if ($canedit) { echo "