summaryrefslogtreecommitdiff
path: root/public/app
diff options
context:
space:
mode:
authorGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-06-08 03:55:50 +0300
committerGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-06-08 03:55:50 +0300
commit85013cfa9aac7b2a17e0158a77e75dcfbb1ce298 (patch)
treedd82b52b262989f53926e33930938b6b2dd0f840 /public/app
parent5835bbc236c6387d6e235fcf16cf4ab92a94c003 (diff)
downloadgyraf1gov-85013cfa9aac7b2a17e0158a77e75dcfbb1ce298.tar.gz
gyraf1gov-85013cfa9aac7b2a17e0158a77e75dcfbb1ce298.tar.bz2
gyraf1gov-85013cfa9aac7b2a17e0158a77e75dcfbb1ce298.zip
study on theme backgrounds
Diffstat (limited to 'public/app')
-rw-r--r--public/app/views/components/theme.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/public/app/views/components/theme.php b/public/app/views/components/theme.php
index b6ada78..5a545e6 100644
--- a/public/app/views/components/theme.php
+++ b/public/app/views/components/theme.php
@@ -33,6 +33,10 @@ switch ($month) {
*
* ( ( ( month*31 + day) % L*4 ) div 4 )
* change seasonal theme every 4 days
+ *
+ * Catch Exceptions
+ * if (month == 12) : month = 0
+ * if (month == 6 && day == 1) then day = 2
*/
@@ -104,7 +108,7 @@ $themes = [
'summer' => [ 's1', 's5', 'g9', 's2', 'g1' ],
- 'fall' => [ 'f8', 's5', 'g4', 's1' ],
+ 'fall' => [ 'f8', 's5', 'g4', 's2' ],
'winter' => [ 'w9' ],
@@ -115,7 +119,7 @@ $themes = [
];
-define('THEME', $theme_def[ $themes['fall'][0] ]);
+define('THEME', $theme_def[ $themes['fall'][3] ]);
?>
<!-- theme overides -->