Vergleich inc/functions_indicators.php - 1.6.7 - 1.6.12

  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: functions_indicators.php 5765 2012-03-27 09:52:45Z Tomm $

 * $Id$

 */

/**

 */

/**

Zeile 39Zeile 39
	// Default back to cookie marking
else
{

	// Default back to cookie marking
else
{

		my_set_array_cookie("threadread", $tid, TIME_NOW);

		my_set_array_cookie("threadread", $tid, TIME_NOW, -1);

	}

$unread_count = fetch_unread_count($fid);

	}

$unread_count = fetch_unread_count($fid);

Zeile 63Zeile 63
	$permissions = forum_permissions($fid);
$cutoff = TIME_NOW-$mybb->settings['threadreadcut']*60*60*24;


	$permissions = forum_permissions($fid);
$cutoff = TIME_NOW-$mybb->settings['threadreadcut']*60*60*24;


	if($permissions['canonlyviewownthreads'])

	if(!empty($permissions['canonlyviewownthreads']))

	{
$onlyview = " AND uid = '{$mybb->user['uid']}'";
$onlyview2 = " AND t.uid = '{$mybb->user['uid']}'";

	{
$onlyview = " AND uid = '{$mybb->user['uid']}'";
$onlyview2 = " AND t.uid = '{$mybb->user['uid']}'";

Zeile 215Zeile 215
	// Mark in a cookie
else
{

	// Mark in a cookie
else
{

		my_set_array_cookie("forumread", $fid, TIME_NOW);

		my_set_array_cookie("forumread", $fid, TIME_NOW, -1);

	}
}


	}
}