From 8213f5b2627a6b63db9f84b572918bd7e3254dff Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 6 Apr 2001 14:14:16 +0000 Subject: A lot of small changes (search-n-replace) make a big commit: - fixed update bug in book.module - provide a log message when both adding and updating book pages - all configurable variables are now accessed through "variable_get()": - rewrote watchdog and submission throttle and removed watchdog.inc - improved robustness of sections.inc - imporved story.module - updated ./database/database.sql --- modules/block.module | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'modules/block.module') diff --git a/modules/block.module b/modules/block.module index 73b6b7f55..c2b53240b 100644 --- a/modules/block.module +++ b/modules/block.module @@ -84,7 +84,6 @@ function block_admin_display() { } function block_admin_overview() { - global $site_name; $result = db_query("SELECT * FROM blocks WHERE status > 0 AND region = 0 ORDER BY weight"); $lblocks .= "\n"; @@ -98,9 +97,9 @@ function block_admin_overview() { $output .= "

layout 1:

\n"; $output .= "
\n"; - $output .= " \n"; + $output .= " \n"; $output .= " \n"; - $output .= " \n"; + $output .= " \n"; $output .= "
$site_name header
header
\n". ($lblocks ? $lblocks : " ") ." \n". ($rblocks ? $rblocks : " ") ."
$site_name footer
footer
\n"; $result = db_query("SELECT * FROM blocks WHERE status > 0 ORDER BY weight"); @@ -110,16 +109,16 @@ function block_admin_overview() { $output .= "

layout 2:

\n"; $output .= "\n"; - $output .= " \n"; + $output .= " \n"; $output .= " \n"; - $output .= " \n"; + $output .= " \n"; $output .= "
$site_name header
header
 \n". ($blocks ? $blocks : " ") ."
$site_name footer
footer
\n"; $output .= "

layout 3:

\n"; $output .= "\n"; - $output .= " \n"; + $output .= " \n"; $output .= " \n"; - $output .= " \n"; + $output .= " \n"; $output .= "
$site_name header
header
\n". ($blocks ? $blocks : " ") ." 
$site_name footer
footer
\n"; print $output; -- cgit v1.2.3