|
From: Jon O. <jon...@us...> - 2008-07-13 19:31:46
|
Update of /cvsroot/mxbb/core/modules/mx_textblocks/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2151 Modified Files: mx_module_defs.php Log Message: bbcodes as a class, backend extended Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_textblocks/admin/mx_module_defs.php,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** mx_module_defs.php 9 Mar 2008 23:41:01 -0000 1.29 --- mx_module_defs.php 13 Jul 2008 19:31:43 -0000 1.30 *************** *** 150,154 **** { global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $phpbb_root_path, $phpEx, $mx_table_prefix, $table_prefix; ! global $mx_request_vars; $parameter_value = $mx_request_vars->is_post('preview') ? $mx_request_vars->post($parameter_data['parameter_name'], MX_TYPE_NO_TAGS) : $parameter_data['parameter_value']; --- 150,154 ---- { global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $phpbb_root_path, $phpEx, $mx_table_prefix, $table_prefix; ! global $mx_request_vars, $mx_bbcode; $parameter_value = $mx_request_vars->is_post('preview') ? $mx_request_vars->post($parameter_data['parameter_name'], MX_TYPE_NO_TAGS) : $parameter_data['parameter_value']; *************** *** 214,218 **** if( $smilies_on) { ! mx_generate_smilies('inline', PAGE_INDEX); $template->assign_block_vars('switch_smilies', array()); } --- 214,218 ---- if( $smilies_on) { ! $mx_bbcode->generate_smilies('inline', PAGE_INDEX); $template->assign_block_vars('switch_smilies', array()); } *************** *** 286,290 **** { global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $phpbb_root_path, $phpEx, $mx_table_prefix, $table_prefix, $html_entities_match, $html_entities_replace; ! global $mx_request_vars; $parameter_value = $mx_request_vars->is_post('preview') ? $mx_request_vars->post($parameter_data['parameter_name'], MX_TYPE_NO_TAGS) : $parameter_data['parameter_value']; --- 286,290 ---- { global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $phpbb_root_path, $phpEx, $mx_table_prefix, $table_prefix, $html_entities_match, $html_entities_replace; ! global $mx_request_vars, $mx_bbcode; $parameter_value = $mx_request_vars->is_post('preview') ? $mx_request_vars->post($parameter_data['parameter_name'], MX_TYPE_NO_TAGS) : $parameter_data['parameter_value']; *************** *** 349,353 **** if( $smilies_on) { ! mx_generate_smilies('inline', PAGE_INDEX); $template->assign_block_vars('switch_smilies', array()); } --- 349,353 ---- if( $smilies_on) { ! $mx_bbcode->generate_smilies('inline', PAGE_INDEX); $template->assign_block_vars('switch_smilies', array()); } |