From d59ba41f65a26cdd31ae9da5b847be008cd365dd Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 9 Oct 2008 15:15:55 +0000 Subject: =?UTF-8?q?#313213=20by=20maartenvg,=20G=C3=A1bor=20Hojtsy:=20Add?= =?UTF-8?q?=20a=20'title'=20attribute=20for=20permissions=20to=20allow=20f?= =?UTF-8?q?or=20localization=20of=20permission=20names?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/block/block.module | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'modules/block') diff --git a/modules/block/block.module b/modules/block/block.module index 7c976ad24..f56e428dc 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -105,8 +105,14 @@ function block_theme() { */ function block_perm() { return array( - 'administer blocks' => t('Select which blocks are displayed, and arrange them on the page.'), - 'use PHP for block visibility' => t('Enter PHP code in the field for block visibility settings. %warning', array('%warning' => t('Warning: Give to trusted roles only; this permission has security implications.'))), + 'administer blocks' => array( + 'title' => t('Administer blocks'), + 'description' => t('Select which blocks are displayed, and arrange them on the page.'), + ), + 'use PHP for block visibility' => array( + 'title' => t('Use PHP for block visibility'), + 'description' => t('Enter PHP code in the field for block visibility settings. %warning', array('%warning' => t('Warning: Give to trusted roles only; this permission has security implications.'))), + ), ); } -- cgit v1.2.3