From a7382c8e88ad01dc6d2d6bc4a8956814e81ef045 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Fri, 9 Nov 2001 13:15:36 +0000 Subject: 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 --- phpBB/privmsg.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/privmsg.php') 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 -- cgit v1.2.1