Vergleich search.php - 1.6.13 - 1.6.16

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 129Zeile 129
		$oppsort = $lang->desc;		
}


		$oppsort = $lang->desc;		
}


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

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

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

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

Zeile 404Zeile 404
			if($icon_cache[$thread['icon']])
{
$posticon = $icon_cache[$thread['icon']];

			if($icon_cache[$thread['icon']])
{
$posticon = $icon_cache[$thread['icon']];

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

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

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

Zeile 491Zeile 493
			}
$folder .= "folder";


			}
$folder .= "folder";


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

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

			{

			{

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

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

			}

$thread['pages'] = 0;

			}

$thread['pages'] = 0;

Zeile 687Zeile 689
				$moderated_forums .= ','.$forum['fid'];
$test_moderated_forums[$forum['fid']] = $forum['fid'];
}

				$moderated_forums .= ','.$forum['fid'];
$test_moderated_forums[$forum['fid']] = $forum['fid'];
}

			$p_unapproved_where = "visible >= 0";

			$p_unapproved_where = "(visible > 0 OR (visible=0 AND fid IN ({$moderated_forums})))";

			$t_unapproved_where = "visible < 0 AND fid NOT IN ({$moderated_forums})";
}
else

			$t_unapproved_where = "visible < 0 AND fid NOT IN ({$moderated_forums})";
}
else

Zeile 801Zeile 803
			if($icon_cache[$post['icon']])
{
$posticon = $icon_cache[$post['icon']];

			if($icon_cache[$post['icon']])
{
$posticon = $icon_cache[$post['icon']];

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

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

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