|
From: Andrew N. \(MHobbit\) <men...@us...> - 2005-12-16 03:13:06
|
Update of /cvsroot/mxbb/mx_phpbb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26118 Modified Files: mx_phpbb.php Log Message: A couple of small things Index: mx_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/mx_phpbb.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** mx_phpbb.php 22 Oct 2005 11:51:36 -0000 1.4 --- mx_phpbb.php 16 Dec 2005 03:12:57 -0000 1.5 *************** *** 21,31 **** if( !defined('IN_PORTAL') ) { ! die("Hacking attempt !!!"); } // // Restore POST vars after redirect // ! $_POST = $HTTP_POST_VARS = $_SESSION['mxbb_post_vars']; include_once($mx_root_path . "modules/mx_phpbb/includes/forum_hack.$phpEx"); --- 21,34 ---- if( !defined('IN_PORTAL') ) { ! die("Hacking attempt"); } + include_once( $phpbb_root_path . 'common' . $phpEx ); + // // Restore POST vars after redirect + // Will look into this later // ! $HTTP_POST_VARS = $HTTP_SESSION_VARS['mxbb_post_vars']; include_once($mx_root_path . "modules/mx_phpbb/includes/forum_hack.$phpEx"); *************** *** 38,42 **** // ! // Final tpl code fixup - these are really phpBB "bugs", hardcoded images etc // switch ( $mx_forum->phpbb_script ) --- 41,45 ---- // ! // Final template code fixup - these are really phpBB "bugs", hardcoded images etc. // switch ( $mx_forum->phpbb_script ) *************** *** 49,55 **** --- 52,60 ---- break; + case 'viewforum': break; + case 'viewtopic': $phpbb_output = str_replace('templates/subSilver/images/vote_lcap.gif', $phpbb_root_path . 'templates/subSilver/images/vote_lcap.gif', $phpbb_output); *************** *** 57,60 **** --- 62,66 ---- break; + case 'posting': |