1
0
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:
Paul S. Owen
2001-11-09 13:15:36 +00:00
parent 45db03be26
commit a7382c8e88
8 changed files with 448 additions and 22 deletions

View File

@@ -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(