along with GLPI. If not, see <http://www.gnu.org/licenses/>. -------------------------------------------------------------------------- */ /** @file * @brief */ include '../inc/includes.php'; // Redirect management if (isset($_GET["redirect"])) { Toolbox::manageRedirect($_GET["redirect"]); } //******************* // Affichage Module FAQ //****************** $name = ""; Session::checkFaqAccess(); if (Session::getLoginUserID()) { Html::helpHeader(__('FAQ'), $_SERVER['PHP_SELF'], $_SESSION["glpiname"]); } else { $_SESSION["glpilanguage"] = $CFG_GLPI['language']; // Anonymous FAQ Html::simpleHeader(__('FAQ'), array(__('Authentication') => $CFG_GLPI['root_doc'], __('FAQ') => $_SERVER['PHP_SELF'])); } if (isset($_GET["id"])) { $kb = new KnowbaseItem(); if ($kb->getFromDB($_GET["id"])) { $kb->showFull(false); } } else { // Manage forcetab : non standard system (file name <> class name) if (isset($_GET['forcetab'])) {