diff options
Diffstat (limited to 'app/ui/settings.php')
-rw-r--r-- | app/ui/settings.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/ui/settings.php b/app/ui/settings.php index 3ef243d..fe421a0 100644 --- a/app/ui/settings.php +++ b/app/ui/settings.php @@ -110,7 +110,10 @@ window.parent.discordRichPresenceData = null; } else { window.parent.discordRichPresenceData = { - largeImageKey: "logo" + largeImageKey: "logo", + buttons : [ + { label: 'View profile', url: 'https://mist.equestria.horse/profile/?/<?= $_PROFILE["id"] ?>' } + ] }; } } @@ -239,7 +242,6 @@ <img class="icon" src="/assets/logo-transparent.svg" style="vertical-align: middle; filter: grayscale(1) invert(1); width: 32px; height: 32px;" alt=""> <span style="vertical-align: middle;">Mist version <?= str_replace("|", " ", file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/version")) ?> (build <?= trim(file_exists("/opt/spotify/build.txt") ? file_get_contents("/opt/spotify/build.txt") : "trunk") ?>)<span id="copyright-separator-desktop"> · </span><span id="copyright-separator-mobile"><br></span>© <?= date('Y') ?> Equestria.dev</span> </div> - <br><br> <style> @media (min-width: 768px) { #copyright-separator-mobile { @@ -254,6 +256,7 @@ } </style> <?php endif; global $privacy; global $profile; ?> + <br><br> <script> async function saveCustom() { document.getElementById("banner").disabled = true; |