aboutsummaryrefslogtreecommitdiff
path: root/Neutron-trunk/api/engine-cyclic/components/footer.php
diff options
context:
space:
mode:
Diffstat (limited to 'Neutron-trunk/api/engine-cyclic/components/footer.php')
-rw-r--r--Neutron-trunk/api/engine-cyclic/components/footer.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/Neutron-trunk/api/engine-cyclic/components/footer.php b/Neutron-trunk/api/engine-cyclic/components/footer.php
new file mode 100644
index 0000000..10a89ed
--- /dev/null
+++ b/Neutron-trunk/api/engine-cyclic/components/footer.php
@@ -0,0 +1,23 @@
+<div id="footer-container"><?php rlgps("Generating footer"); ?>
+ <span id="page-footer-colorbar"></span>
+ <footer id="page-footer">
+ <div id="page-footer-title">
+ <div id="page-footer-title-inner" class="title"><?= file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/sitename") ?></div>
+ <div id="page-footer-title-buttons">
+ <a id="page-footer-title-top-button" onclick="$('html, body').animate({scrollTop:0},'20');"><button class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button" id="page-footer-title-top-button-inner" onclick="$('html, body').animate({scrollTop:0},'20');">arrow_upward</button></a>
+ <?php /** @var boolean $__electrode */
+ if (isset($__electrode) && $__electrode): ?>
+ <a href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/home" id="page-footer-title-settings-button"><button class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button" id="page-footer-title-settings-button-inner">settings</button></a>
+ <?php else: ?>
+ <a href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin" id="page-footer-title-settings-button"><button class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button" id="page-footer-title-settings-button-inner">settings</button></a>
+ <?php endif; ?>
+ </div>
+ </div>
+ <div id="page-footer-content">
+ <?= file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/footer") ?>
+ </div>
+ <div id="page-footer-links">
+ <a href="<?= file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/api/public") ?>" target="_blank">Neutron <?= file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/api/version") ?></a> · <a href="<?= file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/api/bugs") ?>" target="_blank"><?= $lang["viewer"]["bugs"] ?></a> · <a href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/version"><?= $lang["viewer"]["system"] ?></a>
+ </div>
+ </footer>
+</div> \ No newline at end of file