From cb002abcc3b7990edf29e755e4a6f3e2d8722caf Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 5 Sep 2009 06:07:58 +0000 Subject: - Patch #412030 by stBorchert: fixed placement of descriptions on radios. --- modules/comment/comment.module | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/comment/comment.module') 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.'); } } } -- cgit v1.2.3