summaryrefslogtreecommitdiff
path: root/includes/edit.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/edit.inc')
-rw-r--r--includes/edit.inc7
1 files changed, 1 insertions, 6 deletions
diff --git a/includes/edit.inc b/includes/edit.inc
index d8cf673..61e9f29 100644
--- a/includes/edit.inc
+++ b/includes/edit.inc
@@ -8,12 +8,7 @@ if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/metadata/" . $member
<br>
<div class="container">
- <script>
- window.currentMemberData = JSON.parse(atob(`<?= base64_encode(json_encode(getMemberBannerData($memberID, $systemID))) ?>`));
- </script>
- <div id="member-banner"></div>
- <script src="/app/banner.js"></script><script>refreshBanner()</script>
- <br>
+ <?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/fullbanner.inc"; ?>
<p class="text-muted" id="page-content">
<span id="editor-save-status" class="text-muted">Saved</span> · <span id="editor-size"><?= file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/content/$memberID-private.html") ? strlen(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/content/$memberID-private.html")) : "0" ?></span> bytes · <a href="/<?= $memberData["name"] ?>">View page</a>