|
From: Jon O. <jon...@us...> - 2008-02-15 22:25:53
|
Update of /cvsroot/mxbb/mx_kb/kb/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27823 Modified Files: kb_article.php kb_cat.php kb_lists.php kb_mcp.php kb_mini.php kb_post.php kb_post_comment.php kb_rate.php kb_search.php kb_stats.php Log Message: bad globals Index: kb_stats.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_stats.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** kb_stats.php 9 Sep 2007 20:06:02 -0000 1.8 --- kb_stats.php 15 Feb 2008 22:25:49 -0000 1.9 *************** *** 28,32 **** { global $template, $lang, $db, $phpEx, $kb_config, $mx_request_vars, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $phpEx; // --- 28,32 ---- { global $template, $lang, $db, $phpEx, $kb_config, $mx_request_vars, $userdata; ! global $mx_root_path, $module_root_path, $is_block; // Index: kb_mcp.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_mcp.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** kb_mcp.php 9 Sep 2007 20:06:02 -0000 1.3 --- kb_mcp.php 15 Feb 2008 22:25:49 -0000 1.4 *************** *** 28,32 **** { global $db, $lang, $userdata, $board_config, $phpEx, $images, $debug; ! global $mx_root_path, $phpbb_root_path, $module_root_path, $is_block, $phpEx; global $mx_kb_functions, $template, $kb_config; --- 28,32 ---- { global $db, $lang, $userdata, $board_config, $phpEx, $images, $debug; ! global $mx_root_path, $phpbb_root_path, $module_root_path, $is_block; global $mx_kb_functions, $template, $kb_config; Index: kb_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_lists.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** kb_lists.php 9 Sep 2007 20:06:02 -0000 1.5 --- kb_lists.php 15 Feb 2008 22:25:49 -0000 1.6 *************** *** 28,32 **** { global $template, $lang, $phpEx, $kb_config, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; global $toplist_page_id, $toplist_config; --- 28,32 ---- { global $template, $lang, $phpEx, $kb_config, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars; global $toplist_page_id, $toplist_config; Index: kb_post.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_post.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** kb_post.php 28 Jan 2008 21:51:03 -0000 1.14 --- kb_post.php 15 Feb 2008 22:25:49 -0000 1.15 *************** *** 28,34 **** { global $template, $mx_kb_functions, $lang, $board_config, $phpEx, $kb_config, $db, $images, $userdata; ! global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $phpEx, $mx_request_vars, $theme; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; - global $HTTP_SERVER_VARS; // --- 28,33 ---- { global $template, $mx_kb_functions, $lang, $board_config, $phpEx, $kb_config, $db, $images, $userdata; ! global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $mx_request_vars, $theme; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; // *************** *** 185,189 **** $template->assign_block_vars( "tinyMCE_admin", array( 'PATH' => $mx_root_path, ! 'LANG' => !empty($langcode) ? $langcode : $HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'], 'TEMPLATE' => $mx_root_path . 'templates/'. $theme['template_name'] . '/' . $theme['head_stylesheet'] )); --- 184,188 ---- $template->assign_block_vars( "tinyMCE_admin", array( 'PATH' => $mx_root_path, ! 'LANG' => !empty($langcode) ? $langcode : $_SERVER['HTTP_ACCEPT_LANGUAGE'], 'TEMPLATE' => $mx_root_path . 'templates/'. $theme['template_name'] . '/' . $theme['head_stylesheet'] )); *************** *** 193,197 **** $template->assign_block_vars( "tinyMCE", array( 'PATH' => $mx_root_path, ! 'LANG' => !empty($langcode) ? $langcode : $HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'], 'TEMPLATE' => $mx_root_path . 'templates/'. $theme['template_name'] . '/' . $theme['head_stylesheet'] )); --- 192,196 ---- $template->assign_block_vars( "tinyMCE", array( 'PATH' => $mx_root_path, ! 'LANG' => !empty($langcode) ? $langcode : $_SERVER['HTTP_ACCEPT_LANGUAGE'], 'TEMPLATE' => $mx_root_path . 'templates/'. $theme['template_name'] . '/' . $theme['head_stylesheet'] )); Index: kb_mini.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_mini.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** kb_mini.php 9 Sep 2007 20:06:02 -0000 1.7 --- kb_mini.php 15 Feb 2008 22:25:49 -0000 1.8 *************** *** 28,32 **** { global $template, $lang, $phpEx, $kb_config, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars, $mini_config; global $page_id; --- 28,32 ---- { global $template, $lang, $phpEx, $kb_config, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars, $mini_config; global $page_id; Index: kb_article.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_article.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** kb_article.php 9 Sep 2007 20:06:01 -0000 1.16 --- kb_article.php 15 Feb 2008 22:25:49 -0000 1.17 *************** *** 28,32 **** { global $template, $lang, $theme, $db, $phpEx, $kb_config, $mx_request_vars, $userdata; ! global $phpbb_root_path, $mx_root_path, $module_root_path, $is_block, $phpEx, $images; global $mx_kb_custom_field, $mx_kb_functions, $print_version, $board_config, $mx_block; global $page_id; --- 28,32 ---- { global $template, $lang, $theme, $db, $phpEx, $kb_config, $mx_request_vars, $userdata; ! global $phpbb_root_path, $mx_root_path, $module_root_path, $is_block, $images; global $mx_kb_custom_field, $mx_kb_functions, $print_version, $board_config, $mx_block; global $page_id; Index: kb_search.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_search.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** kb_search.php 9 Sep 2007 20:06:02 -0000 1.10 --- kb_search.php 15 Feb 2008 22:25:49 -0000 1.11 *************** *** 28,33 **** { global $template, $lang, $board_config, $phpEx, $kb_config, $db, $images; ! global $_REQUEST, $_POST, $phpbb_root_path, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $phpEx; include_once( $phpbb_root_path . 'includes/functions_search.' . $phpEx ); --- 28,32 ---- { global $template, $lang, $board_config, $phpEx, $kb_config, $db, $images; ! global $phpbb_root_path, $userdata, $mx_root_path, $module_root_path, $is_block; include_once( $phpbb_root_path . 'includes/functions_search.' . $phpEx ); Index: kb_rate.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_rate.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** kb_rate.php 9 Sep 2007 20:06:02 -0000 1.9 --- kb_rate.php 15 Feb 2008 22:25:49 -0000 1.10 *************** *** 29,33 **** global $template, $lang, $board_config, $phpEx, $kb_config, $db, $userdata; global $phpbb_root_path, $mx_kb_user, $mx_kb_functions; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; // ======================================================= --- 29,33 ---- global $template, $lang, $board_config, $phpEx, $kb_config, $db, $userdata; global $phpbb_root_path, $mx_kb_user, $mx_kb_functions; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars; // ======================================================= Index: kb_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_cat.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** kb_cat.php 9 Sep 2007 20:06:01 -0000 1.9 --- kb_cat.php 15 Feb 2008 22:25:49 -0000 1.10 *************** *** 28,32 **** { global $template, $lang, $db, $phpEx, $kb_config, $mx_request_vars, $userdata; ! global $mx_root_path, $module_root_path, $is_block, $phpEx; // --- 28,32 ---- { global $template, $lang, $db, $phpEx, $kb_config, $mx_request_vars, $userdata; ! global $mx_root_path, $module_root_path, $is_block; // Index: kb_post_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_post_comment.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** kb_post_comment.php 28 Jan 2008 21:51:03 -0000 1.12 --- kb_post_comment.php 15 Feb 2008 22:25:49 -0000 1.13 *************** *** 27,33 **** function main( $action ) { ! global $template, $mx_kb_functions, $lang, $board_config, $phpEx, $kb_config, $db, $images, $userdata, $_POST; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; ! global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $phpEx, $mx_request_vars; global $mx_block, $theme; --- 27,33 ---- function main( $action ) { ! global $template, $mx_kb_functions, $lang, $board_config, $phpEx, $kb_config, $db, $images, $userdata; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; ! global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $mx_request_vars; global $mx_block, $theme; |