summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/block.module4
-rw-r--r--modules/block/block.module4
-rw-r--r--modules/help.module2
-rw-r--r--modules/help/help.module2
4 files changed, 6 insertions, 6 deletions
diff --git a/modules/block.module b/modules/block.module
index eb14f84dc..ce0a02209 100644
--- a/modules/block.module
+++ b/modules/block.module
@@ -1,11 +1,11 @@
<?php
// $Id$
-function block_help($section = "admin/system/block/help") {
+function block_help($section = "admin/block/help") {
$output = "";
switch ($section) {
- case 'admin/system/block/help':
+ case 'admin/block/help':
$output .= "<p>Blocks are the boxes visible in the sidebar(s) of your web site. These are usually generated automatically by modules (e.g. recent forum topics), but you can also create your own blocks using either static HTML or dynamic PHP content.</p>";
$output .= "<p>The sidebar each block appears in depends on both which theme you're using (some are left-only, some right, some both), and on the settings in block management.</p><p>Whether a block is visible in the first place depends on three things:</p><ul><li>It must have its \"enabled\" box checked in block management.</li><li>If it has its \"custom\" box checked in block management, the user must have chosen to display it in their user preferences.</li><li>If the \"path\" field in block management is set, the visitor must be on a page that matches the path specification (more on this later).</li></ul>";
$output .= "<p>The block management screen also lets you specify the vertical sort-order of the blocks within a sidebar. You do this by assigning a <b>weight</b> to each block. Lighter blocks (smaller weight) \"float up\" towards the top of the sidebar. Heavier ones \"sink down\" towards the bottom of it. Once you've positioned things just so, you can preview what the layout will look like in different types of themes by clicking the preview placement link in the menu to the left.</p>";
diff --git a/modules/block/block.module b/modules/block/block.module
index eb14f84dc..ce0a02209 100644
--- a/modules/block/block.module
+++ b/modules/block/block.module
@@ -1,11 +1,11 @@
<?php
// $Id$
-function block_help($section = "admin/system/block/help") {
+function block_help($section = "admin/block/help") {
$output = "";
switch ($section) {
- case 'admin/system/block/help':
+ case 'admin/block/help':
$output .= "<p>Blocks are the boxes visible in the sidebar(s) of your web site. These are usually generated automatically by modules (e.g. recent forum topics), but you can also create your own blocks using either static HTML or dynamic PHP content.</p>";
$output .= "<p>The sidebar each block appears in depends on both which theme you're using (some are left-only, some right, some both), and on the settings in block management.</p><p>Whether a block is visible in the first place depends on three things:</p><ul><li>It must have its \"enabled\" box checked in block management.</li><li>If it has its \"custom\" box checked in block management, the user must have chosen to display it in their user preferences.</li><li>If the \"path\" field in block management is set, the visitor must be on a page that matches the path specification (more on this later).</li></ul>";
$output .= "<p>The block management screen also lets you specify the vertical sort-order of the blocks within a sidebar. You do this by assigning a <b>weight</b> to each block. Lighter blocks (smaller weight) \"float up\" towards the top of the sidebar. Heavier ones \"sink down\" towards the bottom of it. Once you've positioned things just so, you can preview what the layout will look like in different types of themes by clicking the preview placement link in the menu to the left.</p>";
diff --git a/modules/help.module b/modules/help.module
index 9a4bd5d3f..953c11fde 100644
--- a/modules/help.module
+++ b/modules/help.module
@@ -47,7 +47,7 @@ function help_admin($section = "admin/help") {
case 'admin/help':
foreach (module_list() as $name) {
if (module_hook($name, "help")) {
- $temp = module_invoke($name, "help", "admin/".$name."/help");
+ $temp = module_invoke($name, "help", "admin/$name/help");
if (!empty($temp)) {
$links[] = l($name, "admin/help#$name");
$output .= "<h2><a id=\"$name\">". ucfirst($name) ." module</a></h2>";
diff --git a/modules/help/help.module b/modules/help/help.module
index 9a4bd5d3f..953c11fde 100644
--- a/modules/help/help.module
+++ b/modules/help/help.module
@@ -47,7 +47,7 @@ function help_admin($section = "admin/help") {
case 'admin/help':
foreach (module_list() as $name) {
if (module_hook($name, "help")) {
- $temp = module_invoke($name, "help", "admin/".$name."/help");
+ $temp = module_invoke($name, "help", "admin/$name/help");
if (!empty($temp)) {
$links[] = l($name, "admin/help#$name");
$output .= "<h2><a id=\"$name\">". ucfirst($name) ." module</a></h2>";