Vergleich admin/modules/forum/moderation_queue.php - 1.8.30 - 1.8.38

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 309Zeile 309
	{
// Figure out if we need to display multiple pages.
$per_page = 15;

	{
// Figure out if we need to display multiple pages.
$per_page = 15;

		if($mybb->get_input('page') > 0)


		$mybb->input['page'] = $mybb->get_input('page', MyBB::INPUT_INT);
if($mybb->input['page'] > 0)

		{

		{

			$current_page = $mybb->get_input('page', MyBB::INPUT_INT);

			$current_page = $mybb->input['page'];

			$start = ($current_page-1)*$per_page;
$pages = $unapproved_posts / $per_page;
$pages = ceil($pages);

			$start = ($current_page-1)*$per_page;
$pages = $unapproved_posts / $per_page;
$pages = ceil($pages);

Zeile 461Zeile 462
	{
// Figure out if we need to display multiple pages.
$per_page = 15;

	{
// Figure out if we need to display multiple pages.
$per_page = 15;

 
		$mybb->input['page'] = $mybb->get_input('page', MyBB::INPUT_INT);

		if($mybb->input['page'] > 0)
{

		if($mybb->input['page'] > 0)
{

			$current_page = $mybb->get_input('page', MyBB::INPUT_INT);

			$current_page = $mybb->input['page'];

			$start = ($current_page-1)*$per_page;
$pages = $unapproved_attachments / $per_page;
$pages = ceil($pages);

			$start = ($current_page-1)*$per_page;
$pages = $unapproved_attachments / $per_page;
$pages = ceil($pages);