1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

Auth now returns a type allowing for more meaningful failure messa ges

git-svn-id: file:///svn/phpbb/trunk@434 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2001-06-06 17:50:24 +00:00
parent 6ac0e7b4b3
commit 43bc7ac78f
4 changed files with 112 additions and 9 deletions

View File

@@ -234,7 +234,7 @@ if(!$is_auth['auth_view'] || !$is_auth['auth_view'])
//
include('includes/page_header.'.$phpEx);
$msg = "I am sorry but you are not currently authorised to read this forum. You could try logging on and trying again. If you are logged on then this is a private forum for which you have not been granted access.";
$msg = "I am sorry but only " . $is_auth['auth_read_type'] . " can read this topic.";
$template->set_filenames(array(
"reg_header" => "error_body.tpl"