From e54db453e01e2df2f68f233c3b2482492e3a4352 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Thu, 26 Jan 2006 09:06:23 +0000 Subject: [PATCH] - Patch #36029 by asimmonds/dopry: fixed critical bug in block administration. --- modules/block.module | 3 ++- modules/block/block.module | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/block.module b/modules/block.module index 1c81dd672a99..7d8824d55a6b 100644 --- a/modules/block.module +++ b/modules/block.module @@ -346,7 +346,8 @@ function block_admin_configure($module = NULL, $delta = 0) { $form['user_vis_settings']['custom'] = array( '#type' => 'radios', '#title' => t('Custom visibility settings'), - '#options' => 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.')), + '#options' => 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.')), + '#description' => t('Allow individual users to customize the visibility of this block in their account settings.'), '#default_value' => $edit['custom'], ); $form['page_vis_settings'] = array( diff --git a/modules/block/block.module b/modules/block/block.module index 1c81dd672a99..7d8824d55a6b 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -346,7 +346,8 @@ function block_admin_configure($module = NULL, $delta = 0) { $form['user_vis_settings']['custom'] = array( '#type' => 'radios', '#title' => t('Custom visibility settings'), - '#options' => 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.')), + '#options' => 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.')), + '#description' => t('Allow individual users to customize the visibility of this block in their account settings.'), '#default_value' => $edit['custom'], ); $form['page_vis_settings'] = array( -- GitLab