Vergleich printthread.php - 1.8.5 - 1.8.6

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 191Zeile 191
eval("\$printable = \"".$templates->get("printthread")."\";");
output_page($printable);


eval("\$printable = \"".$templates->get("printthread")."\";");
output_page($printable);


function makeprintablenav($pid="0", $depth="--")







/**
* @param int $pid
* @param string $depth
*
* @return string
*/
function makeprintablenav($pid=0, $depth="--")

{
global $mybb, $db, $pforumcache, $fid, $forum, $lang;
if(!is_array($pforumcache))

{
global $mybb, $db, $pforumcache, $fid, $forum, $lang;
if(!is_array($pforumcache))

	{

	{

		$parlist = build_parent_list($fid, "fid", "OR", $forum['parentlist']);
$query = $db->simple_select("forums", "name, fid, pid", "$parlist", array('order_by' => 'pid, disporder'));
while($forumnav = $db->fetch_array($query))

		$parlist = build_parent_list($fid, "fid", "OR", $forum['parentlist']);
$query = $db->simple_select("forums", "name, fid, pid", "$parlist", array('order_by' => 'pid, disporder'));
while($forumnav = $db->fetch_array($query))

		{

		{

			$pforumcache[$forumnav['pid']][$forumnav['fid']] = $forumnav;
}
unset($forumnav);

			$pforumcache[$forumnav['pid']][$forumnav['fid']] = $forumnav;
}
unset($forumnav);

	}

	}

	$forums = '';
if(is_array($pforumcache[$pid]))
{

	$forums = '';
if(is_array($pforumcache[$pid]))
{

Zeile 223Zeile 229
/**
* Output multipage navigation.
*

/**
* Output multipage navigation.
*

 * @param int The total number of items.
* @param int The items per page.
* @param int The current page.
* @param string The URL base.



 * @param int $count The total number of items.
* @param int $perpage The items per page.
* @param int $current_page The current page.
* @param string $url The URL base.
*
* @return string

*/
function printthread_multipage($count, $perpage, $current_page, $url)
{

*/
function printthread_multipage($count, $perpage, $current_page, $url)
{