grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026. -------------------------------------------------------------------------- */ /** @file * @brief */ $AJAX_INCLUDE = 1; include ('../inc/includes.php'); // Send UTF8 Headers header("Content-Type: text/html; charset=UTF-8"); Html::header_nocache(); Session::checkLoginUser(); if (isset($_POST["table"]) && isset($_POST["value"])) { // Security if (!TableExists($_POST['table']) ) { exit(); } switch ($_POST["table"]) { case "glpi_users" : if ($_POST['value'] == 0) { $tmpname['link'] = $CFG_GLPI['root_doc']."/front/user.php"; $tmpname['comment'] = ""; } else { $tmpname = getUserName($_POST["value"],2); } echo $tmpname["comment"]; if (isset($_POST['withlink'])) { echo "\n"; } break; default : if ($_POST["value"] > 0) { $tmpname = Dropdown::getDropdownName($_POST["table"], $_POST["value"], 1); echo $tmpname["comment"]; if (isset($_POST['withlink'])) { echo "\n"; } } } } ?>