/**
  * Display tab
  *
  * @param CommonGLPI $item
  * @param integer $withtemplate
  *
  * @return varchar name of the tab(s) to display
  */
 function getTabNameForItem(CommonGLPI $item, $withtemplate = 0)
 {
     $ong = array();
     if ($item->fields['id'] > 0) {
         $ong[1] = __('Import');
         $pfConfig = new PluginFusioninventoryConfig();
         if ($pfConfig->isActive('remotehttpagent') && Session::haveRight('plugin_fusioninventory_remotecontrol', UPDATE)) {
             $ong[2] = __('Job', 'fusioninventory');
         }
     }
     return $ong;
 }