From 85013cfa9aac7b2a17e0158a77e75dcfbb1ce298 Mon Sep 17 00:00:00 2001 From: George Halkiadakis Date: Thu, 8 Jun 2023 03:55:50 +0300 Subject: study on theme backgrounds --- public/app/views/components/theme.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'public/app/views/components/theme.php') 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] ]); ?> -- cgit v1.2.3