From ece9032afd035bbe4ca55b6fd671df03b96b4e35 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 8 Jun 2009 04:55:34 +0000 Subject: #266153 by JamesAn: Add a description for user-personalizable blocks. --- modules/block/block.module | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/block/block.module b/modules/block/block.module index 5ed26dfa3..13e9821ad 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -417,7 +417,14 @@ function block_user_form(&$edit, &$account, $category = NULL) { if ($category == 'account') { $rids = array_keys($account->roles); $result = db_query("SELECT DISTINCT b.* FROM {block} b LEFT JOIN {block_role} r ON b.module = r.module AND b.delta = r.delta WHERE b.status = 1 AND b.custom <> 0 AND (r.rid IN (:rids) OR r.rid IS NULL) ORDER BY b.weight, b.module", array(':rids' => $rids)); - $form['block'] = array('#type' => 'fieldset', '#title' => t('Block configuration'), '#weight' => 3, '#collapsible' => TRUE, '#tree' => TRUE); + $form['block'] = array( + '#type' => 'fieldset', + '#title' => t('Personalize blocks'), + '#description' => t('Blocks consist of content or information that complements the main content of the page. Enable or disable optional blocks using the checkboxes below.'), + '#weight' => 3, + '#collapsible' => TRUE, + '#tree' => TRUE + ); foreach ($result as $block) { $data = module_invoke($block->module, 'block_list'); if ($data[$block->delta]['info']) { -- cgit v1.2.3