+
+
@@ -50,7 +53,7 @@ $stats = (object) $array_of_stats;
-
+
@@ -72,7 +75,7 @@ $stats = (object) $array_of_stats;
-
+
@@ -95,7 +98,7 @@ $stats = (object) $array_of_stats;
-
+
@@ -122,7 +125,7 @@ $stats = (object) $array_of_stats;
-
+
@@ -139,12 +142,12 @@ $stats = (object) $array_of_stats;
Server Bans
-
+
-
+
@@ -166,7 +169,7 @@ $stats = (object) $array_of_stats;
-
+
@@ -184,7 +187,7 @@ $stats = (object) $array_of_stats;
Server Ban Exceptions
-
+
@@ -192,17 +195,12 @@ $stats = (object) $array_of_stats;
server->ulined) {
$bg = "bg-success";
-
- /* honestly can't think of a case where there would actually be only one uline... but... well here we are, worrying over the small stuff =] */
- $user_noun = ($stats->user->ulined == 1) ? "user" : "users"; // use "users" even if 0, sounds better.
- $is_are = ($stats->user->ulined == 1) ? "is" : "are";
- $server_noun = ($stats->server->ulined == 1) ? "server" : "servers";
- $tooltip = "There $is_are " . $stats->user->ulined . " U-Lined $user_noun over " . $stats->server->ulined . " U-Lined $server_noun";
+ $tooltip = "Users / Servers";
}
else
$bg = "bg-warning";
?>
-
+
@@ -219,7 +218,7 @@ $stats = (object) $array_of_stats;
Services Online
-
+
@@ -228,6 +227,57 @@ $stats = (object) $array_of_stats;