static function getOpenMassiveActionsForm($name = '') { global $CFG_GLPI; if (empty($name)) { $name = 'massaction_' . mt_rand(); } return "<form name='{$name}' id='{$name}' method='post'\n action='" . $CFG_GLPI["root_doc"] . "/front/massiveaction.php'>"; }
/** * Display open form for massive action * * @since version 0.84 * * @param $name given name/id to the form (default '') * * @return nothing / display item **/ static function openMassiveActionsForm($name = '') { echo Html::getOpenMassiveActionsForm($name); }