summaryrefslogtreecommitdiff
path: root/pages/alerts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'pages/alerts.inc')
-rw-r--r--pages/alerts.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/pages/alerts.inc b/pages/alerts.inc
index a0b47ff..ec6c988 100644
--- a/pages/alerts.inc
+++ b/pages/alerts.inc
@@ -1,7 +1,6 @@
<?php
-require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/init.inc"; global $title; global $isLoggedIn; global $lang; global $pages;
-require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/util/evening.inc";
+require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/init.inc"; global $title; global $isLoggedIn; global $lang; global $pages; global $_PROFILE; global $isLowerLoggedIn;
require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; ?>
@@ -25,12 +24,15 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; ?>
}, 1000);
</script><?php endif; ?>
</a>
+ <?php if (!$isLowerLoggedIn): ?>
<a href="/-/wakeup" class="list-group-item list-group-item-action" style="display: grid; grid-template-columns: max-content 1fr;">
<img src="<?= icon('wakeup', null, true) ?>" style="margin-right: 5px; height: 24px; width: 24px;"><div style="display: flex; align-items: center; color: var(--bs-body-color);">Wake-up alert</div>
</a>
+ <?php endif; if ($_PROFILE["login"] !== "Moonwind"): ?>
<a href="/-/pleasure" class="list-group-item list-group-item-action" style="display: grid; grid-template-columns: max-content 1fr;">
<img src="<?= icon('pleasure', null, true) ?>" style="margin-right: 5px; height: 24px; width: 24px;"><div style="display: flex; align-items: center; color: var(--bs-body-color);">Pleasure alert</div>
</a>
+ <?php endif; ?>
</div>
</div>
</div>