grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026. -------------------------------------------------------------------------- */ /** @file * @brief * @since version 0.84 */ include ('../inc/includes.php'); header("Content-Type: text/html; charset=UTF-8"); Html::header_nocache(); Session::checkLoginUser(); try { $ma = new MassiveAction($_POST, $_GET, 'initial'); } catch (Exception $e) { echo "
".
                              __s(

"; echo "".$e->getMessage()."
"; echo "
"; exit(); } echo "

"; Html::openMassiveActionsForm(); $params = array('action' => '__VALUE__'); $input = $ma->getInput(); foreach ($input as $key => $val) { $params[$key] = $val; } $actions = $params['actions']; if (count($actions)) { if (isset($params['hidden']) && is_array($params['hidden'])) { foreach ($params['hidden'] as $key => $val) { echo Html::hidden($key, array('value' => $val)); } } _e('Action'); echo " "; $actions = array('-1' => Dropdown::EMPTY_VALUE) + $actions; $rand = Dropdown::showFromArray('massiveaction', $actions); echo "

"; Ajax::updateItemOnSelectEvent("dropdown_massiveaction$rand", "show_massiveaction$rand", $CFG_GLPI["root_doc"]."/ajax/dropdownMassiveAction.php", $params); echo " \n"; } // Force 'checkbox-zero-on-empty', because some massive actions can use checkboxes $CFG_GLPI['checkbox-zero-on-empty'] = true; Html::closeForm(); echo "
"; ?>