From ec5b2499fff7cd30e1c221dbd63b37ef507d41b8 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Sun, 28 Mar 2010 09:42:25 -0400 Subject: Added April Fools Day joke --- pages/quotes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pages/quotes.php') diff --git a/pages/quotes.php b/pages/quotes.php index 4fce952..1d380bb 100755 --- a/pages/quotes.php +++ b/pages/quotes.php @@ -236,7 +236,7 @@ function quote_generation($query, $origin, $page = 1, $quote_limit = 50, $page_l $template->add_ref($curID,'QUOTES',array( 'NUMBER' => $getquotes3[$i]['id'], 'RATING' => $getquotes3[$i]['rating'], 'DATE' => ($getquotes3[$i]['date'] != 0 ? date('F jS Y \a\\t g:i:s a', $getquotes3[$i]['date']) : ''), - 'QUOTE' => str_replace("\n","
",htmlentities(stripslashes($getquotes3[$i]['quote']))), + 'QUOTE' => doAprilFoolsDay(str_replace("\n","
",htmlentities(stripslashes($getquotes3[$i]['quote'])))), 'COMMENTS' => $comments)); if (($gettrack3['ip'] != $_SERVER['REMOTE_ADDR']) || (array_search($getquotes3[$i]['id'],$trackArr) === FALSE)) -- cgit 1.4.1