1
0
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:
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

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