|
From: Jon O. <jon...@us...> - 2006-08-16 14:49:33
|
Update of /cvsroot/mxbb/mx_phpbb In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv22650/modules/mx_phpbb Modified Files: mx_phpbb.php Log Message: testing... Index: mx_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/mx_phpbb.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mx_phpbb.php 5 Apr 2006 22:36:11 -0000 1.8 --- mx_phpbb.php 16 Aug 2006 14:49:30 -0000 1.9 *************** *** 8,12 **** * */ ! if( !defined('IN_PORTAL') ) { --- 8,12 ---- * */ ! if( !defined('IN_PORTAL') ) { *************** *** 25,29 **** // trying to break out of a SQL statement. // - if( !get_magic_quotes_gpc() ) { --- 25,28 ---- *************** *** 52,59 **** include_once($mx_root_path . "modules/mx_phpbb/includes/phpbb_constants.$phpEx"); ! ob_start(); $mx_forum->read_file( $mx_forum->phpbb_script ); $phpbb_output = ob_get_contents(); ! ob_end_clean(); // --- 51,58 ---- include_once($mx_root_path . "modules/mx_phpbb/includes/phpbb_constants.$phpEx"); ! ob_start(); $mx_forum->read_file( $mx_forum->phpbb_script ); $phpbb_output = ob_get_contents(); ! ob_end_clean(); // *************** *** 68,87 **** //$phpbb_output = str_replace('"templates/'.$theme['template_name'].'/images/whosonline.gif', '"' . $phpbb_root_path . 'templates/'.$theme['template_name'].'/images/whosonline.gif', $phpbb_output); break; ! case 'viewforum': break; ! case 'viewtopic': //$phpbb_output = str_replace('templates/'.$theme['template_name'].'/images/vote_lcap.gif', $phpbb_root_path . 'templates/'.$theme['template_name'].'/images/vote_lcap.gif', $phpbb_output); //$phpbb_output = str_replace('templates/'.$theme['template_name'].'/images/vote_rcap.gif', $phpbb_root_path . 'templates/'.$theme['template_name'].'/images/vote_rcap.gif', $phpbb_output); break; ! case 'posting': ! break; ! case 'faq': $phpbb_output = str_replace('#top', $phpbb_root_path . 'faq.php#top', $phpbb_output); ! break; ! } --- 67,86 ---- //$phpbb_output = str_replace('"templates/'.$theme['template_name'].'/images/whosonline.gif', '"' . $phpbb_root_path . 'templates/'.$theme['template_name'].'/images/whosonline.gif', $phpbb_output); break; ! case 'viewforum': break; ! case 'viewtopic': //$phpbb_output = str_replace('templates/'.$theme['template_name'].'/images/vote_lcap.gif', $phpbb_root_path . 'templates/'.$theme['template_name'].'/images/vote_lcap.gif', $phpbb_output); //$phpbb_output = str_replace('templates/'.$theme['template_name'].'/images/vote_rcap.gif', $phpbb_root_path . 'templates/'.$theme['template_name'].'/images/vote_rcap.gif', $phpbb_output); break; ! case 'posting': ! break; ! case 'faq': $phpbb_output = str_replace('#top', $phpbb_root_path . 'faq.php#top', $phpbb_output); ! break; ! } *************** *** 91,94 **** echo($phpbb_output); unset($phpbb_output); - ?> \ No newline at end of file --- 90,92 ---- |