From 7c7b2d3b54084319ed0d6392f9ea13e00173f011 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Litza Date: Sat, 29 Dec 2012 13:58:59 +0100 Subject: polished code and display of shiftview and used more icons --- includes/pages/admin_user_angeltypes.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'includes/pages/admin_user_angeltypes.php') diff --git a/includes/pages/admin_user_angeltypes.php b/includes/pages/admin_user_angeltypes.php index 2f7a511e..b77a9129 100644 --- a/includes/pages/admin_user_angeltypes.php +++ b/includes/pages/admin_user_angeltypes.php @@ -78,11 +78,12 @@ function admin_user_angeltypes() { foreach ($user_angel_types_source as $user) { if(in_array("admin_user", $privileges)) $user['Nick'] = '' . $user['Nick'] . ''; - $user['actions'] = 'confirm'; - $user['actions'] .= '  deny'; + $user['actions'] = img_button(page_link_to('admin_user_angeltypes') . '&confirm=' . $user['id'], 'tick', 'confirm'); + $user['actions'] .= '  '; + $user['actions'] .= img_button(page_link_to('admin_user_angeltypes') . '&deny=' . $user['id'], 'cross', 'deny'); $users[] = $user; } - $content[] = '

' . $angel_type['name'] . ' confirm all deny all

' . table(array ( + $content[] = '

' . $angel_type['name'] . ' ' . img_button(page_link_to('admin_user_angeltypes') . '&confirm_all=' . $angel_type['id'], 'tick', '', 'confirm all') . ' ' . img_button(page_link_to('admin_user_angeltypes') . '&deny_all=' . $angel_type['id'], 'cross', '', 'deny all') . '

' . table(array ( 'Nick' => "Nick", 'actions' => "" ), $users); @@ -109,4 +110,4 @@ function admin_new_user_angeltypes() { } return ""; } -?> \ No newline at end of file +?> -- cgit v1.2.3-54-g00ecf