Vergleich archive/index.php - 1.6.4 - 1.6.13

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: index.php 5368 2011-02-17 10:37:01Z MattR $

 * $Id$

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 97Zeile 97
		{
if(is_moderator($forum['fid']))
{

		{
if(is_moderator($forum['fid']))
{

				archive_error($lang->sprintf($lang->error_unapproved_thread, $mybb->settings['bburl']."/".get_thread_link($thread['tid'])));

				archive_error($lang->sprintf($lang->error_unapproved_thread, $mybb->settings['bburl']."/".get_thread_link($thread['tid'], $page)));

			}
else
{

			}
else
{

Zeile 116Zeile 116
		build_forum_breadcrumb($forum['fid'], 1);
add_breadcrumb($thread['subject']);


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


		archive_header($thread['subject'], $thread['subject'], $mybb->settings['bburl']."/".get_thread_link($thread['tid']));

		archive_header($thread['subject'], $thread['subject'], $mybb->settings['bburl']."/".get_thread_link($thread['tid'], $page));


$plugins->run_hooks("archive_thread_start");



$plugins->run_hooks("archive_thread_start");


Zeile 253Zeile 253
		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 && $forum['type'] != 'c')

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

		{

		{

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

			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.

			archive_error($lang->error_nothreads);
}

// Build the archive header.

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

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


$plugins->run_hooks("archive_forum_start");



$plugins->run_hooks("archive_forum_start");


Zeile 324Zeile 324
				echo "<ol>\n";
while($announcement = $db->fetch_array($query))
{

				echo "<ol>\n";
while($announcement = $db->fetch_array($query))
{

 
					$announcement['subject'] = $parser->parse_badwords($announcement['subject']);

					echo "<li><a href=\"{$base_url}announcement-{$announcement['aid']}.html\">".htmlspecialchars_uni($announcement['subject'])."</a></li>";
}
echo "</ol>\n</div>\n";

					echo "<li><a href=\"{$base_url}announcement-{$announcement['aid']}.html\">".htmlspecialchars_uni($announcement['subject'])."</a></li>";
}
echo "</ol>\n</div>\n";