From 1f288c11c43f647020a928d6e2f3fabccac191fe Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 10 Jul 2004 16:06:49 +0000 Subject: - 'add block' -> 'add' --- modules/block.module | 4 ++-- modules/block/block.module | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules') diff --git a/modules/block.module b/modules/block.module index b7e66cbfd..dac0ea399 100644 --- a/modules/block.module +++ b/modules/block.module @@ -39,7 +39,7 @@ function block_help($section) { case 'admin/modules#description': return t('Controls the boxes that are displayed around the main content.'); case 'admin/block': - return t("Blocks are the boxes in the left- and right- side bars of the web site, depending on the chosen theme. They are created by active Drupal modules. The \"enabled\" checkbox sets the default status of the block. Only enabled blocks are shown. When the \"custom\" checkbox is checked, your users can show or hide the block using their account settings. In that case, the 'enabled' checkbox signifies the block's default status. You can assign the block's placement by giving it a region and a weight. The region specifies which side of the page the block is on, and the weight sorts blocks within a region. Lighter (smaller weight value) blocks \"float up\" towards the top of the page. The path setting lets you define which pages you want a block to be shown on. You can also create your own blocks, where you specify the content of the block rather than its being generated by a module (you can even use PHP in these). You can create one of these by clicking the add block tab in the menu to the left. Edit and delete links will become active below for these admin-defined blocks. Blocks can automatically be temporarily disabled to reduce server load when your site becomes extremely busy by checking throttle. The auto-throttle functionality must be enabled on the throttle configuration page after having enabled the throttle module.", array('%createblock' => url('admin/block/add'), '%throttle' => url('admin/settings/throttle'))); + return t("Blocks are the boxes in the left- and right- side bars of the web site, depending on the chosen theme. They are created by active Drupal modules. The \"enabled\" checkbox sets the default status of the block. Only enabled blocks are shown. When the \"custom\" checkbox is checked, your users can show or hide the block using their account settings. In that case, the 'enabled' checkbox signifies the block's default status. You can assign the block's placement by giving it a region and a weight. The region specifies which side of the page the block is on, and the weight sorts blocks within a region. Lighter (smaller weight value) blocks \"float up\" towards the top of the page. The path setting lets you define which pages you want a block to be shown on. You can also create your own blocks, where you specify the content of the block rather than its being generated by a module (you can even use PHP in these). You can create one of these by clicking the add tab in the menu to the left. Edit and delete links will become active below for these admin-defined blocks. Blocks can automatically be temporarily disabled to reduce server load when your site becomes extremely busy by checking throttle. The auto-throttle functionality must be enabled on the throttle configuration page after having enabled the throttle module.", array('%createblock' => url('admin/block/add'), '%throttle' => url('admin/settings/throttle'))); case 'admin/block/add': return t("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 blocks. The title is used when displaying the block. The description is used in the \"block\" column on the blocks page. If you are going to place PHP code in the block, and you have the create php content permission (see the permissions page), you must change the type to PHP to make your code active.", array('%overview' => url('admin/block'), '%permission' => url('admin/user/configure/permission'))); } @@ -78,7 +78,7 @@ function block_menu() { 'callback' => 'block_box_delete', 'type' => MENU_CALLBACK); // Tabs: - $items[] = array('path' => 'admin/block/add', 'title' => t('add block'), + $items[] = array('path' => 'admin/block/add', 'title' => t('add'), 'access' => user_access('administer blocks'), 'callback' => 'block_box_edit', 'type' => MENU_LOCAL_TASK); diff --git a/modules/block/block.module b/modules/block/block.module index b7e66cbfd..dac0ea399 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -39,7 +39,7 @@ function block_help($section) { case 'admin/modules#description': return t('Controls the boxes that are displayed around the main content.'); case 'admin/block': - return t("Blocks are the boxes in the left- and right- side bars of the web site, depending on the chosen theme. They are created by active Drupal modules. The \"enabled\" checkbox sets the default status of the block. Only enabled blocks are shown. When the \"custom\" checkbox is checked, your users can show or hide the block using their account settings. In that case, the 'enabled' checkbox signifies the block's default status. You can assign the block's placement by giving it a region and a weight. The region specifies which side of the page the block is on, and the weight sorts blocks within a region. Lighter (smaller weight value) blocks \"float up\" towards the top of the page. The path setting lets you define which pages you want a block to be shown on. You can also create your own blocks, where you specify the content of the block rather than its being generated by a module (you can even use PHP in these). You can create one of these by clicking the add block tab in the menu to the left. Edit and delete links will become active below for these admin-defined blocks. Blocks can automatically be temporarily disabled to reduce server load when your site becomes extremely busy by checking throttle. The auto-throttle functionality must be enabled on the throttle configuration page after having enabled the throttle module.", array('%createblock' => url('admin/block/add'), '%throttle' => url('admin/settings/throttle'))); + return t("Blocks are the boxes in the left- and right- side bars of the web site, depending on the chosen theme. They are created by active Drupal modules. The \"enabled\" checkbox sets the default status of the block. Only enabled blocks are shown. When the \"custom\" checkbox is checked, your users can show or hide the block using their account settings. In that case, the 'enabled' checkbox signifies the block's default status. You can assign the block's placement by giving it a region and a weight. The region specifies which side of the page the block is on, and the weight sorts blocks within a region. Lighter (smaller weight value) blocks \"float up\" towards the top of the page. The path setting lets you define which pages you want a block to be shown on. You can also create your own blocks, where you specify the content of the block rather than its being generated by a module (you can even use PHP in these). You can create one of these by clicking the add tab in the menu to the left. Edit and delete links will become active below for these admin-defined blocks. Blocks can automatically be temporarily disabled to reduce server load when your site becomes extremely busy by checking throttle. The auto-throttle functionality must be enabled on the throttle configuration page after having enabled the throttle module.", array('%createblock' => url('admin/block/add'), '%throttle' => url('admin/settings/throttle'))); case 'admin/block/add': return t("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 blocks. The title is used when displaying the block. The description is used in the \"block\" column on the blocks page. If you are going to place PHP code in the block, and you have the create php content permission (see the permissions page), you must change the type to PHP to make your code active.", array('%overview' => url('admin/block'), '%permission' => url('admin/user/configure/permission'))); } @@ -78,7 +78,7 @@ function block_menu() { 'callback' => 'block_box_delete', 'type' => MENU_CALLBACK); // Tabs: - $items[] = array('path' => 'admin/block/add', 'title' => t('add block'), + $items[] = array('path' => 'admin/block/add', 'title' => t('add'), 'access' => user_access('administer blocks'), 'callback' => 'block_box_edit', 'type' => MENU_LOCAL_TASK); -- cgit v1.2.3