From 39778db1b51365b68b1267ac7808c72a689e7e76 Mon Sep 17 00:00:00 2001
From: zshall
".make_form(make_link("user_admin/set_more"))." + + Admin: + + + "; + } + return $html; } } diff --git a/themes/lite/user.theme.php b/themes/lite/user.theme.php index 0f102c15..5c1b0be8 100644 --- a/themes/lite/user.theme.php +++ b/themes/lite/user.theme.php @@ -113,6 +113,19 @@ class CustomUserPageTheme extends UserPageTheme { "; + + if($user->is_admin()) { + $i_user_id = int_escape($duser->id); + $h_is_admin = $duser->is_admin() ? " checked" : ""; + $html .= " +
".make_form(make_link("user_admin/set_more"))." + + Admin: + + + "; + } + return $html; } }