- Patch #307422 by brianV: for usability's sake, use 'Add new comment' across the board.

merge-requests/26/head
Dries Buytaert 2009-06-08 05:10:37 +00:00
parent 28b2f098be
commit 18428ae91f
2 changed files with 2 additions and 2 deletions

View File

@ -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',

View File

@ -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');