From 4a0e498f52106b29d4adae0aaf7e1a6d55f8fd68 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 27 Sep 2001 20:51:26 +0000 Subject: - a batch of updates, including some experimental changes to the moderation of comments and nodes. --- modules/node/node.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/node/node.module') diff --git a/modules/node/node.module b/modules/node/node.module index aae7afdaf..e856a17ec 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -188,16 +188,16 @@ function node_save_content($edit, $type) { function node_delete($id) { return (node_del(array("nid" => $id)) ? "node has been deleted." : "failed to delete node."); } - + function node_delete_confirmation($id) { - + $node = node_get_object(array("nid" => $id)); $form .= form_item(t("Do you really want to delete this node"), check_output($node->title)); $form .= form_submit("Delete node"); $form .= form_submit("Keep node"); - + return form("admin.php?mod=node&id=$node->nid", $form); } -- cgit v1.2.3