|
From: Jon O. <jon...@us...> - 2006-12-16 16:37:28
|
Update of /cvsroot/mxbb/core/admin In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv28428/admin Modified Files: index.php Log Message: viewonline bug in adminCP solved Index: index.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/index.php,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** index.php 4 Sep 2006 17:59:02 -0000 1.30 --- index.php 16 Dec 2006 16:37:23 -0000 1.31 *************** *** 32,35 **** --- 32,43 ---- // Begin functions // + + /** + * Enter description here... + * + * @param unknown_type $needle + * @param unknown_type $haystack + * @return unknown + */ function inarray($needle, $haystack) { *************** *** 43,46 **** --- 51,61 ---- return false; } + + /** + * Enter description here... + * + * @param unknown_type $dir_module + * @return unknown + */ function read_admin($dir_module) { *************** *** 640,643 **** --- 655,666 ---- else { + //+MOD: ViewOnline extension for mxBB Portal Pages + $mx_viewonline_info = mx_get_viewonline_info($onlinerow_reg[$i]['user_session_page']); + if( $mx_viewonline_info !== false ) + { + list($location, $location_url) = $mx_viewonline_info; + break; + } + //-MOD: ViewOnline extension for mxBB Portal Pages $location_url = append_sid(PHPBB_URL . "admin_forums.$phpEx?mode=editforum&" . POST_FORUM_URL . "=" . $onlinerow_reg[$i]['user_session_page']); $location = $forum_data[$onlinerow_reg[$i]['user_session_page']]; |