From: <on...@us...> - 2002-09-19 00:02:05
|
Update of /cvsroot/xoops/xoops-current/html In directory usw-pr-cvs1:/tmp/cvs-serv22541 Modified Files: install.php Log Message: no message Index: install.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/install.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** install.php 18 Sep 2002 23:39:16 -0000 1.12 --- install.php 19 Sep 2002 00:02:00 -0000 1.13 *************** *** 432,438 **** # ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(groups)." VALUES (1,'webmaster','webmasters of this site','Admin')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(groups)." VALUES (2,'Registered Users','Registered Users Group','User')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(groups)." VALUES (3,'Anonymous Users','Anonymous Users Group','Anonymous')"); # -------------------------------------------------------- --- 432,438 ---- # ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('groups')." VALUES (1,'webmaster','webmasters of this site','Admin')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('groups')." VALUES (2,'Registered Users','Registered Users Group','User')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('groups')." VALUES (3,'Anonymous Users','Anonymous Users Group','Anonymous')"); # -------------------------------------------------------- *************** *** 441,445 **** # ! $result = $xoopsDB->queryF("CREATE TABLE `".$xoopsDB->prefix(groups_users_link)."` ( `groupid` int(5) NOT NULL default '0', `uid` int(5) NOT NULL default '0', --- 441,445 ---- # ! $result = $xoopsDB->queryF("CREATE TABLE `".$xoopsDB->prefix('groups_users_link')."` ( `groupid` int(5) NOT NULL default '0', `uid` int(5) NOT NULL default '0', *************** *** 458,463 **** # ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(groups_users_link)." VALUES (1,1)"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(groups_users_link)." VALUES (2,1)"); # -------------------------------------------------------- --- 458,463 ---- # ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('groups_users_link')." VALUES (1,1)"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('groups_users_link')." VALUES (2,1)"); # -------------------------------------------------------- *************** *** 496,500 **** # ! $result = $xoopsDB->queryF("CREATE TABLE `".$xoopsDB->prefix(banner)."` ( `bid` int(4) NOT NULL auto_increment, `cid` int(2) NOT NULL default '0', --- 496,500 ---- # ! $result = $xoopsDB->queryF("CREATE TABLE `".$xoopsDB->prefix('banner')."` ( `bid` int(4) NOT NULL auto_increment, `cid` int(2) NOT NULL default '0', *************** *** 528,532 **** # ! $result = $xoopsDB->queryF("CREATE TABLE `".$xoopsDB->prefix(bannerclient)."` ( `cid` int(2) NOT NULL auto_increment, `name` varchar(60) NOT NULL default '', --- 528,532 ---- # ! $result = $xoopsDB->queryF("CREATE TABLE `".$xoopsDB->prefix('bannerclient')."` ( `cid` int(2) NOT NULL auto_increment, `name` varchar(60) NOT NULL default '', *************** *** 558,562 **** # ! $result = $xoopsDB->queryF("CREATE TABLE `".$xoopsDB->prefix(bannerfinish)."` ( `bid` int(4) NOT NULL auto_increment, `cid` int(2) NOT NULL default '0', --- 558,562 ---- # ! $result = $xoopsDB->queryF("CREATE TABLE `".$xoopsDB->prefix('bannerfinish')."` ( `bid` int(4) NOT NULL auto_increment, `cid` int(2) NOT NULL default '0', *************** *** 587,591 **** # ! $result = $xoopsDB->queryF("CREATE TABLE `".$xoopsDB->prefix(metafooter)."` ( `meta` text NOT NULL, `footer` text NOT NULL --- 587,591 ---- # ! $result = $xoopsDB->queryF("CREATE TABLE `".$xoopsDB->prefix('metafooter')."` ( `meta` text NOT NULL, `footer` text NOT NULL *************** *** 602,606 **** # Dumping data for table 'metafooter' # ! $result = $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(metafooter)." VALUES ('', '\n<a href=\"http://www.xoops.org/\" target=\"_blank\"><img src=\"".XOOPS_URL."/images/s_poweredby.gif\" alt=\"XOOPS Official Website\" /></a>\n\n')"); --- 602,606 ---- # Dumping data for table 'metafooter' # ! $result = $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('metafooter')." VALUES ('', '\n<a href=\"http://www.xoops.org/\" target=\"_blank\"><img src=\"".XOOPS_URL."/images/s_poweredby.gif\" alt=\"XOOPS Official Website\" /></a>\n\n')"); *************** *** 689,702 **** # ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(newblocks)." VALUES (1, 1, 1, '', 'User Block', 1, '', '', 0, 0, 1, 'S', '', 1, 'system', 'system_blocks.php', 'b_system_user_show', '', '', 0, '')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(newblocks)." VALUES (2, 1, 2, '', 'Login Block', 1, '', '', 0, 0, 1, 'S', '', 1, 'system', 'system_blocks.php', 'b_system_login_show', '', '', 0, '')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(newblocks)." VALUES (3, 1, 3, '', 'Search Block', 1, '', '', 0, 0, 1, 'S', '', 1, 'system', 'system_blocks.php', 'b_system_search_show', '', '', 0, '')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(newblocks)." VALUES (4, 1, 4, '', 'Waiting Contents Block', 1, '', '', 0, 0, 1, 'S', '', 1, 'system', 'system_blocks.php', 'b_system_waiting_show', '', '', 0, '')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(newblocks)." VALUES (5, 1, 5, '', 'Main Menu Block', 0, '', '', 0, 0, 1, 'S', '', 1, 'system', 'system_blocks.php', 'b_system_main_show', '', '', 0, '')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(newblocks)." VALUES (6, 1, 6, '320|250|poweredby.gif', 'Site Info Block', 0, '', '', 0, 1, 1, 'S', 'H', 1, 'system', 'system_blocks.php', 'b_system_info_show', 'b_system_info_edit', '', 0, '')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(newblocks)." VALUES (7, 2, 1, '', 'News Topics Block', 0, '', '', 0, 0, 1, 'M', '', 1, 'news', 'news_topics.php', 'b_news_topics_show', '', '', 0, '')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(newblocks)." VALUES (8, 2, 2, '', 'Big Story Block', 0, '', '', 1, 0, 1, 'M', '', 1, 'news', 'news_bigstory.php', 'b_news_bigstory_show', '', '', 0, '')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(newblocks)." VALUES (9, 2, 3, 'counter|10', 'Top News Block', 0, '', '', 4, 0, 1, 'M', 'H', 1, 'news', 'news_top.php', 'b_news_top_show', 'b_news_top_edit', '', 0, '')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(newblocks)." VALUES (10, 2, 4, 'published|10', 'Recent News Block', 0, '', '', 3, 0, 1, 'M', 'H', 1, 'news', 'news_top.php', 'b_news_top_show', 'b_news_top_edit', '', 0, '')"); --- 689,702 ---- # ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('newblocks')." VALUES (1, 1, 1, '', 'User Block', 1, '', '', 0, 0, 1, 'S', '', 1, 'system', 'system_blocks.php', 'b_system_user_show', '', '', 0, '')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('newblocks')." VALUES (2, 1, 2, '', 'Login Block', 1, '', '', 0, 0, 1, 'S', '', 1, 'system', 'system_blocks.php', 'b_system_login_show', '', '', 0, '')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('newblocks')." VALUES (3, 1, 3, '', 'Search Block', 1, '', '', 0, 0, 1, 'S', '', 1, 'system', 'system_blocks.php', 'b_system_search_show', '', '', 0, '')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('newblocks')." VALUES (4, 1, 4, '', 'Waiting Contents Block', 1, '', '', 0, 0, 1, 'S', '', 1, 'system', 'system_blocks.php', 'b_system_waiting_show', '', '', 0, '')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('newblocks')." VALUES (5, 1, 5, '', 'Main Menu Block', 0, '', '', 0, 0, 1, 'S', '', 1, 'system', 'system_blocks.php', 'b_system_main_show', '', '', 0, '')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('newblocks')." VALUES (6, 1, 6, '320|250|poweredby.gif', 'Site Info Block', 0, '', '', 0, 1, 1, 'S', 'H', 1, 'system', 'system_blocks.php', 'b_system_info_show', 'b_system_info_edit', '', 0, '')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('newblocks')." VALUES (7, 2, 1, '', 'News Topics Block', 0, '', '', 0, 0, 1, 'M', '', 1, 'news', 'news_topics.php', 'b_news_topics_show', '', '', 0, '')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('newblocks')." VALUES (8, 2, 2, '', 'Big Story Block', 0, '', '', 1, 0, 1, 'M', '', 1, 'news', 'news_bigstory.php', 'b_news_bigstory_show', '', '', 0, '')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('newblocks')." VALUES (9, 2, 3, 'counter|10', 'Top News Block', 0, '', '', 4, 0, 1, 'M', 'H', 1, 'news', 'news_top.php', 'b_news_top_show', 'b_news_top_edit', '', 0, '')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('newblocks')." VALUES (10, 2, 4, 'published|10', 'Recent News Block', 0, '', '', 3, 0, 1, 'M', 'H', 1, 'news', 'news_top.php', 'b_news_top_show', 'b_news_top_edit', '', 0, '')"); *************** *** 764,774 **** # ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(ranks)." VALUES (2,'Just popping in',0,20,0,'')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(ranks)." VALUES (3,'Not too shy to talk',21,40,0,'star.gif')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(ranks)." VALUES (4,'Quite a regular',41,70,0,'stars2.gif')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(ranks)." VALUES (5,'Just can\'t stay away',71,150,0,'stars3.gif')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(ranks)." VALUES (6,'Home away from home',151,10000,0,'stars4.gif')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(ranks)." VALUES (7,'Webmaster',-1,-1,1,'redstars5.gif')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(ranks)." VALUES (8,'Moderator',-1,-1,1,'stars5.gif')"); # -------------------------------------------------------- --- 764,774 ---- # ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('ranks')." VALUES (2,'Just popping in',0,20,0,'')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('ranks')." VALUES (3,'Not too shy to talk',21,40,0,'star.gif')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('ranks')." VALUES (4,'Quite a regular',41,70,0,'stars2.gif')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('ranks')." VALUES (5,'Just can\'t stay away',71,150,0,'stars3.gif')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('ranks')." VALUES (6,'Home away from home',151,10000,0,'stars4.gif')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('ranks')." VALUES (7,'Webmaster',-1,-1,1,'redstars5.gif')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('ranks')." VALUES (8,'Moderator',-1,-1,1,'stars5.gif')"); # -------------------------------------------------------- *************** *** 827,847 **** ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(smiles)." VALUES (1,':-D','icon_biggrin.gif','Very Happy')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(smiles)." VALUES (2,':-)','icon_smile.gif','Smile')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(smiles)." VALUES (3,':-(','icon_frown.gif','Sad')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(smiles)." VALUES (4,':-o','icon_eek.gif','Surprised')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(smiles)." VALUES (5,':-?','icon_confused.gif','Confused')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(smiles)." VALUES (6,'8-)','icon_cool.gif','Cool')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(smiles)." VALUES (7,':lol:','icon_lol.gif','Laughing')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(smiles)." VALUES (8,':-x','icon_mad.gif','Mad')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(smiles)." VALUES (9,':-P','icon_razz.gif','Razz')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(smiles)." VALUES (10,':oops:','icon_redface.gif','Embaressed')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(smiles)." VALUES (11,':cry:','icon_cry.gif','Crying (very sad)')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(smiles)." VALUES (12,':evil:','icon_evil.gif','Evil or Very Mad')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(smiles)." VALUES (13,':roll:','icon_rolleyes.gif','Rolling Eyes')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(smiles)." VALUES (14,';-)','icon_wink.gif','Wink')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(smiles)." VALUES (15,':pint:','icon_drink.gif','Another pint of beer')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(smiles)." VALUES (16,':hammer:','icon_hammer.gif','ToolTimes at work')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(smiles)." VALUES (17,':idea:','icon_idea.gif','I have an idea')"); # -------------------------------------------------------- --- 827,847 ---- ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('smiles')." VALUES (1,':-D','icon_biggrin.gif','Very Happy')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('smiles')." VALUES (2,':-)','icon_smile.gif','Smile')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('smiles')." VALUES (3,':-(','icon_frown.gif','Sad')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('smiles')." VALUES (4,':-o','icon_eek.gif','Surprised')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('smiles')." VALUES (5,':-?','icon_confused.gif','Confused')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('smiles')." VALUES (6,'8-)','icon_cool.gif','Cool')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('smiles')." VALUES (7,':lol:','icon_lol.gif','Laughing')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('smiles')." VALUES (8,':-x','icon_mad.gif','Mad')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('smiles')." VALUES (9,':-P','icon_razz.gif','Razz')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('smiles')." VALUES (10,':oops:','icon_redface.gif','Embaressed')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('smiles')." VALUES (11,':cry:','icon_cry.gif','Crying (very sad)')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('smiles')." VALUES (12,':evil:','icon_evil.gif','Evil or Very Mad')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('smiles')." VALUES (13,':roll:','icon_rolleyes.gif','Rolling Eyes')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('smiles')." VALUES (14,';-)','icon_wink.gif','Wink')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('smiles')." VALUES (15,':pint:','icon_drink.gif','Another pint of beer')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('smiles')." VALUES (16,':hammer:','icon_hammer.gif','ToolTimes at work')"); ! $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('smiles')." VALUES (17,':idea:','icon_idea.gif','I have an idea')"); # -------------------------------------------------------- *************** *** 902,906 **** $regdate = time(); $dbadminname= $myts->makeTboxData4Save($adminname); ! $result = $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix(users)." VALUES (1,'','".$dbadminname."','".$adminmail."','".XOOPS_URL."/','001.gif','".$regdate."','','','',1,NULL,'','','','".$temp."',0,0,7,5,'phpkaox','0.0',".time().",'flat',0,'','','',0)"); # --- 902,906 ---- $regdate = time(); $dbadminname= $myts->makeTboxData4Save($adminname); ! $result = $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('users')." VALUES (1,'','".$dbadminname."','".$adminmail."','".XOOPS_URL."/','001.gif','".$regdate."','','','',1,NULL,'','','','".$temp."',0,0,7,5,'phpkaox','0.0',".time().",'flat',0,'','','',0)"); # *************** *** 1019,1023 **** die ("<b>".sprintf(_INSTALL_L44, $xoopsDB->prefix("stories"))."</b>"); }else{ ! array_push($madetables, $xoopsDB->prefix(stories)); } # --- 1019,1023 ---- die ("<b>".sprintf(_INSTALL_L44, $xoopsDB->prefix("stories"))."</b>"); }else{ ! array_push($madetables, $xoopsDB->prefix('stories')); } # |