diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-08-05 05:40:53 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-08-05 05:40:53 +0000 |
commit | c6b1eaa20d665ca608d31536f995451634be3963 (patch) | |
tree | fa98294c837188de95a16674ce6f23a0856c6e44 /modules/node/node.module | |
parent | 54d45d6eb7d629f7bf8e75c4feaef19f40a8eede (diff) | |
download | brdo-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/node.module')
-rw-r--r-- | modules/node/node.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index b7ec70493..8bb328dcf 100644 --- a/modules/node/node.module +++ b/modules/node/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'))); } } |