diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-09-05 06:07:58 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-09-05 06:07:58 +0000 |
commit | cb002abcc3b7990edf29e755e4a6f3e2d8722caf (patch) | |
tree | a8d1db18eabc8f65416db52956e7e525aa2ff633 /modules/comment/comment.module | |
parent | 93a8a68e171860ad074801f719c589b4ec1edf36 (diff) | |
download | brdo-cb002abcc3b7990edf29e755e4a6f3e2d8722caf.tar.gz brdo-cb002abcc3b7990edf29e755e4a6f3e2d8722caf.tar.bz2 |
- Patch #412030 by stBorchert: fixed placement of descriptions on radios.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 4d5dcd0e3..b17d3c71f 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1023,7 +1023,7 @@ function comment_form_alter(&$form, $form_state, $form_id) { COMMENT_NODE_OPEN => array( '#type' => 'radio', '#title' => t('Open'), - '#description' => theme('indentation') . t('Users with the "Post comments" permission can post comments.'), + '#description' => t('Users with the "Post comments" permission can post comments.'), '#return_value' => COMMENT_NODE_OPEN, '#default_value' => $comment_settings, '#id' => 'edit-comment-2', @@ -1032,7 +1032,7 @@ function comment_form_alter(&$form, $form_state, $form_id) { COMMENT_NODE_CLOSED => array( '#type' => 'radio', '#title' => t('Closed'), - '#description' => theme('indentation') . t('Users cannot post comments, but existing comments will be displayed.'), + '#description' => t('Users cannot post comments, but existing comments will be displayed.'), '#return_value' => COMMENT_NODE_CLOSED, '#default_value' => $comment_settings, '#id' => 'edit-comment-1', @@ -1041,7 +1041,7 @@ function comment_form_alter(&$form, $form_state, $form_id) { COMMENT_NODE_HIDDEN => array( '#type' => 'radio', '#title' => t('Hidden'), - '#description' => theme('indentation') . t('Comments are hidden from view.'), + '#description' => t('Comments are hidden from view.'), '#return_value' => COMMENT_NODE_HIDDEN, '#default_value' => $comment_settings, '#id' => 'edit-comment-0', @@ -1053,7 +1053,7 @@ function comment_form_alter(&$form, $form_state, $form_id) { if (empty($comment_count)) { unset($form['comment_settings']['comment']['#options'][COMMENT_NODE_HIDDEN]); unset($form['comment_settings']['comment'][COMMENT_NODE_HIDDEN]); - $form['comment_settings']['comment'][COMMENT_NODE_CLOSED]['#description'] = theme('indentation') . t('Users cannot post comments.'); + $form['comment_settings']['comment'][COMMENT_NODE_CLOSED]['#description'] = t('Users cannot post comments.'); } } } |