|
From: OryNider <ory...@us...> - 2008-01-31 08:51:39
|
Update of /cvsroot/mxbb/mx_act In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8846 Modified Files: Tag: core28x db_install.php db_upgrade.php newscore.php Log Message: my_act/root/newscore.php should be copyed @ the mxBB root and the score will be saved ... Index: newscore.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/newscore.php,v retrieving revision 1.10 retrieving revision 1.10.2.1 diff -C2 -d -r1.10 -r1.10.2.1 *** newscore.php 2 May 2006 23:25:45 -0000 1.10 --- newscore.php 31 Jan 2008 08:50:36 -0000 1.10.2.1 *************** *** 13,16 **** --- 13,17 ---- define( 'IN_PORTAL', true ); $mx_root_path = '../../'; + $module_root_path = $mx_root_path . 'modules/mx_act/'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include_once( $mx_root_path . 'common.' . $phpEx ); *************** *** 47,50 **** --- 48,63 ---- } + // ********************************************************************** + // Read language definition + // ********************************************************************** + if ( file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ) ) + { + include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ); + } + else if ( file_exists( $module_root_path . 'language/lang_english/lang_main.' . $phpEx ) ) + { + include( $module_root_path . 'language/lang_english/lang_main.' . $phpEx ); + } + // Need to find Page id if ( empty( $page_id ) ) Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/db_install.php,v retrieving revision 1.14 retrieving revision 1.14.2.1 diff -C2 -d -r1.14 -r1.14.2.1 *** db_install.php 30 Jan 2007 16:26:08 -0000 1.14 --- db_install.php 31 Jan 2008 08:50:33 -0000 1.14.2.1 *************** *** 211,214 **** --- 211,215 ---- "INSERT INTO " . iNA_CONFIG . " VALUES ('ina_show_view_profile', '1');", "INSERT INTO " . iNA_CONFIG . " VALUES ('ina_show_view_topic', '1');", + "INSERT INTO " . iNA_CONFIG . " VALUES ('ina_page', 0);", "ALTER TABLE " . iNA_GAMES . " ADD disabled INT( 1 ) DEFAULT '1' NOT NULL;", Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/db_upgrade.php,v retrieving revision 1.15 retrieving revision 1.15.2.1 diff -C2 -d -r1.15 -r1.15.2.1 *** db_upgrade.php 22 Jul 2007 21:02:16 -0000 1.15 --- db_upgrade.php 31 Jan 2008 08:50:35 -0000 1.15.2.1 *************** *** 108,111 **** --- 108,112 ---- "INSERT INTO " . iNA_CONFIG . " VALUES ('ina_show_view_profile', '1');", "INSERT INTO " . iNA_CONFIG . " VALUES ('ina_show_view_topic', '1');", + "INSERT INTO " . iNA_CONFIG . " VALUES ('ina_page', 0);", "ALTER TABLE " . iNA_GAMES . " ADD disabled INT( 1 ) DEFAULT '1' NOT NULL;", |