summary refs log tree commit diff stats
path: root/includes/specialdates.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/specialdates.php')
-rwxr-xr-xincludes/specialdates.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/includes/specialdates.php b/includes/specialdates.php index 8d0aa08..907ca8f 100755 --- a/includes/specialdates.php +++ b/includes/specialdates.php
@@ -44,7 +44,7 @@ sd_solar_multiannual('Leap Day',2,29,4,2004); //DateFinder
44sd_solar_annual('St Patricks Day',3,17); //DateFinder 44sd_solar_annual('St Patricks Day',3,17); //DateFinder
45sd_solar_annual('April Fools Day',4,1); //Awesome 45sd_solar_annual('April Fools Day',4,1); //Awesome
46sd_solar_annual('Tri\'s CIEday',4,22); //DateFinder 46sd_solar_annual('Tri\'s CIEday',4,22); //DateFinder
47sd_solar_annual('Silence Day',4,25); //DateFinder 47sd_solar_annual('Silence Day',4,15); //DateFinder
48sd_solar_annual('WCA Day',5,5); //DateFinder 48sd_solar_annual('WCA Day',5,5); //DateFinder
49sd_lunar_annual('Mothers Day',5,7,2); //BG Pic; DateFinder; Header Pic 49sd_lunar_annual('Mothers Day',5,7,2); //BG Pic; DateFinder; Header Pic
50sd_lunar_annual('Memorial Day',5,1,5); //BG Pic; DateFinder; Header Pic 50sd_lunar_annual('Memorial Day',5,1,5); //BG Pic; DateFinder; Header Pic
@@ -354,7 +354,7 @@ function sd_dateFinder()
354 case 'Tris CIEday': return 'This is the day that shei came.'; 354 case 'Tris CIEday': return 'This is the day that shei came.';
355 case 'Silence Day': return 'Support LGBT people by keeping the silence until 5 PM.'; 355 case 'Silence Day': return 'Support LGBT people by keeping the silence until 5 PM.';
356 case 'CTNH': return '<A HREF="/fuhsdiufgsadiufgaisfioas.php">It never happened.</A>'; 356 case 'CTNH': return '<A HREF="/fuhsdiufgsadiufgaisfioas.php">It never happened.</A>';
357 case 'April Fools Day': return 'Long live the three!'; 357 case 'April Fools Day': return 'It\'s FRIDAY, FRIDAY, GOTTA GET DOWN ON FRIDAY!';
358 } 358 }
359 } 359 }
360} 360}
@@ -363,10 +363,12 @@ function doAprilFoolsDay($text)
363{ 363{
364 if (sd_isSpecialDay('April Fools Day')) 364 if (sd_isSpecialDay('April Fools Day'))
365 { 365 {
366 $text = str_replace('four', 'three', $text); 366 $text = str_replace('four', 'friday', $text);
367 $text = str_replace('Four', 'Three', $text); 367 $text = str_replace('Four', 'Friday', $text);
368 //$text = str_replace('4', '3', $text); 368 //$text = str_replace('4', '3', $text);
369 $text = str_replace('FOUR', 'THREE', $text); 369 $text = str_replace('FOUR', 'FRIDAY', $text);
370 $text = preg_replace('/([A-Za-z0-9 ]*)\: ([A-Za-z0-9 ]*)/', ' Rebecca Black: \2', $text);
371 $text = str_replace('Hatkirby', 'Rebecca Black', $text);
370 } 372 }
371 373
372 return $text; 374 return $text;