From: Valerie Pond Date: Fri, 26 Jul 2024 21:13:18 +0000 (+0800) Subject: Be a bit more clear on user action X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/commitdiff_plain/7e29b9d9a068517fedd205adcd27db69905f8bec?ds=sidebyside Be a bit more clear on user action --- diff --git a/users/index.php b/users/index.php index 40c8130..9e9ed97 100644 --- a/users/index.php +++ b/users/index.php @@ -13,8 +13,8 @@ if (!empty($_GET)) if (isset($_GET['servicesonly']) && !isset($_POST['servicesonly'])) $_POST['servicesonly'] = $_GET['servicesonly']; } - -if (!empty($_POST) && current_user_can(PERMISSION_BAN_USERS)) +$can_ban = current_user_can(PERMISSION_BAN_USERS); +if (!empty($_POST) && $can_ban) { require_once "../inc/connection.php"; do_log($_POST); @@ -104,66 +104,68 @@ Click on a username to view more information. - +
- - - - "> + + + + - + - + - -
+ + ?> + + +
+
- -