From c6b1eaa20d665ca608d31536f995451634be3963 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 5 Aug 2004 05:40:53 +0000 Subject: - Patch #9775 by TDobes: consistency operation. Changed to "edit foo," "delete foo," and "view foo" links into simply "edit," "delete," and "view". --- modules/node.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/node.module') diff --git a/modules/node.module b/modules/node.module index b7ec70493..8bb328dcf 100644 --- a/modules/node.module +++ b/modules/node.module @@ -1339,7 +1339,7 @@ function node_submit($node) { // perform this operation: if (node_access('update', $node)) { $node->nid = node_save($node); - watchdog('special', t('%node-type: updated "%node-title"', array('%node-type' => t($node->type), '%node-title' => $node->title)), l(t('view post'), 'node/'. $node->nid)); + watchdog('special', t('%node-type: updated "%node-title"', array('%node-type' => t($node->type), '%node-title' => $node->title)), l(t('view'), 'node/'. $node->nid)); $msg = t('the %name was updated.', array ('%name' => node_invoke($node, 'node_name'))); } } @@ -1348,7 +1348,7 @@ function node_submit($node) { // perform this operation: if (node_access('create', $node)) { $node->nid = node_save($node); - watchdog('special', t('%node-type: added "%node-title"', array('%node-type' => t("$node->type"), '%node-title' => $node->title)), l(t('view post'), "node/$node->nid")); + watchdog('special', t('%node-type: added "%node-title"', array('%node-type' => t("$node->type"), '%node-title' => $node->title)), l(t('view'), "node/$node->nid")); $msg = t('your %name was created.', array ('%name' => node_invoke($node, 'node_name'))); } } -- cgit v1.2.3