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, 3 insertions, 9 deletions
diff --git a/modules/block.module b/modules/block.module
index 1ae859566..a6ba60145 100644
--- a/modules/block.module
+++ b/modules/block.module
@@ -54,9 +54,7 @@ function block_help($section = "admin/help#block") {
}
function block_help_page() {
- print theme("header");
- print block_help();
- print theme("footer");
+ print theme("page", block_help());
}
function block_perm() {
@@ -312,14 +310,10 @@ function block_admin() {
$output .= block_admin_display();
}
- print theme("header");
- print $output;
- print theme("footer");
+ print theme("page", $output);
}
else {
- print theme("header");
- print message_access();
- print theme("footer");
+ print theme("page", message_access());
}
}