. * ------------------------------------------------------------------------- * @copyright Copyright (C) 2006-2022 by Example plugin team. * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html * @link https://github.com/pluginsGLPI/example * ------------------------------------------------------------------------- */ // ---------------------------------------------------------------------- // Original Author of file: // Purpose of file: // ---------------------------------------------------------------------- use GlpiPlugin\Example\Example; include('../../../inc/includes.php'); Session::checkLoginUser(); if ($_SESSION['glpiactiveprofile']['interface'] == 'central') { Html::header('TITRE', $_SERVER['PHP_SELF'], 'plugins', Example::class, ''); } else { Html::helpHeader('TITRE', $_SERVER['PHP_SELF']); } $example = new Example(); $example->display($_GET); Html::footer();