summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries Buytaert2009-06-08 05:10:37 (GMT)
committerDries Buytaert2009-06-08 05:10:37 (GMT)
commit18428ae91fc9350f265b02430a7d804032ee93ff (patch)
treef353f62612776d4fe8a598cf05011635df771716
parent28b2f098beb2dcf1e3b6745c65c1194d45da0691 (diff)
- Patch #307422 by brianV: for usability's sake, use 'Add new comment' across the board.
-rw-r--r--modules/comment/comment.module2
-rw-r--r--modules/comment/comment.pages.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 3b7129d..212321a 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -190,7 +190,7 @@ function comment_menu() {
'type' => MENU_CALLBACK,
);
$items['comment/reply/%node'] = array(
- 'title' => 'Reply to comment',
+ 'title' => 'Add new comment',
'page callback' => 'comment_reply',
'page arguments' => array(2),
'access callback' => 'node_access',
diff --git a/modules/comment/comment.pages.inc b/modules/comment/comment.pages.inc
index 08c6aec..9b4e3ab 100644
--- a/modules/comment/comment.pages.inc
+++ b/modules/comment/comment.pages.inc
@@ -102,7 +102,7 @@ function comment_reply($node, $pid = NULL) {
drupal_goto("node/$node->nid");
}
elseif (user_access('post comments')) {
- $output .= theme('comment_form_box', array('pid' => $pid, 'nid' => $node->nid), t('Reply'));
+ $output .= theme('comment_form_box', array('pid' => $pid, 'nid' => $node->nid), t('Add new comment'));
}
else {
drupal_set_message(t('You are not authorized to post comments.'), 'error');