summaryrefslogtreecommitdiff
path: root/modules/comment.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-02-26 19:47:55 +0000
committerDries Buytaert <dries@buytaert.net>2006-02-26 19:47:55 +0000
commit34896516596b19336d4917dd1d72b6b925ace732 (patch)
tree10a878d53ea3b9d4edcd24766d99f69fbb32b2fe /modules/comment.module
parentf63bb3a3f134addaa42e5ccb19eed8f27c229644 (diff)
downloadbrdo-34896516596b19336d4917dd1d72b6b925ace732.tar.gz
brdo-34896516596b19336d4917dd1d72b6b925ace732.tar.bz2
- Patch #46690 by Zen: 'user comments' -> 'comment settings'.
Diffstat (limited to 'modules/comment.module')
-rw-r--r--modules/comment.module8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/comment.module b/modules/comment.module
index 2fa9bdfb1..ecf68f95c 100644
--- a/modules/comment.module
+++ b/modules/comment.module
@@ -244,14 +244,14 @@ function comment_form_alter($form_id, &$form) {
if ($form['type']['#value'] .'_node_form' == $form_id) {
$node = $form['#node'];
if (user_access('administer comments')) {
- $form['user_comments'] = array(
+ $form['comment_settings'] = array(
'#type' => 'fieldset',
- '#title' => t('User comments'),
+ '#title' => t('Comment settings'),
'#collapsible' => TRUE,
'#collapsed' => TRUE,
'#weight' => 30,
);
- $form['user_comments']['comment'] = array(
+ $form['comment_settings']['comment'] = array(
'#type' => 'radios',
'#parents' => array('comment'),
'#default_value' => $node->comment,
@@ -259,7 +259,7 @@ function comment_form_alter($form_id, &$form) {
);
}
else {
- $form['user_comments']['comment'] = array(
+ $form['comment_settings']['comment'] = array(
'#type' => 'value',
'#value' => $node->comment,
);