Vergleich inc/functions_forumlist.php - 1.4.2 - 1.4.6

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: functions_forumlist.php 4131 2008-08-19 15:31:39Z Tikitiki $

 * $Id: functions_forumlist.php 4346 2009-04-14 07:11:03Z Tikitiki $

 */

/**

 */

/**

Zeile 53Zeile 53

// This forum has a password, and the user isn't authenticated with it - hide post information
$hideinfo = false;


// This forum has a password, and the user isn't authenticated with it - hide post information
$hideinfo = false;

 
			$showlockicon = 0;
if($permissions['canviewthreads'] != 1)
{
$hideinfo = true;
}


			if($forum['password'] != '' && $mybb->cookies['forumpass'][$forum['fid']] != md5($mybb->user['uid'].$forum['password']))
{

			if($forum['password'] != '' && $mybb->cookies['forumpass'][$forum['fid']] != md5($mybb->user['uid'].$forum['password']))
{

				$hideinfo = true;


			    $hideinfo = true;
$showlockicon = 1;

			}

$lastpost_data = array(

			}

$lastpost_data = array(

Zeile 121Zeile 128
			}

// Get the lightbulb status indicator for this forum based on the lastpost

			}

// Get the lightbulb status indicator for this forum based on the lastpost

			$lightbulb = get_forum_lightbulb($forum, $lastpost_data, $hideinfo);

			$lightbulb = get_forum_lightbulb($forum, $lastpost_data, $showlockicon);


// Fetch the number of unapproved threads and posts for this forum
$unapproved = get_forum_unapproved($forum);


// Fetch the number of unapproved threads and posts for this forum
$unapproved = get_forum_unapproved($forum);

Zeile 217Zeile 224
				}

$forum_viewers_text = '';

				}

$forum_viewers_text = '';

 
				$forum_viewers_text_plain = '';

				if($mybb->settings['showforumviewing'] != 0 && $forum['viewers'] > 0)
{
if($forum['viewers'] == 1)

				if($mybb->settings['showforumviewing'] != 0 && $forum['viewers'] > 0)
{
if($forum['viewers'] == 1)

Zeile 227Zeile 235
					{
$forum_viewers_text = $lang->sprintf($lang->viewing_multiple, $forum['viewers']);
}

					{
$forum_viewers_text = $lang->sprintf($lang->viewing_multiple, $forum['viewers']);
}

 
					$forum_viewers_text_plain = $forum_viewers_text;

					$forum_viewers_text = "<span class=\"smalltext\">{$forum_viewers_text}</span>";
}
}

					$forum_viewers_text = "<span class=\"smalltext\">{$forum_viewers_text}</span>";
}
}