diff --git a/themes/danbooru/user.theme.php b/themes/danbooru/user.theme.php index d3e658a4..3e179e09 100644 --- a/themes/danbooru/user.theme.php +++ b/themes/danbooru/user.theme.php @@ -124,6 +124,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; } } 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; } }