|
From: OryNider <ory...@us...> - 2008-02-10 02:01:06
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5862 Modified Files: forum_hack.php Log Message: $code = str_replace('phpbb_clean_username(', 'phpBB2::phpbb_clean_username(', $code); Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** forum_hack.php 8 Feb 2008 07:48:13 -0000 1.31 --- forum_hack.php 10 Feb 2008 02:01:01 -0000 1.32 *************** *** 962,966 **** // Replaces same function in bbcode.php // -------------------------------------------------------------------------------- ! function smilies_pass( $message ) { // --- 962,966 ---- // Replaces same function in bbcode.php // -------------------------------------------------------------------------------- ! function smilies_pass($message) { // *************** *** 1020,1024 **** // Force full url // -------------------------------------------------------------------------------- ! function _force_full_url( &$string, &$script_names_ary ) { for( $i = 0; $i < count( $script_names_ary ); $i++ ) --- 1020,1024 ---- // Force full url // -------------------------------------------------------------------------------- ! function _force_full_url(&$string, &$script_names_ary) { for( $i = 0; $i < count( $script_names_ary ); $i++ ) *************** *** 1032,1036 **** // mxbb_reformat - fixup (truncates) urls, images and words (wrapping) for a narrow column layout // -------------------------------------------------------------------------------- ! function mxbb_magic( $mytext = '' ) { global $board_config; --- 1032,1036 ---- // mxbb_reformat - fixup (truncates) urls, images and words (wrapping) for a narrow column layout // -------------------------------------------------------------------------------- ! function mxbb_magic($mytext = '') { global $board_config; *************** *** 1048,1052 **** // into relative versions when the server/script path matches the link // -------------------------------------------------------------------------------- ! function _magic_url( $url ) { global $board_config; --- 1048,1052 ---- // into relative versions when the server/script path matches the link // -------------------------------------------------------------------------------- ! function _magic_url($url) { global $board_config; *************** *** 1612,1616 **** $code = str_replace('$template->pparse(', "\n" . '$mx_forum->common_template_vars();' . "\n" . '$template->pparse(', $code); ! switch ( $phpbb_file ) { case 'index': --- 1612,1616 ---- $code = str_replace('$template->pparse(', "\n" . '$mx_forum->common_template_vars();' . "\n" . '$template->pparse(', $code); ! switch ($phpbb_file) { case 'index': *************** *** 1662,1665 **** --- 1662,1671 ---- break; + /* + case 'groupcp': + $code = str_replace('phpbb_clean_username(', 'phpBB2::phpbb_clean_username(', $code); + + break; + */ case 'includes/usercp_register': *************** *** 1706,1715 **** } ! /* //this funtions are now in funtion container $code = str_replace('get_db_stat', 'phpBB2::get_db_stat', $code); $code = str_replace('create_date', 'phpBB2::create_date', $code); ! */ ! // // Now do a recursive study of sub includes ;) --- 1712,1721 ---- } ! //this funtions are now in funtion container $code = str_replace('get_db_stat', 'phpBB2::get_db_stat', $code); $code = str_replace('create_date', 'phpBB2::create_date', $code); ! $code = str_replace('phpbb_clean_username(', 'phpBB2::phpbb_clean_username(', $code); ! // // Now do a recursive study of sub includes ;) |