summaryrefslogtreecommitdiff
path: root/modules/node.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-08-05 05:40:53 +0000
committerDries Buytaert <dries@buytaert.net>2004-08-05 05:40:53 +0000
commitc6b1eaa20d665ca608d31536f995451634be3963 (patch)
treefa98294c837188de95a16674ce6f23a0856c6e44 /modules/node.module
parent54d45d6eb7d629f7bf8e75c4feaef19f40a8eede (diff)
downloadbrdo-c6b1eaa20d665ca608d31536f995451634be3963.tar.gz
brdo-c6b1eaa20d665ca608d31536f995451634be3963.tar.bz2
- Patch #9775 by TDobes: consistency operation. Changed to "edit foo," "delete foo," and "view foo" links into simply "edit," "delete," and "view".
Diffstat (limited to 'modules/node.module')
-rw-r--r--modules/node.module4
1 files changed, 2 insertions, 2 deletions
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')));
}
}