summaryrefslogtreecommitdiff
path: root/includes/functions.inc
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-12-18 15:35:37 +0100
committerMinteck <contact@minteck.org>2022-12-18 15:35:37 +0100
commit39a288eb0f225a4d97e672f32a3c2c5e9c62a26b (patch)
tree891483cf4fe1691266ad2dc2b6058b9e5a606981 /includes/functions.inc
parent30303a3ad0d0f31d93c25f42bfd10d70e8277b72 (diff)
downloadpluralconnect-39a288eb0f225a4d97e672f32a3c2c5e9c62a26b.tar.gz
pluralconnect-39a288eb0f225a4d97e672f32a3c2c5e9c62a26b.tar.bz2
pluralconnect-39a288eb0f225a4d97e672f32a3c2c5e9c62a26b.zip
Update
Diffstat (limited to 'includes/functions.inc')
-rw-r--r--includes/functions.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/functions.inc b/includes/functions.inc
index cc94f11..915d41b 100644
--- a/includes/functions.inc
+++ b/includes/functions.inc
@@ -254,7 +254,7 @@ if (!function_exists("showMembersFromList")) {
function showMembersFromList(array $list) {
foreach ($list as $member) { if ($member['name'] !== "unknown" && $member['name'] !== "fusion") {
echo('<!-- ' . ($member['display_name'] ?? $member['name']) . ' -->
-<a href="/' . $member['name'] . '" style="text-decoration:none !important;filter:none !important;"><div class="hpd-item-card" style="background-color:rgba(255, 255, 255, .1);border:1px solid ' . (isset($member['color']) ? "#" . $member['color'] . "55" : "transparent") . ';outline-color:' . (isset($member['color']) ? "#" . $member['color'] . "55" : "transparent") . ';border-radius:10px;text-align:center;display:flex;align-items:center;justify-content:center;padding:5px;' . ($member["equestria"] ? 'opacity:.5;' : '') . '"><div>
+<a href="/' . $member['name'] . '" style="text-decoration:none !important;filter:none !important;"><div class="hpd-item-card" style="background-color:rgba(255, 255, 255, .1);border:1px solid ' . (isset($member['color']) ? "#" . $member['color'] . "55" : "transparent") . ';outline-color:' . (isset($member['color']) ? "#" . $member['color'] . "55" : "transparent") . ';border-radius:10px;text-align:center;display:flex;align-items:center;justify-content:center;padding:5px;' . (isset($member["equestria"]) && $member["equestria"] ? 'opacity:.5;' : '') . '"><div>
<img alt="" src="' . getAsset($member["system"], $member["id"]) . '" style="border-radius:999px;background-color:rgba(0, 0, 0, .25);height:48px;display:block;margin-left:auto;margin-right:auto;">
<div style="text-decoration:none;color:white;margin-top:5px;">' . ($member['display_name'] ?? $member['name']) . '</div>
<div style="text-decoration:none !important;color:black !important;"><code style="text-decoration:none !important;color:white !important;">' . (isset($member['travelling']) && $member['travelling'] ? "+" . ($member['proxy_tags'][0]['prefix'] ?? "&nbsp;") : ($member['proxy_tags'][0]['prefix'] ?? "&nbsp;")) . '</code></div>