mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Altered templates so preview/errors are sent as 'boxes' rather than pparsed and output directly, greater control for designer
git-svn-id: file:///svn/phpbb/trunk@1295 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1462,7 +1462,7 @@ if( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) )
|
||||
$template->assign_vars(array(
|
||||
"ERROR_MESSAGE" => $error_msg)
|
||||
);
|
||||
$template->pparse("reg_header");
|
||||
$template->assign_var_from_handle("ERROR_BOX", "reg_header");
|
||||
}
|
||||
|
||||
$template->set_filenames(array(
|
||||
|
Reference in New Issue
Block a user