diff options
Diffstat (limited to 'modules/block/block.module')
-rw-r--r-- | modules/block/block.module | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/modules/block/block.module b/modules/block/block.module index b290eb5bc..db0271bf2 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -17,7 +17,7 @@ function block_help($section) { $output = '<p>'. t('Blocks are boxes of content that may be rendered into certain regions of your web pages, for example, into sidebars. Blocks are usually generated automatically by modules (e.g., Recent Forum Topics), but administrators can also define custom blocks.') .'</p>'; $output .= '<p>'. t('The region each block appears in depends on both which theme you are using (some themes allow greater control over block placement than others), and on the settings in the block administration section.') .'</p>'; $output .= '<p>'. t('The block administration screen lets you specify the vertical placement of the blocks within a region. You do this by assigning a weight to each block. Lighter blocks (those having a smaller weight) "float up" towards the top of the region; heavier ones "sink".') .'</p>'; - $output .= t('<p>A block\'s visibility depends on:</p> + $output .= t("<p>A block's visibility depends on:</p> <ul> <li>Its enabled checkbox. Disabled blocks are never shown.</li> <li>Its throttle checkbox. Throttled blocks are hidden during high server loads.</li> @@ -27,7 +27,7 @@ function block_help($section) { <li>Its user-role visibility settings. Administrators can choose to let blocks be visible only for certain user roles.</li> <li>Its function. Some dynamic blocks, such as those generated by modules, will be displayed only on certain pages.</li> </ul> -'); +"); $output .= '<h3>'. t('Module blocks') .'</h3>'; $output .= '<p>'. t('Some modules generate blocks that become available when the modules are enabled. These blocks can be administered via the <a href="@admin-block">blocks administration page</a>.</p>', array('@admin-block' => url('admin/build/block'))) .'</p>'; $output .= '<h3>'. t('Administrator defined blocks') .'</h3>'; @@ -35,12 +35,10 @@ function block_help($section) { $output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@block">Block page</a>.', array('@block' => 'http://drupal.org/handbook/modules/block/')) .'</p>'; return $output; case 'admin/build/block': - return t(" -<p>Blocks are boxes of content that may be rendered into certain regions of your web pages, for example, into sidebars. They are usually generated automatically by modules, but administrators can create blocks manually.</p> + return t('<p>Blocks are boxes of content that may be rendered into certain regions of your web pages, for example, into sidebars. They are usually generated automatically by modules, but administrators can create blocks manually.</p> <p>Only enabled blocks are shown. You can position blocks by specifying which area of the page they should appear in (e.g., a sidebar). Highlighted labels on this page show the regions into which blocks can be rendered. You can specify where within a region a block will appear by adjusting its weight.</p> -<p>If you want certain blocks to disable themselves temporarily during high server loads, check the 'Throttle' box. You can configure the auto-throttle on the <a href=\"@throttle\">throttle configuration page</a> after having enabled the throttle module.</p> -<p>You can configure the behaviour of each block (for example, specifying on which pages and for what users it will appear) by clicking the 'configure' link for each block.</p> -", array('@throttle' => url('admin/settings/throttle'))); +<p>If you want certain blocks to disable themselves temporarily during high server loads, check the "Throttle" box. You can configure the auto-throttle on the <a href="@throttle">throttle configuration page</a> after having enabled the throttle module.</p> +<p>You can configure the behaviour of each block (for example, specifying on which pages and for what users it will appear) by clicking the "configure" link for each block.</p>', array('@throttle' => url('admin/settings/throttle'))); case 'admin/build/block/add': return t('<p>Here you can create a new block. Once you have created this block you must make it active and give it a place on the page using <a href="@overview">blocks</a>. The title is used when displaying the block. The description is used in the "block" column on the <a href="@overview">blocks</a> page.</p>', array('@overview' => url('admin/build/block'))); } |