diff options
Diffstat (limited to 'pages/alerts.inc')
-rw-r--r-- | pages/alerts.inc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pages/alerts.inc b/pages/alerts.inc index ec6c988..46d514d 100644 --- a/pages/alerts.inc +++ b/pages/alerts.inc @@ -2,6 +2,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/init.inc"; global $title; global $isLoggedIn; global $lang; global $pages; global $_PROFILE; global $isLowerLoggedIn; +if ($_PROFILE["login"] === "cloudburst") die(); require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; ?> <br> @@ -24,11 +25,7 @@ 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"): ?> + <?php if ($isLowerLoggedIn || $_PROFILE["login"] === "raindrops"): ?> <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> |