diff options
Diffstat (limited to 'seasonal.php')
| -rw-r--r-- | seasonal.php | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/seasonal.php b/seasonal.php index e137aa8..6d75423 100644 --- a/seasonal.php +++ b/seasonal.php @@ -7,14 +7,10 @@ $greeting = "Welcome."; $month = idate("m"); $day = idate("d"); -switch($month) { - case 3: - if($day == 31) { - $favicon_filename = "/favicon_transgender.ico"; - $style = ":root { --blue: #5BCEFA; --green: #F5A9B8; --yellow: #FFFFFF; }"; - $greeting = "Trans rights!"; - } - break; +if($month == 6 || ($month == 3 && $day == 31)) { + $favicon_filename = "/favicon_transgender.ico"; + $style = ":root { --blue: #5BCEFA; --green: #F5A9B8; --yellow: #FFFFFF; }"; + $greeting = "Trans rights!"; } echo("<link rel='icon' type='image/x-icon' href='$favicon_filename'>"); |
