summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/comment/comment.module8
-rw-r--r--modules/system/system.css3
-rw-r--r--themes/seven/style.css4
3 files changed, 11 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.');
}
}
}
diff --git a/modules/system/system.css b/modules/system/system.css
index fe9fa5d76..acfc50716 100644
--- a/modules/system/system.css
+++ b/modules/system/system.css
@@ -150,6 +150,9 @@ tr.merge-up, tr.merge-up td, tr.merge-up th {
margin-top: 0.4em;
margin-bottom: 0.4em;
}
+.form-type-radio .description, .form-type-checkbox .description {
+ margin-left: 2.4em;
+}
.marker, .form-required {
color: #f00;
}
diff --git a/themes/seven/style.css b/themes/seven/style.css
index 829f2e1c0..7a0226d58 100644
--- a/themes/seven/style.css
+++ b/themes/seven/style.css
@@ -537,6 +537,10 @@ div.form-item div.description {
color: #666;
}
+body div.form-type-radio div.description, body div.form-type-checkbox div.description {
+ margin-left: 1.5em;
+}
+
/* Buttons */
input.form-submit {
cursor: pointer;