From d386c110f449d39631c6af1aabced9799c7a372d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 26 Jan 2001 13:38:46 +0000 Subject: - removed redundant spaces --- modules/box.module | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/box.module') diff --git a/modules/box.module b/modules/box.module index a271462aa..9a2cd51a9 100644 --- a/modules/box.module +++ b/modules/box.module @@ -50,9 +50,9 @@ function box_block() { function box_admin_display() { $type = array(0 => "ASCII", 1 => "HTML", 2 => "PHP"); - + $result = db_query("SELECT * FROM boxes"); - + while ($block = db_fetch_object($result)) { $output .= "\n"; $output .= " \n"; @@ -89,7 +89,7 @@ function box_admin_new() { } function box_admin_add($subject, $content, $info, $link, $type) { - db_query("INSERT INTO boxes (subject, content, info, link, type) VALUES ('". check_input($subject) ."', '". check_code($content) ."', '". check_input($info) ."', '". check_input($link) ."', '". check_input($type) ."')"); + db_query("INSERT INTO boxes (subject, content, info, link, type) VALUES ('". check_input($subject) ."', '". check_code($content) ."', '". check_input($info) ."', '". check_input($link) ."', '". check_input($type) ."')"); } function box_admin_delete($id) { @@ -108,7 +108,7 @@ function box_admin_edit($id) { if ($block = db_fetch_object($result)) { $output .= "\n"; - + $output .= "

\n"; $output .= " Subject:
\n"; $output .= " subject) ."\">\n"; -- cgit v1.2.3

Subject:". format_data($block->subject) ."