--- node.module 2004/02/27 08:04:56 1.1 +++ node.module 2004/02/27 08:30:21 @@ -635,7 +635,7 @@ $_SESSION["node_overview_filter"] = $_POST["edit"]["filter"]; } - if (isset($_POST["edit"]["operation"])) { + if (isset($_POST["edit"]["operation"]) && isset($_POST["edit"]["status"])) { $operation = $operations[$_POST["edit"]["operation"]][1]; foreach ($_POST["edit"]["status"] as $nid => $value) { if ($value) { @@ -660,8 +660,8 @@ $form = form_select(NULL, "filter", $filter, $options); $form .= form_submit(t("Go")); - $output .= "

". t("Filter options") ."

"; - $output .= "
$form
"; + $output .= form("

". t("Filter options") ."

" . + "
$form
"); /* ** Render operations form: @@ -675,8 +675,8 @@ $form = form_select(NULL, "operation", 0, $options); $form .= form_submit(t("Go")); - $output .= "

". t("Update options") ."

"; - $output .= "
$form
"; + $form = "

". t("Update options") ."

\n" . + "
$form
"; /* ** Overview table: @@ -693,9 +693,12 @@ $rows[] = array(array("data" => $pager, "colspan" => 7)); } - $output .= "

". $filters[$filter][0] ."

"; - $output .= table($header, $rows); - return form($output); + $form .= "

". $filters[$filter][0] ."

\n"; + $form .= table($header, $rows); + + $output .= form($form); + + return $output; } function node_admin_settings($edit) {