* 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>';
}
...
...
@@ -66,7 +67,7 @@ function block_help($path, $arg) {
$output='<p>'.t('This page provides a drag-and-drop interface for assigning a block to a region, and for controlling the order of blocks within regions. Since not all themes implement the same regions, or display regions in the same way, blocks are positioned on a per-theme basis. Remember that your changes will not be saved until you click the <em>Save blocks</em> button at the bottom of the page. Click the <em>configure</em> link next to each block to configure its specific title and visibility settings.').'</p>';
$output.='<p>'.l(t('Demonstrate block regions (@theme)',array('@theme'=>$themes[$demo_theme]->info['name'])),'admin/structure/block/demo/'.$demo_theme).'</p>';
$output.='<p>'.l(t('Demonstrate block regions (!theme)',array('!theme'=>$themes[$demo_theme]->info['name'])),'admin/structure/block/demo/'.$demo_theme).'</p>';