*/ define('GLPI_ROOT', '../../..'); include GLPI_ROOT . "/inc/includes.php"; header("Content-Type: text/html; charset=UTF-8"); header_nocache(); if (!isset($_POST["id"])) { exit; } if (!isset($_POST["sort"])) { $_POST["sort"] = ""; } if (!isset($_POST["order"])) { $_POST["order"] = ""; } if (!isset($_POST["withtemplate"])) { $_POST["withtemplate"] = ""; } $pmWeathermap = new PluginMonitoringWeathermap(); if ($_POST["id"] > 0 && $pmWeathermap->can($_POST["id"], 'r')) { switch ($_POST['glpi_tab']) { case -1: break; case 1: break; case 2: $pmWeathermap->configureNodesLinks($_POST['id']); break; default: } } ajaxFooter();