summaryrefslogtreecommitdiff
path: root/includes/util/homepage.inc
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-05-27 17:43:54 +0200
committerRaindropsSys <contact@minteck.org>2023-05-27 17:43:54 +0200
commita542c7beec172123100bca3c59a42109ee7e2d08 (patch)
tree77885a791562570975145b47cb75efc2c1540446 /includes/util/homepage.inc
parent81f4d57775853615633af0f3c8f7a1f139a64265 (diff)
downloadpluralconnect-a542c7beec172123100bca3c59a42109ee7e2d08.tar.gz
pluralconnect-a542c7beec172123100bca3c59a42109ee7e2d08.tar.bz2
pluralconnect-a542c7beec172123100bca3c59a42109ee7e2d08.zip
Updated 6 files and added assets/logo/celeste.png (automated)
Diffstat (limited to 'includes/util/homepage.inc')
-rw-r--r--includes/util/homepage.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/util/homepage.inc b/includes/util/homepage.inc
index ebb99da..3f4520d 100644
--- a/includes/util/homepage.inc
+++ b/includes/util/homepage.inc
@@ -24,7 +24,7 @@ function newHomepage($id, $page, $title) {
<span style="width: calc(100% - 37px); vertical-align: middle; margin-left: 5px;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;"><?= $member["display_name"] ?? $member["name"] ?></span>
<span style="vertical-align: middle; float:right;">
<?php if ($travelling[$member["id"]]["travelling"] && $travelling[$member["id"]]["equestria"]): ?>
- <img src="/assets/logo/equestria.png" style="width: 24px; height: 24px; margin-top: 5px;">
+ <img src="/assets/logo/<?= $member["_metadata"]["fictive"] ? "equestria" : ($member["_metadata"]["fictive2"] ? "celeste" : "") ?>.png" style="width: 24px; height: 24px; margin-top: 5px;">
<?php elseif ($travelling[$member["id"]]["travelling"]): ?>
<img src="<?= getAsset($id === "gdapd" ? "ynmuc" : "gdapd") ?>" style="width: 24px; height: 24px; margin-top: 5px;">
<?php endif; ?>