Vergleich archive/index.php - 1.8.4 - 1.8.7

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 256Zeile 256
		build_forum_breadcrumb($forum['fid'], 1);

// No threads and not a category? Error!

		build_forum_breadcrumb($forum['fid'], 1);

// No threads and not a category? Error!

		if(($threadcount < 1 || $forumpermissions['canviewthreads'] != 1) && $forum['type'] != 'c')

		if($forum['type'] != 'c')

		{

		{

			archive_header(strip_tags($forum['name']), $forum['name'], $mybb->settings['bburl']."/".get_forum_link($id, $page)."");
archive_error($lang->error_nothreads);










			if($forumpermissions['canviewthreads'] != 1)
{
archive_header(strip_tags($forum['name']), $forum['name'], $mybb->settings['bburl']."/".get_forum_link($id, $page)."");
archive_error($lang->error_nopermission);
}

if($threadcount < 1 && $forumpermissions['canviewthreads'] == 1)
{
archive_header(strip_tags($forum['name']), $forum['name'], $mybb->settings['bburl']."/".get_forum_link($id, $page)."");
archive_error($lang->error_nothreads);
}

		}

// Build the archive header.

		}

// Build the archive header.

Zeile 456Zeile 465
/**
* Gets a list of forums and possibly subforums.
*

/**
* Gets a list of forums and possibly subforums.
*

* @param int The parent forum to get the childforums for.

* @param int $pid The parent forum to get the childforums for.

* @return array Array of information regarding the child forums of this parent forum
*/
function build_archive_forumbits($pid=0)

* @return array Array of information regarding the child forums of this parent forum
*/
function build_archive_forumbits($pid=0)