mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +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:
@@ -1293,7 +1293,7 @@ else if( $submit || $refresh || $mode != "" )
|
||||
"L_PREVIEW" => $lang['Preview'],
|
||||
"L_POSTED" => $lang['Posted'])
|
||||
);
|
||||
$template->pparse("preview");
|
||||
$template->assign_var_from_handle("POST_PREVIEW_BOX", "preview");
|
||||
}
|
||||
|
||||
//
|
||||
@@ -1307,7 +1307,7 @@ else if( $submit || $refresh || $mode != "" )
|
||||
$template->assign_vars(array(
|
||||
"ERROR_MESSAGE" => $error_msg)
|
||||
);
|
||||
$template->pparse("reg_header");
|
||||
$template->assign_var_from_handle("ERROR_BOX", "reg_header");
|
||||
}
|
||||
//
|
||||
// End error handling
|
||||
|
Reference in New Issue
Block a user