diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-01-26 13:38:46 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-01-26 13:38:46 +0000 |
commit | d386c110f449d39631c6af1aabced9799c7a372d (patch) | |
tree | 443ae8e3b5ac6680d5a25b26271ce02780b4a51e /modules/ban.module | |
parent | 34a927e6e36c08522bd5b1a873d563e9da5bc7ab (diff) | |
download | brdo-d386c110f449d39631c6af1aabced9799c7a372d.tar.gz brdo-d386c110f449d39631c6af1aabced9799c7a372d.tar.bz2 |
- removed redundant spaces
Diffstat (limited to 'modules/ban.module')
-rw-r--r-- | modules/ban.module | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/ban.module b/modules/ban.module index f602c177f..b14dc492e 100644 --- a/modules/ban.module +++ b/modules/ban.module @@ -37,12 +37,12 @@ function ban_admin_new($mask, $category, $reason) { function ban_display($category = "") { global $type2index; - // initialize variable: + // initialize variable: $category = $category ? $category : 1; // Perform query: $result = db_query("SELECT * FROM bans WHERE type = $category ORDER BY mask"); - + // Generate output: $output .= "<TABLE BORDER=\"1\" CELLPADDING=\"2\" CELLSPACING=\"2\">\n"; $output .= " <TR>\n"; @@ -67,7 +67,7 @@ function ban_display($category = "") { } $output .= " <TR><TD COLSPAN=\"3\"><SMALL>%: matches any number of characters, even zero characters.<BR>_: matches exactly one character.</SMALL></TD></TR>\n"; $output .= "</TABLE>\n"; - + print $output; } @@ -88,7 +88,7 @@ function ban_admin_add() { $output .= "<TEXTAREA NAME=\"reason\" COLS=\"50\" ROWS=\"5\"></TEXTAREA><P>\n"; $output .= "<INPUT TYPE=\"submit\" NAME=\"op\" VALUE=\"Add ban\"><BR>\n"; $output .= "</FORM>\n"; - + print $output; } |