summaryrefslogtreecommitdiff
path: root/pages/schedules.inc
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-07-20 18:29:09 +0200
committerRaindropsSys <contact@minteck.org>2023-07-20 18:29:09 +0200
commit46251292b5c8b431de66aeff473594ccec60e04c (patch)
treec9f2c196e50f064a66625813660148379212d9d7 /pages/schedules.inc
parent93c96fd1d89782570de9478c26f17b406e9dd7a0 (diff)
downloadpluralconnect-46251292b5c8b431de66aeff473594ccec60e04c.tar.gz
pluralconnect-46251292b5c8b431de66aeff473594ccec60e04c.tar.bz2
pluralconnect-46251292b5c8b431de66aeff473594ccec60e04c.zip
Updated 19 files and added 26 files (automated)
Diffstat (limited to 'pages/schedules.inc')
-rw-r--r--pages/schedules.inc10
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'; ?>