summaryrefslogtreecommitdiff
path: root/modules/box.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-01-26 13:38:46 +0000
committerDries Buytaert <dries@buytaert.net>2001-01-26 13:38:46 +0000
commitd386c110f449d39631c6af1aabced9799c7a372d (patch)
tree443ae8e3b5ac6680d5a25b26271ce02780b4a51e /modules/box.module
parent34a927e6e36c08522bd5b1a873d563e9da5bc7ab (diff)
downloadbrdo-d386c110f449d39631c6af1aabced9799c7a372d.tar.gz
brdo-d386c110f449d39631c6af1aabced9799c7a372d.tar.bz2
- removed redundant spaces
Diffstat (limited to 'modules/box.module')
-rw-r--r--modules/box.module8
1 files changed, 4 insertions, 4 deletions
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 .= "<TABLE BORDER=\"1\" CELLPADDING=\"3\" CELLSPACING=\"0\">\n";
$output .= " <TR><TH>Subject:</TH><TD>". format_data($block->subject) ."</TD></TR>\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 .= "<FORM ACTION=\"admin.php?mod=box\" METHOD=\"post\">\n";
-
+
$output .= "<P>\n";
$output .= " <B>Subject:</B><BR>\n";
$output .= " <INPUT TYPE=\"text\" NAME=\"subject\" VALUE=\"". check_textfield($block->subject) ."\">\n";