Vergleich forumdisplay.php - 1.6.14 - 1.6.18

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 577Zeile 577
}

// How many pages are there?

}

// How many pages are there?

if(!$mybb->settings['threadsperpage'])

if(!$mybb->settings['threadsperpage'] || (int)$mybb->settings['threadsperpage'] < 1)

{
$mybb->settings['threadsperpage'] = 20;
}

{
$mybb->settings['threadsperpage'] = 20;
}

Zeile 928Zeile 928
		$mybb->settings['maxmultipagelinks'] = 5;
}


		$mybb->settings['maxmultipagelinks'] = 5;
}


	if(!$mybb->settings['postsperpage'])

	if(!$mybb->settings['postsperpage'] || (int)$mybb->settings['postsperpage'] < 1)

	{

	{

		$mybb->settings['postperpage'] = 20;

		$mybb->settings['postsperpage'] = 20;

	}

foreach($threadcache as $thread)

	}

foreach($threadcache as $thread)

Zeile 985Zeile 985
		if($thread['icon'] > 0 && $icon_cache[$thread['icon']])
{
$icon = $icon_cache[$thread['icon']];

		if($thread['icon'] > 0 && $icon_cache[$thread['icon']])
{
$icon = $icon_cache[$thread['icon']];

 
			$icon['path'] = htmlspecialchars_uni($icon['path']);
$icon['name'] = htmlspecialchars_uni($icon['name']);

			$icon = "<img src=\"{$icon['path']}\" alt=\"{$icon['name']}\" />";
}
else

			$icon = "<img src=\"{$icon['path']}\" alt=\"{$icon['name']}\" />";
}
else