summaryrefslogtreecommitdiff
path: root/includes/fullbanner.inc
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-02-24 11:45:36 +0100
committerMinteck <contact@minteck.org>2023-02-24 11:45:36 +0100
commit15bb1453008237edbc2cb4e82a9eb44db6f99794 (patch)
treea0e07c50b7f38b5a1a399ef1bf5c1264a6fc1d6c /includes/fullbanner.inc
parent3d1cd02f27518f1a04374c7c8320cd5d82ede6e9 (diff)
downloadpluralconnect-15bb1453008237edbc2cb4e82a9eb44db6f99794.tar.gz
pluralconnect-15bb1453008237edbc2cb4e82a9eb44db6f99794.tar.bz2
pluralconnect-15bb1453008237edbc2cb4e82a9eb44db6f99794.zip
Updated 10 files (automated)
Diffstat (limited to 'includes/fullbanner.inc')
-rw-r--r--includes/fullbanner.inc10
1 files changed, 7 insertions, 3 deletions
diff --git a/includes/fullbanner.inc b/includes/fullbanner.inc
index f6741c9..4f78101 100644
--- a/includes/fullbanner.inc
+++ b/includes/fullbanner.inc
@@ -1,6 +1,6 @@
<?php global $memberData; global $memberID; global $systemID; global $metadata; global $travelling; global $systemCommonName; global $member; global $lang; global $pages; ?>
<script>
- window.currentMemberData = JSON.parse(atob(`<?= base64_encode(json_encode(getMemberBannerData($memberID, $systemID, false))) ?>`));
+ window.currentMemberData = JSON.parse(atob(`<?= base64_encode(json_encode(getMemberBannerData($memberID, $systemID))) ?>`));
</script>
<?php if ($memberData["name"] !== "unknown" && $memberData["name"] !== "fusion"): ?>
<div id="member-banner-container">
@@ -14,11 +14,15 @@
<script src="/assets/logo/banner.js"></script><script>refreshBanner(false, <?= $lang["_french"] ? "true" : "false" ?>)</script>
<?php if ($travelling[$memberID]['travelling'] && !$travelling[$memberID]['equestria']): ?>
- <div class="alert alert-primary">
+ <br>
+ <div class="alert alert-primary" style="margin-bottom: 0 !important;">
<?= getMiniName($memberData["display_name"] ?? $memberData["name"]) ?> <?= $lang["fullbanner"]["visit"][0] ?> <?= $systemID === "ynmuc" ? "Raindrops System" : "Cloudburst System" ?><?= str_replace("%1", getMemberPronouns($memberData["pronouns"])["subjective"], str_replace("%2", getMemberPronouns($memberData["pronouns"])["third"] ? "is" : "are", $lang["fullbanner"]["visit"][1])) ?><?= $systemCommonName ?>.
</div>
+ <br>
<?php elseif ($travelling[$memberID]['travelling'] && $travelling[$memberID]['equestria']): ?>
- <div class="alert alert-primary">
+ <br>
+ <div class="alert alert-primary" style="margin-bottom: 0 !important;">
<?= getMiniName($memberData["display_name"] ?? $memberData["name"]) ?> is on a trip to Equestria. <?= str_replace("%1", getMemberPronouns($memberData["pronouns"])["subjective"], str_replace("%2", getMemberPronouns($memberData["pronouns"])["third"] ? "is" : "are", "Therefore %1 %2 currently not in the ")) ?><?= $systemCommonName ?>.
</div>
+ <br>
<?php endif; ?> \ No newline at end of file