summaryrefslogtreecommitdiff
path: root/modules/account.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-04-04 21:09:24 +0000
committerDries Buytaert <dries@buytaert.net>2001-04-04 21:09:24 +0000
commit7fac91c2cc4ca3dedf4459f9cdf9955e33be0f42 (patch)
treed1667c823da84a417540c3afdbcf08fc5cf6773c /modules/account.module
parent8d249c5f289f382e214297fda1bf6eec6b3961bd (diff)
downloadbrdo-7fac91c2cc4ca3dedf4459f9cdf9955e33be0f42.tar.gz
brdo-7fac91c2cc4ca3dedf4459f9cdf9955e33be0f42.tar.bz2
- various smaller improvements
Diffstat (limited to 'modules/account.module')
-rw-r--r--modules/account.module11
1 files changed, 3 insertions, 8 deletions
diff --git a/modules/account.module b/modules/account.module
index 5fd8f85ad..e893726a1 100644
--- a/modules/account.module
+++ b/modules/account.module
@@ -46,12 +46,6 @@ function account_find($keys) {
return $find;
}
-function account_search() {
- global $keys, $mod;
- print search_form($keys);
- print search_data($keys, $mod);
-}
-
function account_ac_add($edit) {
db_query("INSERT INTO access (mask, type, reason) VALUES ('". check_input($edit[mask]) ."', '". check_input($edit[type]) ."', '". check_input($edit[reason]) ."')", 1);
}
@@ -225,7 +219,7 @@ function account_view($name) {
}
function account_admin() {
- global $op, $edit, $id, $order, $name;
+ global $op, $edit, $id, $mod, $keys, $order, $name;
print "<SMALL> <A HREF=\"admin.php?mod=account&op=access\">access control</A> | <A HREF=\"admin.php?mod=account&op=search\">search account</A> | <A HREF=\"admin.php?mod=account\">overview</A> | <A HREF=\"admin.php?mod=account&op=help\">help</A></SMALL><HR>\n";
@@ -258,7 +252,8 @@ function account_admin() {
print account_help();
break;
case "search":
- print account_search();
+ print search_form($keys);
+ print search_data($keys, $mod);
break;
case "View account":
case "view":