diff options
author | RaindropsSys <raindrops@equestria.dev> | 2024-01-13 16:12:11 +0100 |
---|---|---|
committer | RaindropsSys <raindrops@equestria.dev> | 2024-01-13 16:12:11 +0100 |
commit | 2b192b3840ac344c456b98304ea400f0af90da15 (patch) | |
tree | 081ba8cbc0add17f08c9b94fb4a830834d87c259 /includes/components/fullbanner.inc | |
parent | 2bfdb0ab2e366007269d1b77446f1581801e05dc (diff) | |
download | pluralconnect-2b192b3840ac344c456b98304ea400f0af90da15.tar.gz pluralconnect-2b192b3840ac344c456b98304ea400f0af90da15.tar.bz2 pluralconnect-2b192b3840ac344c456b98304ea400f0af90da15.zip |
Updated 46 files and deleted 19 files (automated)
Diffstat (limited to 'includes/components/fullbanner.inc')
-rw-r--r-- | includes/components/fullbanner.inc | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/includes/components/fullbanner.inc b/includes/components/fullbanner.inc index 960ae0a..07dfa59 100644 --- a/includes/components/fullbanner.inc +++ b/includes/components/fullbanner.inc @@ -4,16 +4,4 @@ </script> <div id="member-banner"></div> -<script src="/assets/logo/banner.js?_=<?= sha1_file($_SERVER['DOCUMENT_ROOT'] . "/assets/logo/banner.js") ?>"></script><script>refreshBanner(false, <?= $lang["_french"] ? "true" : "false" ?>)</script> - -<?php if (isset($travelling[$memberID]) && $travelling[$memberID]['travelling'] && !$travelling[$memberID]['equestria']): ?> - <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> -<?php elseif (isset($travelling[$memberID]) && $travelling[$memberID]['travelling'] && $travelling[$memberID]['equestria']): ?> - <br> - <div class="alert alert-primary" style="margin-bottom: 0 !important;"> - <?= getMiniName($memberData["display_name"] ?? $memberData["name"]) ?> is on a trip to <?= $metadata["fictive"] ? "Equestria" : "Celeste" ?>. <?= 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> -<?php endif; ?>
\ No newline at end of file +<script src="/assets/logo/banner.js?_=<?= sha1_file($_SERVER['DOCUMENT_ROOT'] . "/assets/logo/banner.js") ?>"></script><script>refreshBanner(false, <?= $lang["_french"] ? "true" : "false" ?>)</script>
\ No newline at end of file |