phpBB

Code Changes

File: viewforum.php

  Unmodified   Added   Modified   Removed
Line 198Line 198
// We also make this circumstance available to the template in case we want to display a notice. ;)
if (!$auth->acl_gets('f_read', 'f_list_topics', $forum_id))
{

// We also make this circumstance available to the template in case we want to display a notice. ;)
if (!$auth->acl_gets('f_read', 'f_list_topics', $forum_id))
{

	// Add form token for login box
add_form_key('login', '_LOGIN');


 
	$template->assign_vars(array(
'S_NO_READ_ACCESS' => true,
));

	$template->assign_vars(array(
'S_NO_READ_ACCESS' => true,
));