|
From: Jon O. <jon...@us...> - 2006-06-28 21:43:35
|
Update of /cvsroot/mxbb/mx_kb/kb/modules In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv939/modules/mx_kb/kb/modules Modified Files: kb_post_comment.php Log Message: Fixes for comments preview Index: kb_post_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_post_comment.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** kb_post_comment.php 25 Jun 2006 21:55:12 -0000 1.5 --- kb_post_comment.php 28 Jun 2006 21:43:32 -0000 1.6 *************** *** 234,245 **** } ! $template->set_filenames( array( 'preview' => 'kb_post_preview.tpl' ) ); $template->assign_vars( array( 'L_PREVIEW' => $lang['Preview'], 'PREVIEW' => true, - 'COMMENT' => $preview_text, 'SUBJECT' => $preview_title, ! 'PRE_COMMENT' => $comments_text ) ); --- 234,244 ---- } ! $template->assign_block_vars( 'preview', array() ); $template->assign_vars( array( 'L_PREVIEW' => $lang['Preview'], 'PREVIEW' => true, 'SUBJECT' => $preview_title, ! 'PRE_COMMENT' => $preview_text ) ); *************** *** 260,264 **** } ! if ( $mx_request_vars->is_get('cid') ) { $hidden_form_fields = '<input type="hidden" name="mode" value="post_comment"> --- 259,263 ---- } ! if ( $mx_request_vars->is_request('cid') ) { $hidden_form_fields = '<input type="hidden" name="mode" value="post_comment"> |