diff options
-rw-r--r-- | modules/comment.module | 8 | ||||
-rw-r--r-- | modules/comment/comment.module | 8 |
2 files changed, 8 insertions, 8 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, ); diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 2fa9bdfb1..ecf68f95c 100644 --- a/modules/comment/comment.module +++ b/modules/comment/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, ); |