diff options
Diffstat (limited to 'includes/edit-private.inc')
-rw-r--r-- | includes/edit-private.inc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/includes/edit-private.inc b/includes/edit-private.inc index e760b94..69f50d8 100644 --- a/includes/edit-private.inc +++ b/includes/edit-private.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> |