diff options
Diffstat (limited to 'public/app/views/components')
| -rw-r--r-- | public/app/views/components/theme.php | 14 |
1 files changed, 10 insertions, 4 deletions
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] ]); ?> <!-- theme overides --> |
