From 61ba4e76032c0dfd95dcf50928fc79a1716bb16f Mon Sep 17 00:00:00 2001 From: Visman Date: Fri, 30 Jun 2023 22:17:37 +0700 Subject: [PATCH] Update admin_users page --- admin_users.php | 8 ++++---- style/Air/base_admin.css | 4 ++-- style/Earth/base_admin.css | 4 ++-- style/Fire/base_admin.css | 4 ++-- style/GrayOrange/base_admin.css | 4 ++-- style/imports/base_admin.css | 6 +++--- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/admin_users.php b/admin_users.php index 6d088a2..4a039dc 100644 --- a/admin_users.php +++ b/admin_users.php @@ -213,14 +213,14 @@ if (isset($_GET['show_users'])) { $user_title = get_title($user_data[$cur_poster['poster_id']]); - $actions = ''.$lang_admin_users['Results view IP link'].' | '.$lang_admin_users['Results show posts link'].''; + $actions = $pun_user['g_id'] == PUN_ADMIN ? ''.$lang_admin_users['Results view IP link'].'' : ' '; ?> '.pun_htmlspecialchars($user_data[$cur_poster['poster_id']]['username']).'' ?> - + @@ -890,14 +890,14 @@ else if (isset($_GET['find_user'])) if (($user_data['g_id'] == '' || $user_data['g_id'] == PUN_UNVERIFIED) && $user_title != $lang_common['Banned']) $user_title = ''.$lang_admin_users['Not verified'].''; - $actions = ($pun_user['g_id'] == PUN_ADMIN ? ''.$lang_admin_users['Results view IP link'].' | ' : '').''.$lang_admin_users['Results show posts link'].''; + $actions = $pun_user['g_id'] == PUN_ADMIN ? ''.$lang_admin_users['Results view IP link'].'' : ' '; ?> '.pun_htmlspecialchars($user_data['username']).'' ?> - + diff --git a/style/Air/base_admin.css b/style/Air/base_admin.css index 9d954f8..417fe89 100644 --- a/style/Air/base_admin.css +++ b/style/Air/base_admin.css @@ -143,7 +143,7 @@ } #users2 .tcr { - width: 20%; + width: 10%; } #bans1 .tcr { @@ -152,7 +152,7 @@ } #users2 .tcmod { - width: 10%; + width: 2em; text-align: center; } diff --git a/style/Earth/base_admin.css b/style/Earth/base_admin.css index 9d954f8..417fe89 100644 --- a/style/Earth/base_admin.css +++ b/style/Earth/base_admin.css @@ -143,7 +143,7 @@ } #users2 .tcr { - width: 20%; + width: 10%; } #bans1 .tcr { @@ -152,7 +152,7 @@ } #users2 .tcmod { - width: 10%; + width: 2em; text-align: center; } diff --git a/style/Fire/base_admin.css b/style/Fire/base_admin.css index 9d954f8..417fe89 100644 --- a/style/Fire/base_admin.css +++ b/style/Fire/base_admin.css @@ -143,7 +143,7 @@ } #users2 .tcr { - width: 20%; + width: 10%; } #bans1 .tcr { @@ -152,7 +152,7 @@ } #users2 .tcmod { - width: 10%; + width: 2em; text-align: center; } diff --git a/style/GrayOrange/base_admin.css b/style/GrayOrange/base_admin.css index 9d954f8..417fe89 100644 --- a/style/GrayOrange/base_admin.css +++ b/style/GrayOrange/base_admin.css @@ -143,7 +143,7 @@ } #users2 .tcr { - width: 20%; + width: 10%; } #bans1 .tcr { @@ -152,7 +152,7 @@ } #users2 .tcmod { - width: 10%; + width: 2em; text-align: center; } diff --git a/style/imports/base_admin.css b/style/imports/base_admin.css index 7a9ed0f..9b057f5 100644 --- a/style/imports/base_admin.css +++ b/style/imports/base_admin.css @@ -42,14 +42,14 @@ table#forumperms .atcl {text-align: left; width: 15em; white-space: nowrap} /*** User/Ban Search Result Tables ***/ #users2 th, #bans1 th {text-align: left} -#users2 th.tcmod {text-align: center} +#users2 th.tcmod {text-align: center; overflow: hidden;} #users2 .tcl, #bans1 .tcl {width: auto; text-align: left; padding: 4px 6px} #users2 .tc2, #bans1 .tc2 {width: 18%; text-align: left; padding: 4px 6px} #users2 .tc3, #users2 .tc5, #bans1 .tc3, #bans1 .tc5, #bans1 .tc6 {width: 12%; text-align: left; padding: 4px 6px} #users2 .tc4, #bans1 .tc4 {width: 10%; text-align: center} -#users2 .tcr {width: 20%;} +#users2 .tcr {width: 10%;} #bans1 .tcr {width: 15%; white-space: nowrap} -#users2 .tcmod {width: 10%; text-align: center} +#users2 .tcmod {width: 2em; text-align: center} #adminconsole #linkst, #adminconsole #linksb a {font-weight: bold} /*** Plugins ***/