|
From: OryNider <ory...@us...> - 2008-02-04 18:09:08
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9139 Modified Files: mx_functions_admincp.php Log Message: modules installer upgrade Index: mx_functions_admincp.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_admincp.php,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** mx_functions_admincp.php 4 Feb 2008 15:56:43 -0000 1.44 --- mx_functions_admincp.php 4 Feb 2008 18:09:04 -0000 1.45 *************** *** 4,8 **** * @package AdminCP * @version $Id$ ! * @copyright (c) 2002-2008 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 4,8 ---- * @package AdminCP * @version $Id$ ! * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com *************** *** 3031,3035 **** global $db, $phpbb_root_path, $board_config, $lang, $phpEx; ! include_once($phpbb_root_path . 'includes/functions_search.' . $phpEx); $search_match_table = MX_MATCH_TABLE; --- 3031,3035 ---- global $db, $phpbb_root_path, $board_config, $lang, $phpEx; ! mx_page::load('functions_seach', 'phpbb2'); $search_match_table = MX_MATCH_TABLE; *************** *** 3786,3790 **** $inst_error = false; $n = 0; ! $message = "<b>This is the result list of the SQL queries needed for the install/upgrade</b><br /><br />"; while ( $sql[$n] ) --- 3786,3790 ---- $inst_error = false; $n = 0; ! $message = "<b>" . $lang['list_of_queries'] . "</b><br /><br />"; while ( $sql[$n] ) *************** *** 3792,3805 **** if ( !$result = $db->sql_query( $sql[$n] ) ) { ! $message .= '<b><font color=#FF0000>[Error or Already added]</font></b> line: ' . ( $n + 1 ) . ' , ' . $sql[$n] . '<br />'; $inst_error = true; } else { ! $message .= '<b><font color=#0000fF>[Added/Updated]</font></b> line: ' . ( $n + 1 ) . ' , ' . $sql[$n] . '<br />'; } $n++; } ! $message .= '<br /> If you get some Errors, Already Added or Updated messages, relax, this is normal when updating modules'; return $message; --- 3792,3805 ---- if ( !$result = $db->sql_query( $sql[$n] ) ) { ! $message .= '<b><font color=#FF0000>[' . $lang['already_added'] . ']</font></b> line: ' . ( $n + 1 ) . ' , ' . $sql[$n] . '<br />'; $inst_error = true; } else { ! $message .= '<b><font color=#0000fF>[' . $lang['added_upgraded'] . ']</font></b> line: ' . ( $n + 1 ) . ' , ' . $sql[$n] . '<br />'; } $n++; } ! $message .= '<br /> ' . $lang['upgrading_modules']; return $message; *************** *** 3839,3843 **** @fputs($fsock, "HOST: $host\r\n"); @fputs($fsock, "Connection: close\r\n\r\n"); ! $file_info = ''; $get_info = false; --- 3839,3843 ---- @fputs($fsock, "HOST: $host\r\n"); @fputs($fsock, "Connection: close\r\n\r\n"); ! $file_info = ''; $get_info = false; *************** *** 3878,3882 **** } } ! return $file_info; } --- 3878,3882 ---- } } ! return $file_info; } |