diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-11-09 13:15:36 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-11-09 13:15:36 +0000 |
| commit | a7382c8e88ad01dc6d2d6bc4a8956814e81ef045 (patch) | |
| tree | 0f4ef6b05904141b47601f18d0379d76c33e43cb /phpBB/privmsg.php | |
| parent | 45db03be26712034fad00a513cb9ea065bcf6a4e (diff) | |
| download | forums-a7382c8e88ad01dc6d2d6bc4a8956814e81ef045.tar forums-a7382c8e88ad01dc6d2d6bc4a8956814e81ef045.tar.gz forums-a7382c8e88ad01dc6d2d6bc4a8956814e81ef045.tar.bz2 forums-a7382c8e88ad01dc6d2d6bc4a8956814e81ef045.tar.xz forums-a7382c8e88ad01dc6d2d6bc4a8956814e81ef045.zip | |
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
Diffstat (limited to 'phpBB/privmsg.php')
| -rw-r--r-- | phpBB/privmsg.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php index f77f0abd7c..17f2636bdb 100644 --- a/phpBB/privmsg.php +++ b/phpBB/privmsg.php @@ -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 |
