$actions */ public function display_selector(Page $page, array $actions, string $query): void { $body = " "; } foreach ($actions as $action) { $body .= "
" . make_form(make_link("bulk_action"), onsubmit: "return validate_selections(this,'" . html_escape($action["confirmation_message"]) . "');") . "" . "" . "" . $action["block"] . "" . "
"; } if (!$hasQuery) { $body .= ""; } $block = new Block("Bulk Actions", $body, "left", 30); $page->add_block($block); } public function render_ban_reason_input(): string { if (Extension::is_enabled(ImageBanInfo::KEY)) { return ""; } else { return ""; } } public function render_tag_input(): string { return "" . ""; } public function render_source_input(): string { return ""; } }