* Shows this block by default, but lets individual users hide it.
* Shows this block by default, but lets individual users hide it.
*/
define('BLOCK_CUSTOM_ENABLED',1);
...
...
@@ -59,6 +59,7 @@ function block_help($path, $arg) {
$output.='<dd>'.t('Users with the <em>Administer blocks</em> permission can <a href="@block-add">add custom blocks</a>, which are then listed on the <a href="@blocks">Blocks administration page</a>. Once created, custom blocks behave just like default and module-generated blocks.',array('@blocks'=>url('admin/structure/block'),'@block-add'=>url('admin/structure/block/add'))).'</dd>';
$output.='</dl>';
return$output;
case'admin/structure/block/add':
return'<p>'.t('Use this page to create a new custom block.').'</p>';
}
...
...
@@ -189,6 +190,7 @@ function _block_themes_access($theme) {
* @param $theme
* The theme whose blocks are being configured. If not set, the default theme
* is assumed.
*
* @return
* The theme that should be used for the block configuration page, or NULL
* to indicate that the default theme should be used.
...
...
@@ -343,7 +345,10 @@ function _block_get_renderable_array($list = array()) {
// to perform contextual actions on the help block, and the links needlessly