summaryrefslogtreecommitdiff
path: root/modules/block.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/block.module')
-rw-r--r--modules/block.module12
1 files changed, 2 insertions, 10 deletions
diff --git a/modules/block.module b/modules/block.module
index ce0a02209..40c26c036 100644
--- a/modules/block.module
+++ b/modules/block.module
@@ -36,7 +36,7 @@ function block_help($section = "admin/block/help") {
$output .= "<p>For more in-depth examples, we recommend that you check the existing boxes and use them as a starting point.</p>";
$output = t($output, array("%pcre" => "<a href=\"http://php.net/pcre/\">". t("Perl-Compatible Regular Expressions (PCRE)") ."</a>"));
break;
- case 'admin/system/modules':
+ case 'admin/system/modules#description':
$output = t("Controls the boxes that are displayed around the main content.");
break;
case 'admin/system/block':
@@ -53,14 +53,6 @@ function block_help($section = "admin/block/help") {
return $output;
}
-function block_system($field){
- $output = "";
-
- if ($field == "description") { $output = block_help("admin/system/modules"); }
-
- return $output;
-}
-
function block_perm() {
return array("administer blocks");
}
@@ -337,7 +329,7 @@ function block_user($type, &$edit, &$user) {
while ($block = db_fetch_object($result)) {
$data = module_invoke($block->module, "block", "list");
if ($data[$block->delta]["info"]) {
- $form .= "<tr><td>".$data[$block->delta]["info"]."</td><td>". form_checkbox(NULL, "block][$block->module][$block->delta", 1, $user->block[$block->module][$block->delta]) ."</td></tr>\n";
+ $form .= "<tr><td>". $data[$block->delta]["info"] ."</td><td>". form_checkbox(NULL, "block][$block->module][$block->delta", 1, $user->block[$block->module][$block->delta]) ."</td></tr>\n";
}
}