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/account.module | |
parent | 34a927e6e36c08522bd5b1a873d563e9da5bc7ab (diff) | |
download | brdo-d386c110f449d39631c6af1aabced9799c7a372d.tar.gz brdo-d386c110f449d39631c6af1aabced9799c7a372d.tar.bz2 |
- removed redundant spaces
Diffstat (limited to 'modules/account.module')
-rw-r--r-- | modules/account.module | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/account.module b/modules/account.module index 942cf6072..0de1cbc2e 100644 --- a/modules/account.module +++ b/modules/account.module @@ -24,7 +24,7 @@ function account_display($order = "username") { // Perform query: $result = db_query("SELECT u.id, u.userid, u.". strtok($sort[$order], " ") .", u.url FROM users u ORDER BY $sort[$order]"); - + // Generate output: $output .= "<TABLE BORDER=\"1\" CELLPADDING=\"2\" CELLSPACING=\"2\">\n"; $output .= " <TR>\n"; @@ -57,7 +57,7 @@ function account_display($order = "username") { case "last_access": $output .= " <TD>". format_interval(time() - $account[$value]) ." ago</TD>\n"; break; - case "status": + case "status": $output .= " <TD ALIGN=\"center\">". $stat[$account[$value]] ."</TD>\n"; break; case "permissions": @@ -117,12 +117,12 @@ function account_edit($name) { if ($account = db_fetch_object($result)) { foreach ($status as $key=>$value) { - $stat .= " <OPTION VALUE=\"$key\"". (($account->status == $key) ? " SELECTED" : "") .">$value</OPTION>\n"; + $stat .= " <OPTION VALUE=\"$key\"". (($account->status == $key) ? " SELECTED" : "") .">$value</OPTION>\n"; } $stat = "<SELECT NAME=\"edit[status]\">\n$stat</SELECT>\n"; foreach ($permissions as $key=>$value) { - $perm .= " <OPTION VALUE=\"$key\"". (($account->permissions == $key) ? " SELECTED" : "") .">$value</OPTION>\n"; + $perm .= " <OPTION VALUE=\"$key\"". (($account->permissions == $key) ? " SELECTED" : "") .">$value</OPTION>\n"; } $perm = "<SELECT NAME=\"edit[permissions]\">\n$perm</SELECT>\n"; @@ -202,7 +202,7 @@ function account_admin() { account_display($order); break; default: - account_display(); + account_display(); } } |