From e32557bf900153c5cfb0d2f28640aa9091ef7488 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Mon, 25 Sep 2006 01:05:23 +0000 Subject: finished up ACL work --- lib/ui.lib.php | 40 +++++++++++++++++++++++++++++++++------- 1 file changed, 33 insertions(+), 7 deletions(-) (limited to 'lib/ui.lib.php') diff --git a/lib/ui.lib.php b/lib/ui.lib.php index f4783b53..88f050ec 100644 --- a/lib/ui.lib.php +++ b/lib/ui.lib.php @@ -888,31 +888,31 @@ function get_location() { case 'preferences.php': $location['title'] = 'Preferences'; break; - case 'admin/index.php': + case 'adminindex.php': $location['title'] = 'Admin'; $location['section'] = 'admin'; break; - case 'admin/catalog.php': + case 'admincatalog.php': $location['title'] = 'Catalog'; $location['section'] = 'admin'; break; - case 'admin/users.php': + case 'adminusers.php': $location['title'] = 'User Management'; $location['section'] = 'admin'; break; - case 'admin/mail.php': + case 'adminmail.php': $location['title'] = 'Mail Users'; $location['section'] = 'admin'; break; - case 'admin/access.php': + case 'adminaccess.php': $location['title'] = 'Manage Access Lists'; $location['section'] = 'admin'; break; - case 'admin/preferences.php': + case 'adminpreferences.php': $location['title'] = 'Site Preferences'; $location['section'] = 'admin'; break; - case 'admin/modules.php': + case 'adminmodules.php': $location['title'] = 'Manage Modules'; $location['section'] = 'admin'; break; @@ -1263,6 +1263,32 @@ function show_catalog_select($name='catalog',$catalog_id=0,$style='') { } // show_catalog_select + +/** + * show_user_select + * This one is for users! shows a select/option statement so you can pick a user + * to blame + */ +function show_user_select($name,$selected='',$style='') { + + echo "