|
From: OryNider <ory...@us...> - 2008-02-27 17:15:23
|
Update of /cvsroot/mxbb/mx_shoutbox In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14217 Modified Files: db_install.php Log Message: fix same as 2.8.1 Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_shoutbox/db_install.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** db_install.php 16 Feb 2008 21:48:32 -0000 1.3 --- db_install.php 27 Feb 2008 17:15:18 -0000 1.4 *************** *** 6,12 **** // COPYRIGHT : © 2002, 2003 apegaming.net // WWW : http://www.blame-the-french.com.com/ ! // LICENCE : GPL vs2.0 [ see /docs/COPYING ] ! // ! // ------------------------------------------------------------- if ( !defined('IN_ADMIN') ) --- 6,12 ---- // COPYRIGHT : © 2002, 2003 apegaming.net // WWW : http://www.blame-the-french.com.com/ ! // LICENCE : GPL vs2.0 [ see /docs/COPYING ] ! // ! // ------------------------------------------------------------- if ( !defined('IN_ADMIN') ) *************** *** 26,31 **** // } ! $mx_module_version = '2.3.2'; ! $mx_module_copy = 'Original MX-Publisher <i>Shoutbox</i> module by <a href="http://phpms.sourceforge.net" target="_blank">Selven</a>'; $sql=array( --- 26,31 ---- // } ! $mx_module_version = '2.3.1'; ! $mx_module_copy = 'Original mxBB <i>Shoutbox</i> module by <a href="http://phpms.sourceforge.net" target="_blank">Selven</a>'; $sql=array( *************** *** 34,49 **** module_copy = '" . $mx_module_copy . "' WHERE module_id = '" . $mx_module_id . "'", ! "DROP TABLE IF EXISTS " . $mx_table_prefix . "shoutbox", "CREATE TABLE " . $mx_table_prefix . "shoutbox ( ! id int(11) NOT NULL auto_increment, ! name_id mediumint(8) NOT NULL default '0', ! name varchar(25) NOT NULL default '', ! text text NOT NULL, ! time int(11) NOT NULL default '0', ! bbcode_uid varchar(10) default NULL, ! PRIMARY KEY (id) ! ) TYPE=MyISAM", "INSERT INTO " . $mx_table_prefix . "shoutbox (id,name_id,name,text,time,bbcode_uid) --- 34,49 ---- module_copy = '" . $mx_module_copy . "' WHERE module_id = '" . $mx_module_id . "'", ! "DROP TABLE IF EXISTS " . $mx_table_prefix . "shoutbox", "CREATE TABLE " . $mx_table_prefix . "shoutbox ( ! id int(11) NOT NULL auto_increment, ! name_id mediumint(8) NOT NULL default '0', ! name varchar(25) NOT NULL default '', ! text text NOT NULL, ! time int(11) NOT NULL default '0', ! bbcode_uid varchar(10) default NULL, ! PRIMARY KEY (id) ! ) TYPE=MyISAM", "INSERT INTO " . $mx_table_prefix . "shoutbox (id,name_id,name,text,time,bbcode_uid) *************** *** 53,60 **** "CREATE TABLE " . $mx_table_prefix . "shoutbox_config ( ! config_name varchar(255) NOT NULL default '', config_value varchar(255) NOT NULL default '', PRIMARY KEY (config_name) ! ) TYPE=MyISAM", "INSERT INTO " . $mx_table_prefix . "shoutbox_config (config_name, config_value) VALUES ('config_id', '1')", --- 53,60 ---- "CREATE TABLE " . $mx_table_prefix . "shoutbox_config ( ! config_name varchar(255) NOT NULL default '', config_value varchar(255) NOT NULL default '', PRIMARY KEY (config_name) ! ) TYPE=MyISAM", "INSERT INTO " . $mx_table_prefix . "shoutbox_config (config_name, config_value) VALUES ('config_id', '1')", *************** *** 88,91 **** $message .= '<br /><br />If everything was successful, please delete this file for security reasons!'; ! mx_message_die(GENERAL_MESSAGE, $message); ?> \ No newline at end of file --- 88,91 ---- $message .= '<br /><br />If everything was successful, please delete this file for security reasons!'; ! mx_message_die(GENERAL_MESSAGE, $message); ?> \ No newline at end of file |