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/poll.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pages/poll.php') diff --git a/pages/poll.php b/pages/poll.php index 3099e32..e228712 100755 --- a/pages/poll.php +++ b/pages/poll.php @@ -53,7 +53,7 @@ if (!isset($_GET['id'])) $question .= '....'; } $template->adds_block('POLL', array( 'ID' => $getpolls3[$i]['id'], - 'QUESTION' => htmlentities(stripslashes($question)), + 'QUESTION' => doAprilFoolsDay(htmlentities(stripslashes($question))), 'WEEK' => date('F jS Y', strtotime($getpolls3[$i]['week'])), 'EVEN' => (($i % 2 == 1) ? ' class="even"' : ''))); $i++; @@ -97,10 +97,10 @@ if (!isset($_GET['id'])) $template->adds_block('COMPLETE', array( 'RSS' => parseText(stripslashes($getpoll3['text'])), 'AUTHOR' => $getrss3['author'], 'DATE' => date("F jS Y \a\\t g:i:s a",strtotime($getpoll3['week'])), - 'OPTION1' => stripslashes($getpoll3['option1']), - 'OPTION2' => stripslashes($getpoll3['option2']), - 'OPTION3' => stripslashes($getpoll3['option3']), - 'OPTION4' => stripslashes($getpoll3['option4']), + 'OPTION1' => doAprilFoolsDay(stripslashes($getpoll3['option1'])), + 'OPTION2' => doAprilFoolsDay(stripslashes($getpoll3['option2'])), + 'OPTION3' => doAprilFoolsDay(stripslashes($getpoll3['option3'])), + 'OPTION4' => doAprilFoolsDay(stripslashes($getpoll3['option4'])), 'CLICKS1' => $getpoll3['clicks1'], 'CLICKS2' => $getpoll3['clicks2'], 'CLICKS3' => $getpoll3['clicks3'], -- cgit 1.4.1