Commit 18428ae9 authored by Dries's avatar Dries

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

parent 28b2f098
......@@ -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',
......
......@@ -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');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment