X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/4fa72795052bb1f61a7723a914e95441c8ccd085..c06c1713af2db485d55a91073bbc5b63b6aa8c0b:/users/index.php
diff --git a/users/index.php b/users/index.php
index bd45a14..2e8cf75 100644
--- a/users/index.php
+++ b/users/index.php
@@ -1,7 +1,7 @@
|
Nick |
- Country |
+ Country |
Host / IP |
- Account |
- Usermodes â¹ï¸ |
+ Account |
+ Usermodes â¹ï¸ |
Oper |
Secure |
Connected to |
- Reputation â¹ï¸ |
+ â¹ï¸ |
@@ -200,12 +200,18 @@ Click on a username to view more information.
echo " | ";
$isBot = (strpos($user->user->modes, "B") !== false) ? ' Bot' : "";
echo "id."\">$user->name$isBot | ";
- echo "".(isset($user->geoip->country_code) ? ' '.$user->geoip->country_code : "")." | ";
- echo "".htmlspecialchars($user->hostname)." (".($user->hostname == $user->ip ? 'the same' : htmlspecialchars($user->ip ?? "None")).") | ";
+ echo "".(isset($user->geoip->country_code) ? ' '.$user->geoip->country_code : "")." | ";
+ if ($user->hostname == $user->ip)
+ $hostip = $user->ip;
+ else if ($user->ip == null)
+ $hostip = $user->hostname;
+ else
+ $hostip = $user->hostname . " (".$user->ip.")";
+ echo "".htmlspecialchars($hostip)." | ";
$account = (isset($user->user->account)) ? "user->account."\">".htmlspecialchars($user->user->account)."" : 'None';
- echo "".$account." | ";
+ echo "".$account." | ";
$modes = (isset($user->user->modes)) ? "+" . $user->user->modes : "";
- echo "".$modes." | ";
+ echo "".$modes." | ";
$oper = (isset($user->user->operlogin)) ? $user->user->operlogin." ".$user->user->operclass."" : "";
if (!strlen($oper))
$oper = (strpos($user->user->modes, "S") !== false) ? 'Services Bot' : "";
@@ -216,7 +222,7 @@ Click on a username to view more information.
$secure = "";
echo "".$secure." | ";
echo "id, 0, 3)."\">".$user->user->servername." | ";
- echo "".$user->user->reputation." | ";
+ echo "".$user->user->reputation." | ";
echo "";
$currentNumberUsers++;
if (isset($user->user->account))
@@ -323,9 +329,12 @@ Click on a username to view more information.
width: 250px;
background: #1b1a1a;
border-radius: 5px;
+ transform: scale(0);
+ transform-origin: top left;
}
#rclickmenu.visible {
- display: block;
+ transform: scale(1);
+ transition: transform 120ms ease-in-out;
}
#rclickmenu .item {
padding: 8px 10px;
@@ -340,9 +349,10 @@ Click on a username to view more information.
}
-