grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026. -------------------------------------------------------------------------- */ /** @file * @brief * @since version 0.83 */ // Direct access to file if (strpos($_SERVER['PHP_SELF'],"planningcheck.php")) { $AJAX_INCLUDE = 1; include ('../inc/includes.php'); header("Content-Type: text/html; charset=UTF-8"); Html::header_nocache(); } Session::checkLoginUser(); if (isset($_POST['users_id']) && ($_POST['users_id'] > 0)) { $rand = mt_rand(); echo " "; echo "\"".__s('Availability')."\""; echo ""; Ajax::createIframeModalWindow('planningcheck'.$rand, $CFG_GLPI["root_doc"]. "/front/planning.php?checkavailability=checkavailability". "&itemtype=User&users_id=".$_POST['users_id'], array('title' => __('Availability'))); } ?>