diff options
Diffstat (limited to 'pages/schedules.inc')
-rw-r--r-- | pages/schedules.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pages/schedules.inc b/pages/schedules.inc index 55f7670..03277cc 100644 --- a/pages/schedules.inc +++ b/pages/schedules.inc @@ -1,8 +1,11 @@ <?php +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 $app; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; global $readOnly; global $isNormallyLoggedIn; +global $use2023UI; + ?> <style> @@ -30,6 +33,8 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; glob <div class="container"> <h2>Schedules</h2> + <h4>World clock</h4> + <div id="schedules" style="margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 20px;"> <div> <div id="live-time-other2-outer" class="day-gradient" style="text-align: center; background-color: rgba(255, 255, 255, .1); padding: 20px 0; border-radius: 10px; margin-bottom: 20px;"> @@ -143,4 +148,9 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; glob }, 10000); </script> +<?php if ($use2023UI) { + echo "<div class='container'><hr></div>"; + require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/fragments/evening.inc"; +} ?> + <?php require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/footer.inc'; ?> |