You should have received a copy of the GNU Affero General Public License
  along with Behaviors. If not, see <http://www.gnu.org/licenses/>.

  ------------------------------------------------------------------------

  @package   Plugin Monitoring for GLPI
  @author    David Durieux
  @co-author 
  @comment   
  @copyright Copyright (c) 2011-2012 Plugin Monitoring for GLPI team
  @license   AGPL License 3.0 or (at your option) any later version
             http://www.gnu.org/licenses/agpl-3.0-standalone.html
  @link      https://forge.indepnet.net/projects/monitoring/
  @since     2011

  ------------------------------------------------------------------------
*/
define('GLPI_ROOT', '../../..');
include GLPI_ROOT . "/inc/includes.php";
PluginMonitoringProfile::checkRight("componentscatalog", 'w');
simpleHeader($LANG['plugin_monitoring']['title'][0]);
if (isset($_POST['update'])) {
    $pmNetworkport = new PluginMonitoringNetworkport();
    //   $pmComponentscatalog_rule = new PluginMonitoringComponentscatalog_rule();
    //   $networkEquipment = new NetworkEquipment();
    $pmNetworkport->updateNetworkports();
    //   $networkEquipment->getFromDB($_POST['items_id']);
    //   $pmComponentscatalog_rule->isThisItemCheckRuleNetworkport($networkEquipment);
    glpi_header($_SERVER['HTTP_REFERER']);
}
commonFooter();