mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 10:16:36 +02:00
Using block_vars to fake IF...ELSE...ENDIF capability
git-svn-id: file:///svn/phpbb/trunk@719 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -259,10 +259,7 @@ $template->assign_vars(array(
|
||||
//
|
||||
if(!$userdata['session_logged_in'])
|
||||
{
|
||||
$template->set_filenames(array(
|
||||
"loginbox" => "loginbox.tpl")
|
||||
);
|
||||
$template->assign_var_from_handle("S_LOGINBOX", "loginbox");
|
||||
$template->assign_block_vars("loginbox", array());
|
||||
}
|
||||
|
||||
header ("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT");
|
||||
|
Reference in New Issue
Block a user