is_logged_in()) {
$event = new BulkActionBlockBuildingEvent();
send_event($event);
if (sizeof($event->actions) == 0)
return;
$body = "
";
}
usort($event->actions, array($this, "sort_blocks"));
foreach ($event->actions as $action) {
$body .= "" . make_form(make_link("bulk_action"), "POST", False, "", "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_tag_input()
{
return "" .
"";
}
public function render_source_input()
{
return "";
}
}