From 0b0076b2ece062f248b7c048d6bb28abbe9174a5 Mon Sep 17 00:00:00 2001 From: George Halkiadakis Date: Fri, 9 Jun 2023 02:35:46 +0300 Subject: invitations interface ready; needs testing onto the public web --- public/app/views/components/theme.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 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 5a545e6..4e95193 100644 --- a/public/app/views/components/theme.php +++ b/public/app/views/components/theme.php @@ -31,15 +31,21 @@ switch ($month) { * ( ( (month*31 + day) % L*2 ) div 2 ) * this will allow theme exchange every 2 days * + * + * 4-day rollup: + * --- -- -- - - - + * supports up to 21 themes/season + * = 84 themes/year + * + * algo: * ( ( ( month*31 + day) % L*4 ) div 4 ) * change seasonal theme every 4 days - * - * Catch Exceptions + * ... Catch Exceptions: * if (month == 12) : month = 0 * if (month == 6 && day == 1) then day = 2 + * */ - $theme_def = [ # --- summer --- @@ -119,7 +125,7 @@ $themes = [ ]; -define('THEME', $theme_def[ $themes['fall'][3] ]); +define('THEME', $theme_def[ $themes['summer'][0] ]); ?> -- cgit v1.2.3