summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-09-27 20:51:26 +0000
committerDries Buytaert <dries@buytaert.net>2001-09-27 20:51:26 +0000
commit4a0e498f52106b29d4adae0aaf7e1a6d55f8fd68 (patch)
treec3611570a31af3bce1042d62affa6a38c8678292 /modules/node/node.module
parent6cde632962a461d2dc2acef0917b592823e123f8 (diff)
downloadbrdo-4a0e498f52106b29d4adae0aaf7e1a6d55f8fd68.tar.gz
brdo-4a0e498f52106b29d4adae0aaf7e1a6d55f8fd68.tar.bz2
- a batch of updates, including some experimental changes to the moderation
of comments and nodes.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module6
1 files changed, 3 insertions, 3 deletions
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);
}