summaryrefslogtreecommitdiff
path: root/modules/block
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-12-19 19:13:29 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-12-19 19:13:29 +0000
commit6a95c27147f04b27ce3ce898f7ae16767c32379b (patch)
treeee96b39390b0128b2de028c180397b8bd2d67336 /modules/block
parent7ae4e0b8469289b9b1bd05f45d9392fd80df5e9c (diff)
downloadbrdo-6a95c27147f04b27ce3ce898f7ae16767c32379b.tar.gz
brdo-6a95c27147f04b27ce3ce898f7ae16767c32379b.tar.bz2
#202425 by keith.smith: standardize reference to block placement page as 'blocks administration page' to avoid any confusion
Diffstat (limited to 'modules/block')
-rw-r--r--modules/block/block.admin.inc4
-rw-r--r--modules/block/block.module4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/block/block.admin.inc b/modules/block/block.admin.inc
index 32e64fe38..a3ab2bd09 100644
--- a/modules/block/block.admin.inc
+++ b/modules/block/block.admin.inc
@@ -23,7 +23,7 @@ function block_admin_display($theme = NULL) {
}
/**
- * Generate main block administration form.
+ * Generate main blocks administration form.
*/
function block_admin_display_form(&$form_state, $blocks, $theme = NULL) {
global $theme_key, $custom_theme;
@@ -89,7 +89,7 @@ function block_admin_display_form(&$form_state, $blocks, $theme = NULL) {
}
/**
- * Process main block administration form submission.
+ * Process main blocks administration form submission.
*/
function block_admin_display_form_submit($form, &$form_state) {
foreach ($form_state['values'] as $block) {
diff --git a/modules/block/block.module b/modules/block/block.module
index e3d43dbbb..b1234363e 100644
--- a/modules/block/block.module
+++ b/modules/block/block.module
@@ -67,7 +67,7 @@ define('BLOCK_CACHE_GLOBAL', 0x0008);
function block_help($path, $arg) {
switch ($path) {
case 'admin/help#block':
- $output = '<p>'. t('Blocks are boxes of content rendered into an area, or region, of a web page. The default theme Garland, for example, implements the regions "left sidebar", "right sidebar", "content", "header", and "footer", and a block may appear in any one of these areas. The <a href="@blocks">blocks configuration page</a> provides a drag-and-drop interface for assigning a block to a region, and for controlling the order of blocks within regions.', array('@blocks' => url('admin/build/block'))) .'</p>';
+ $output = '<p>'. t('Blocks are boxes of content rendered into an area, or region, of a web page. The default theme Garland, for example, implements the regions "left sidebar", "right sidebar", "content", "header", and "footer", and a block may appear in any one of these areas. The <a href="@blocks">blocks administration page</a> provides a drag-and-drop interface for assigning a block to a region, and for controlling the order of blocks within regions.', array('@blocks' => url('admin/build/block'))) .'</p>';
$output .= '<p>'. t('Although blocks are usually generated automatically by modules (like the <em>User login</em> block, for example), administrators can also define custom blocks. Custom blocks have a title, description, and body. The body of the block can be as long as necessary, and can contain content supported by any available <a href="@input-format">input format</a>.', array('@input-format' => url('admin/settings/filters'))) .'</p>';
$output .= '<p>'. t('When working with blocks, remember that:') .'</p>';
$output .= '<ul><li>'. t('since not all themes implement the same regions, or display regions in the same way, blocks are positioned on a per-theme basis.') .'</p>';
@@ -89,7 +89,7 @@ function block_help($path, $arg) {
$output .= '<p>'. t('Click the <em>configure</em> link next to each block to configure its specific title and visibility settings. Use the <a href="@add-block">add block page</a> to create a custom block.', array('@add-block' => url('admin/build/block/add'))) .'</p>';
return $output;
case 'admin/build/block/add':
- return '<p>'. t('Use this page to create a new custom block. New blocks are disabled by default, and must be moved to a region on the <a href="@blocks">blocks configuration page</a> to be visible.', array('@blocks' => url('admin/build/block'))) .'</p>';
+ return '<p>'. t('Use this page to create a new custom block. New blocks are disabled by default, and must be moved to a region on the <a href="@blocks">blocks administration page</a> to be visible.', array('@blocks' => url('admin/build/block'))) .'</p>';
}
}