diff options
-rw-r--r-- | modules/comment.module | 12 | ||||
-rw-r--r-- | modules/comment/comment.module | 12 |
2 files changed, 20 insertions, 4 deletions
diff --git a/modules/comment.module b/modules/comment.module index 368bc94c1..e34b4b610 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -298,8 +298,16 @@ function comment_nodeapi(&$node, $op, $arg = 0) { function comment_user($type, $edit, &$user, $category = NULL) { if ($type == 'form' && $category == 'account') { // when user tries to edit his own data - $form['comment_settings'] = array('#type' => 'fieldset', '#title' => t('Comment settings'), '#collapsible' => TRUE, '#weight' => 4); - $form['comment_settings']['signature'] = array('#type' => 'textarea', '#title' => t('Signature'), '#default_value' => $edit['comment_settings']['signature'], '#description' => ('Your signature will be publicly displayed at the end of your comments.')); + $form['comment_settings'] = array( + '#type' => 'fieldset', + '#title' => t('Comment settings'), + '#collapsible' => TRUE, + '#weight' => 4); + $form['comment_settings']['signature'] = array( + '#type' => 'textarea', + '#title' => t('Signature'), + '#default_value' => $edit['signature'], + '#description' => t('Your signature will be publicly displayed at the end of your comments.')); return $form; } diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 368bc94c1..e34b4b610 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -298,8 +298,16 @@ function comment_nodeapi(&$node, $op, $arg = 0) { function comment_user($type, $edit, &$user, $category = NULL) { if ($type == 'form' && $category == 'account') { // when user tries to edit his own data - $form['comment_settings'] = array('#type' => 'fieldset', '#title' => t('Comment settings'), '#collapsible' => TRUE, '#weight' => 4); - $form['comment_settings']['signature'] = array('#type' => 'textarea', '#title' => t('Signature'), '#default_value' => $edit['comment_settings']['signature'], '#description' => ('Your signature will be publicly displayed at the end of your comments.')); + $form['comment_settings'] = array( + '#type' => 'fieldset', + '#title' => t('Comment settings'), + '#collapsible' => TRUE, + '#weight' => 4); + $form['comment_settings']['signature'] = array( + '#type' => 'textarea', + '#title' => t('Signature'), + '#default_value' => $edit['signature'], + '#description' => t('Your signature will be publicly displayed at the end of your comments.')); return $form; } |