From 7fac91c2cc4ca3dedf4459f9cdf9955e33be0f42 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 4 Apr 2001 21:09:24 +0000 Subject: - various smaller improvements --- modules/account.module | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'modules/account.module') 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 " access control | search account | overview | help
\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": -- cgit v1.2.3