diff options
| author | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-06-09 02:35:46 +0300 |
|---|---|---|
| committer | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-06-09 02:35:46 +0300 |
| commit | 0b0076b2ece062f248b7c048d6bb28abbe9174a5 (patch) | |
| tree | 3cea63a08d76cc63d0de4fa0743a3c2eabe58fca /public/app/views/components | |
| parent | 85013cfa9aac7b2a17e0158a77e75dcfbb1ce298 (diff) | |
| download | gyraf1gov-0b0076b2ece062f248b7c048d6bb28abbe9174a5.tar.gz gyraf1gov-0b0076b2ece062f248b7c048d6bb28abbe9174a5.tar.bz2 gyraf1gov-0b0076b2ece062f248b7c048d6bb28abbe9174a5.zip | |
invitations interface ready; needs testing onto the public web
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 --> |
