From 5362625eabd86278d9f7cbc7175e02e3b5f613ca Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sat, 26 Apr 2003 01:17:40 +0000 Subject: Various changes, and tests ... marking/tracking is not complete ... tinkering, changing, etc. still to be done ... it's just I've made numerous and various changes to different files so a commit really is due git-svn-id: file:///svn/phpbb/trunk@3953 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/index.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'phpBB/index.php') diff --git a/phpBB/index.php b/phpBB/index.php index b7b3489765..8b6b93cf29 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -36,16 +36,14 @@ $auth->acl($user->data); // Handle marking posts if ($mark_read == 'forums') { - if ($userdata['user_id']) + if ($userdata['user_id'] != ANONYMOUS) { markread('markall'); } - $template->assign_vars(array( - 'META' => '') - ); + meta_refresh(3, "index.$phpEx$SID"); - $message = $user->lang['Forums_marked_read'] . '

' . sprintf($user->lang['RETURN_INDEX'], '', ' '); + $message = $user->lang['FORUMS_MARKED'] . '

' . sprintf($user->lang['RETURN_INDEX'], '', ' '); trigger_error($message); } -- cgit v1.2.1