|
From: Jon O. <jon...@us...> - 2008-06-16 10:47:30
|
Update of /cvsroot/mxbb/core/install/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv6618 Modified Files: functions_install.php Log Message: Updated install wizard, with new references to new site Fixed the creation of default user Updated all tpl footer, with updated copyrights etc New validation check when switching backend, to ensure you can always manage the system Cleanup when in internal mode. phpbb settings are hidden Index: functions_install.php =================================================================== RCS file: /cvsroot/mxbb/core/install/includes/functions_install.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** functions_install.php 10 Feb 2008 20:58:47 -0000 1.7 --- functions_install.php 16 Jun 2008 10:47:24 -0000 1.8 *************** *** 36,41 **** $install_moreinfo = sprintf($lang['Install_moreinfo'], '<a href="'.U_RELEASE_NOTES.'" target="_blank">', '</a>', ! '<a href="'.U_WELCOME_PACK.'" target="_blank">', '</a>', ! '<a href="'.U_ONLINE_FAQ.'" target="_blank">', '</a>', '<a href="'.U_ONLINE_SUPPORT.'" target="_blank">', '</a>', '<a href="'.U_TERMS_OF_USE.'" target="_blank">', '</a>' --- 36,41 ---- $install_moreinfo = sprintf($lang['Install_moreinfo'], '<a href="'.U_RELEASE_NOTES.'" target="_blank">', '</a>', ! '<a href="'.U_ONLINE_MANUAL.'" target="_blank">', '</a>', ! '<a href="'.U_ONLINE_KB.'" target="_blank">', '</a>', '<a href="'.U_ONLINE_SUPPORT.'" target="_blank">', '</a>', '<a href="'.U_TERMS_OF_USE.'" target="_blank">', '</a>' *************** *** 1267,1270 **** --- 1267,1281 ---- { $portal_table['default_style'] = "'1'"; + $portal_table['default_admin_style'] = "'3'"; + } + else if (!$_POST['mxbb'] && $portal_backend = 'phpbb2') // phpBB2 install + { + $portal_table['default_style'] = "'4'"; + $portal_table['default_admin_style'] = "'4'"; + } + else + { + $portal_table['default_style'] = "'6'"; + $portal_table['default_admin_style'] = "'5'"; } *************** *** 1281,1285 **** $sql = "UPDATE " . USERS_TABLE . " SET username = '" . str_replace("\'", "''", $admin_name) . "', user_password='" . str_replace("\'", "''", $admin_pass_md5) . "' ! WHERE username = 'Admin'"; parse_cmd_sql($sql); --- 1292,1296 ---- $sql = "UPDATE " . USERS_TABLE . " SET username = '" . str_replace("\'", "''", $admin_name) . "', user_password='" . str_replace("\'", "''", $admin_pass_md5) . "' ! WHERE username = 'admin'"; parse_cmd_sql($sql); |