Zeile 6 | Zeile 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 39 | Zeile 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 63 | Zeile 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 215 | Zeile 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);
|
} }
| } }
|