GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GLPI. If not, see <http://www.gnu.org/licenses/>.
--------------------------------------------------------------------------
*/
// ----------------------------------------------------------------------
// Original Author of file: Walid Nouh
// Purpose of file:
// ----------------------------------------------------------------------
if (!defined('GLPI_ROOT')) {
    include "../../../inc/includes.php";
}
// Manage for networkport display in networkequipment (glpi or fusion view
if (isset($_POST['selectview'])) {
    $_SESSION['plugin_fusioninventory_networkportview'] = $_POST['selectview'];
    Html::back();
}
if (isset($_POST["itemtype"])) {
    $itemtype = $_POST["itemtype"];
} else {
    if (isset($_GET["itemtype"])) {
        $itemtype = $_GET["itemtype"];
    } else {
        $itemtype = 0;
    }
}
Session::checkRight('networking', READ);
Session::checkRight('internet', READ);
PluginFusioninventoryNetworkPort::showDislayOptions($itemtype);
Html::ajaxFooter();