mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
parent
531fe7c870
commit
6653a4a44e
@ -76,8 +76,6 @@ if (!$is_auth['auth_view'])
|
||||
bb_die($message);
|
||||
}
|
||||
|
||||
set_die_append_msg($forum_id);
|
||||
|
||||
// Redirect to login page if not admin session
|
||||
$mod_redirect_url = '';
|
||||
|
||||
@ -118,6 +116,8 @@ $tracking_forums = get_tracks('forum');
|
||||
if ($mark_read && !IS_GUEST)
|
||||
{
|
||||
set_tracks(COOKIE_FORUM, $tracking_forums, $forum_id);
|
||||
|
||||
set_die_append_msg($forum_id);
|
||||
$message = $lang['TOPICS_MARKED_READ'];
|
||||
bb_die($message);
|
||||
}
|
||||
@ -196,7 +196,6 @@ if (!$forum_data['forum_parent'] && isset($forums['f'][$forum_id]['subforums'])
|
||||
$template->assign_block_vars('f', array(
|
||||
'FORUM_FOLDER_IMG' => $folder_image,
|
||||
|
||||
'FORUM_ID' => $sf_forum_id,
|
||||
'FORUM_NAME' => $fname_html,
|
||||
'FORUM_DESC' => $forums['f'][$sf_forum_id]['forum_desc'],
|
||||
'U_VIEWFORUM' => FORUM_URL . $sf_forum_id,
|
||||
|
Loading…
Reference in New Issue
Block a user