|
From: Jon O. <jon...@us...> - 2007-09-09 19:31:05
|
Update of /cvsroot/mxbb/mx_act/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32245/includes Modified Files: act_cat_play.php act_functions.php act_main.php act_scores.php Log Message: for 2.9.x Index: act_cat_play.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/act_cat_play.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** act_cat_play.php 17 Jun 2006 20:10:12 -0000 1.6 --- act_cat_play.php 9 Sep 2007 19:30:57 -0000 1.7 *************** *** 462,466 **** { $total_games = $total['total']; ! $pagination = generate_pagination( "activity.$phpEx?mode=$mode&cat=$cat&order=$sort_order", $total_games, $act_config['games_per_page'], $start ) . ' '; } --- 462,466 ---- { $total_games = $total['total']; ! $pagination = phpBB2::generate_pagination( "activity.$phpEx?mode=$mode&cat=$cat&order=$sort_order", $total_games, $act_config['games_per_page'], $start ) . ' '; } Index: act_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/act_main.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** act_main.php 17 Jun 2006 20:10:12 -0000 1.8 --- act_main.php 9 Sep 2007 19:30:57 -0000 1.9 *************** *** 773,777 **** { $total_games = $total['total']; ! $pagination = generate_pagination( this_act_mxurl( "mode=$mode&order=$sort_order" ), $total_games, $act_config['games_per_page'], $start ) . ' '; } --- 773,777 ---- { $total_games = $total['total']; ! $pagination = phpBB2::generate_pagination( this_act_mxurl( "mode=$mode&order=$sort_order" ), $total_games, $act_config['games_per_page'], $start ) . ' '; } Index: act_functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/act_functions.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** act_functions.php 17 Jun 2006 20:10:12 -0000 1.7 --- act_functions.php 9 Sep 2007 19:30:57 -0000 1.8 *************** *** 79,83 **** function send_challenge_pm( $dest_user, $subject, $message ) { ! global $db , $phpbb_root_path , $phpEx , $lang, $user_ip, $board_config , $userdata; $dest_user = intval( $dest_user ); --- 79,83 ---- function send_challenge_pm( $dest_user, $subject, $message ) { ! global $db , $phpbb_root_path , $phpEx , $lang, $user_ip, $board_config , $userdata, $mx_page; $dest_user = intval( $dest_user ); *************** *** 89,94 **** $smilies_on = 1; ! include_once( $phpbb_root_path . 'includes/functions_post.' . $phpEx ); ! include_once( $phpbb_root_path . 'includes/bbcode.' . $phpEx ); $privmsg_subject = trim( strip_tags( $subject ) ); --- 89,101 ---- $smilies_on = 1; ! if( !function_exists('prepare_message') ) ! { ! mx_page::load_file('functions_post', 'phpbb2'); ! } ! ! if( !function_exists('make_bbcode_uid') ) ! { ! mx_page::load_file('bbcode', 'phpbb2'); ! } $privmsg_subject = trim( strip_tags( $subject ) ); Index: act_scores.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/act_scores.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** act_scores.php 17 Jun 2006 20:10:12 -0000 1.5 --- act_scores.php 9 Sep 2007 19:30:57 -0000 1.6 *************** *** 76,80 **** "NAME" => $row['player'], "SCORE" => $row['hscore'], ! "DATE" => create_date( $board_config['default_dateformat'], $row['date'], $board_config['board_timezone'] ) ) ); $i++; --- 76,80 ---- "NAME" => $row['player'], "SCORE" => $row['hscore'], ! "DATE" => phpBB2::create_date( $board_config['default_dateformat'], $row['date'], $board_config['board_timezone'] ) ) ); $i++; |