summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-12-11 12:32:01 +0000
committerDries Buytaert <dries@buytaert.net>2004-12-11 12:32:01 +0000
commita0291bb936ff2fbcdbc5795ec971c84443464c07 (patch)
treed149c89310db6779a66d5912ced294e2bcc63703
parent260f886699a5e1897d4a0e14e91ae108f3bd8123 (diff)
downloadbrdo-a0291bb936ff2fbcdbc5795ec971c84443464c07.tar.gz
brdo-a0291bb936ff2fbcdbc5795ec971c84443464c07.tar.bz2
- Patch #14209 by nysus: improved the clarity and readability for a group of radio buttons for a block's visibility settings.
-rw-r--r--modules/block.module2
-rw-r--r--modules/block/block.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/block.module b/modules/block.module
index d2228758b..dd120cfe9 100644
--- a/modules/block.module
+++ b/modules/block.module
@@ -258,7 +258,7 @@ function block_admin_configure($module = NULL, $delta = 0) {
$group = form_radios(t('Show on specific pages'), 'visibility', $edit['visibility'], array(t('Show on every page except the listed pages.'), t('Show on only the listed pages.')));
$group .= form_textarea(t('Pages'), 'pages', $edit['pages'], 40, 5, t("Enter one page per line as Drupal paths. The '*' character is a wildcard. Example paths are '<em>blog</em>' for the blog page and '<em>blog/*</em>' for every personal blog. '<em>&lt;front&gt;</em>' is the front page. "));
- $group .= form_radios(t('User options'), 'custom', $edit['custom'], array(t('Users may not turn on or off this block.'), t('Users may turn this block on or off, on by default.'), t('Users may turn this block on or off, off by default.')), t('Users can decide which blocks they want on or off on their account editing page.'));
+ $group .= form_radios(t('Custom visibility settings'), 'custom', $edit['custom'], array(t('Users cannot control whether or not they see this block.'), t('Show this block by default, but let individual users hide it.'), t('Hide this block by default but let individual users show it.')), t('Allow individual users to customize the visibility of this block in their account settings.'));
$form .= form_group(t('Visibility settings'), $group);
diff --git a/modules/block/block.module b/modules/block/block.module
index d2228758b..dd120cfe9 100644
--- a/modules/block/block.module
+++ b/modules/block/block.module
@@ -258,7 +258,7 @@ function block_admin_configure($module = NULL, $delta = 0) {
$group = form_radios(t('Show on specific pages'), 'visibility', $edit['visibility'], array(t('Show on every page except the listed pages.'), t('Show on only the listed pages.')));
$group .= form_textarea(t('Pages'), 'pages', $edit['pages'], 40, 5, t("Enter one page per line as Drupal paths. The '*' character is a wildcard. Example paths are '<em>blog</em>' for the blog page and '<em>blog/*</em>' for every personal blog. '<em>&lt;front&gt;</em>' is the front page. "));
- $group .= form_radios(t('User options'), 'custom', $edit['custom'], array(t('Users may not turn on or off this block.'), t('Users may turn this block on or off, on by default.'), t('Users may turn this block on or off, off by default.')), t('Users can decide which blocks they want on or off on their account editing page.'));
+ $group .= form_radios(t('Custom visibility settings'), 'custom', $edit['custom'], array(t('Users cannot control whether or not they see this block.'), t('Show this block by default, but let individual users hide it.'), t('Hide this block by default but let individual users show it.')), t('Allow individual users to customize the visibility of this block in their account settings.'));
$form .= form_group(t('Visibility settings'), $group);