Vergleich polls.php - 1.2.1 - 1.2.2

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * $Id: polls.php 2213 2006-09-10 22:49:42Z Tikitiki $

 * $Id: polls.php 2420 2006-11-19 15:15:29Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 41Zeile 41
		$mybb->input['action'] = "newpoll";
}
}

		$mybb->input['action'] = "newpoll";
}
}

 


if($mybb->input['action'] == "newpoll")
{
// Form for new poll

if($mybb->input['action'] == "newpoll")
{
// Form for new poll

Zeile 116Zeile 117
	if($mybb->input['timeout'] > 0)
{
$timeout = intval($mybb->input['timeout']);

	if($mybb->input['timeout'] > 0)
{
$timeout = intval($mybb->input['timeout']);

	}

	}

	else
{
$timeout = 0;
}


	else
{
$timeout = 0;
}


	$plugins->run_hooks("polls_newpoll_end");


	$plugins->run_hooks("polls_newpoll_end");


	eval("\$newpoll = \"".$templates->get("polls_newpoll")."\";");
output_page($newpoll);
}

	eval("\$newpoll = \"".$templates->get("polls_newpoll")."\";");
output_page($newpoll);
}

 


if($mybb->input['action'] == "do_newpoll" && $mybb->request_method == "post")
{
$plugins->run_hooks("polls_do_newpoll_start");

if($mybb->input['action'] == "do_newpoll" && $mybb->request_method == "post")
{
$plugins->run_hooks("polls_do_newpoll_start");

Zeile 665Zeile 667

$plugins->run_hooks("polls_showresults_end");



$plugins->run_hooks("polls_showresults_end");


 
	$poll['question'] = htmlspecialchars_uni($poll['question']);

	eval("\$showresults = \"".$templates->get("polls_showresults")."\";");
output_page($showresults);
}

	eval("\$showresults = \"".$templates->get("polls_showresults")."\";");
output_page($showresults);
}