From c8f1d524c7fbf3f8a27ceb461b6dc4640378d3cd Mon Sep 17 00:00:00 2001 From: xushubieli Date: Thu, 12 May 2022 14:35:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/templets/cards_type.htm | 47 ++++++----------------- src/admin/templets/content_att.htm | 22 +++++------ src/admin/templets/freelist_add.htm | 4 +- src/admin/templets/freelist_edit.htm | 4 +- src/admin/templets/sys_admin_user_add.htm | 4 +- src/admin/templets/sys_group_add.htm | 4 +- src/admin/templets/sys_sql_query.htm | 18 +++------ src/admin/templets/tags_main.htm | 2 +- src/admin/templets/templets_one_edit.htm | 10 ++--- src/admin/templets/tpl_newfile.htm | 3 +- src/install/config.cache.inc.php | 6 +-- src/install/sql-dfdata.txt | 47 +++++++++++------------ src/install/templates/step-1.html | 3 +- src/install/v57sp2_to_v6.txt | 14 +++---- 14 files changed, 72 insertions(+), 116 deletions(-) diff --git a/src/admin/templets/cards_type.htm b/src/admin/templets/cards_type.htm index 0f44f8e5..85c1fd8b 100644 --- a/src/admin/templets/cards_type.htm +++ b/src/admin/templets/cards_type.htm @@ -31,49 +31,26 @@ ?> - - - - - - - - - (元) - - - - 保留 - + + + (元) + 保留 + } + ?> - - 新增一个点卡产品类型: + 新增一个点卡产品类型: - - - - - - - - - (元) - - - - 新增 + + + (元) + 新增 - - - + diff --git a/src/admin/templets/content_att.htm b/src/admin/templets/content_att.htm index bcc3d485..a7b6b8d7 100644 --- a/src/admin/templets/content_att.htm +++ b/src/admin/templets/content_att.htm @@ -29,13 +29,13 @@ 属性名称 SetQuery(" Select * From `#@__arcatt` order by sortid asc "); - $dsql->Execute(); - $k=0; - while($row = $dsql->GetObject()) - { - $k++; - ?> + $dsql->SetQuery(" Select * From `#@__arcatt` order by sortid asc "); + $dsql->Execute(); + $k=0; + while($row = $dsql->GetObject()) + { + $k++; + ?> att; ?> @@ -43,13 +43,11 @@ + } + ?> - - - + diff --git a/src/admin/templets/freelist_add.htm b/src/admin/templets/freelist_add.htm index b064f2f7..494d7ed4 100644 --- a/src/admin/templets/freelist_add.htm +++ b/src/admin/templets/freelist_add.htm @@ -258,9 +258,7 @@ - - - + diff --git a/src/admin/templets/freelist_edit.htm b/src/admin/templets/freelist_edit.htm index 5c372566..0903d27b 100644 --- a/src/admin/templets/freelist_edit.htm +++ b/src/admin/templets/freelist_edit.htm @@ -250,9 +250,7 @@ - - - + diff --git a/src/admin/templets/sys_admin_user_add.htm b/src/admin/templets/sys_admin_user_add.htm index 4d5f0574..5cc876ec 100644 --- a/src/admin/templets/sys_admin_user_add.htm +++ b/src/admin/templets/sys_admin_user_add.htm @@ -103,9 +103,7 @@ - - - + diff --git a/src/admin/templets/sys_group_add.htm b/src/admin/templets/sys_group_add.htm index 91f9283d..19d41f40 100644 --- a/src/admin/templets/sys_group_add.htm +++ b/src/admin/templets/sys_group_add.htm @@ -78,9 +78,7 @@ - - - + diff --git a/src/admin/templets/sys_sql_query.htm b/src/admin/templets/sys_sql_query.htm index 6a64dc55..8e48e60c 100644 --- a/src/admin/templets/sys_sql_query.htm +++ b/src/admin/templets/sys_sql_query.htm @@ -38,7 +38,7 @@ @@ -94,13 +91,10 @@ - + - +
-
- -
- -
+
+
- -
+
- -
-
diff --git a/src/admin/templets/tags_main.htm b/src/admin/templets/tags_main.htm index ad09f6a4..04652b57 100644 --- a/src/admin/templets/tags_main.htm +++ b/src/admin/templets/tags_main.htm @@ -108,7 +108,7 @@
- 生成标签 + 生成
diff --git a/src/admin/templets/templets_one_edit.htm b/src/admin/templets/templets_one_edit.htm index b67625ea..70b120f4 100644 --- a/src/admin/templets/templets_one_edit.htm +++ b/src/admin/templets/templets_one_edit.htm @@ -30,12 +30,12 @@ function checkSubmit() - + - - -
单独页面管理 > 修改自定义页面
- + + +
+ diff --git a/src/admin/templets/tpl_newfile.htm b/src/admin/templets/tpl_newfile.htm index 3a6976bf..25bfab34 100644 --- a/src/admin/templets/tpl_newfile.htm +++ b/src/admin/templets/tpl_newfile.htm @@ -40,8 +40,7 @@ diff --git a/src/install/config.cache.inc.php b/src/install/config.cache.inc.php index 3c605824..aba9b826 100755 --- a/src/install/config.cache.inc.php +++ b/src/install/config.cache.inc.php @@ -4,7 +4,7 @@ $cfg_cmspath = '~basepath~'; $cfg_cookie_encode = '~cookieEncode~'; $cfg_indexurl = '~indexurl~'; $cfg_backup_dir = 'backupdata'; -$cfg_indexname = '首页'; +$cfg_indexname = '网站主页'; $cfg_webname = '~webname~'; $cfg_adminemail = '~adminmail~'; $cfg_html_editor = 'ckeditor'; @@ -26,7 +26,7 @@ $cfg_fck_xhtml = 'N'; $cfg_df_style = 'templets'; $cfg_multi_site = 'N'; $cfg_dede_log = 'N'; -$cfg_powerby = 'Copyright © 2022 DedeBIZ 版权所有'; +$cfg_powerby = 'Copyright © 2022 DedeBIZ 版权所有'; $cfg_arcsptitle = 'N'; $cfg_arcautosp = 'N'; $cfg_arcautosp_size = 5; @@ -114,7 +114,7 @@ $cfg_jump_once = 'Y'; $cfg_task_pwd = ''; $cfg_addon_domainbind = 'N'; $cfg_addon_domain = ''; -$cfg_df_dutyadmin = '网站管理员'; +$cfg_df_dutyadmin = '管理员'; $cfg_mb_allowncarc = 'Y'; $cfg_mb_allowreg = 'Y'; $cfg_mb_adminlock = 'N'; diff --git a/src/install/sql-dfdata.txt b/src/install/sql-dfdata.txt index beeed4e6..8ee46d95 100755 --- a/src/install/sql-dfdata.txt +++ b/src/install/sql-dfdata.txt @@ -2,14 +2,14 @@ INSERT INTO `#@__admintype` VALUES('1','信息发布员','1','t_AccList a_AccNew ('5','频道管理员','1','t_AccList t_AccNew t_AccEdit t_AccDel a_AccNew a_AccList a_AccEdit a_AccDel a_AccCheck a_MyList a_MyEdit a_MyDel a_MyCheck spec_New spec_List spec_Edit sys_MdPwd sys_Log sys_ArcTj sys_Source sys_Writer sys_Keyword sys_MakeHtml sys_Feedback sys_Upload sys_MyUpload member_List member_Edit plus_站内新闻发布 plus_友情链接模块 plus_留言簿模块 plus_投票模块 plus_广告管理 '), ('10','超级管理员','1','admin_AllowAll '); -INSERT INTO `#@__arcatt` VALUES('5','s','滚动'), -('1','h','头条'), -('3','f','幻灯'), +INSERT INTO `#@__arcatt` VALUES('1','h','头条'), ('2','c','推荐'), -('7','p','图片'), -('8','j','跳转'), +('3','f','幻灯'), ('4','a','特荐'), -('6','b','加粗'); +('5','s','滚动'), +('6','b','加粗'), +('7','p','图片'), +('8','j','跳转'); INSERT INTO `#@__arcrank` VALUES('1','0','开放浏览','5','0','0',''), ('2','-1','待审核稿件','0','0','0',''), @@ -502,21 +502,21 @@ INSERT INTO `#@__area` VALUES('1','北京市','0','0'), ('33','澳门区','0','0'), ('35','台湾省','0','0'); -INSERT INTO `#@__channeltype` VALUES('1','article','普通文章','#@__archives','#@__addonarticle','article_add.php','content_list.php','article_edit.php','article_add.php','content_list.php','article_edit.php','\t\n\t\n','','','1','1','1','-1','','10','0','1','1','标题','0','0'), -('2','image','图片集','#@__archives','#@__addonimages','album_add.php','content_i_list.php','album_edit.php','album_add.php','content_list.php','album_edit.php','\t\n\t\n','','','1','1','1','-1','','10','0','1','1','标题','0','0'), +INSERT INTO `#@__channeltype` VALUES('1','article','普通文章','#@__archives','#@__addonarticle','article_add.php','content_list.php','article_edit.php','article_add.php','content_list.php','article_edit.php','\t\n\t\n','','','1','1','1','-1','','10','0','1','1','标题','0','0'), +('2','image','图片集','#@__archives','#@__addonimages','album_add.php','content_i_list.php','album_edit.php','album_add.php','content_list.php','album_edit.php','\t\n\t\n','','','1','1','1','-1','','10','0','1','1','标题','0','0'), ('3','soft','软件','#@__archives','#@__addonsoft','soft_add.php','content_i_list.php','soft_edit.php','','','','\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n','filetype,language,softtype,os,accredit,softrank','','1','1','1','-1','','10','0','1','1','标题','0','0'), -('-1','spec','专题','#@__archives','#@__addonspec','spec_add.php','content_s_list.php','spec_edit.php','','','','','','','1','1','0','-1','','10','0','1','1','标题','0','0'), ('6','shop','商品','#@__archives','#@__addonshop','archives_add.php','content_list.php','archives_edit.php','archives_add.php','content_list.php','archives_edit.php','\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\n\t\n\n\t\n\t\n\n\t\n\t\n\n\t\n\t\n','price,trueprice,brand,units','','0','1','1','-1','','10','0','1','1','商品名称','0','0'), -('-8','infos','分类信息','#@__archives','#@__addoninfos','archives_sg_add.php','content_sg_list.php','archives_sg_edit.php','archives_sg_add.php','content_sg_list.php','archives_sg_edit.php','\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n','channel,arcrank,mid,click,title,senddate,flag,litpic,lastpost,scores,goodpost,badpost,nativeplace,infotype,endtime','','-1','1','1','-1','','0','0','0','1','信息标题','0','0'); +('-1','spec','专题','#@__archives','#@__addonspec','spec_add.php','content_s_list.php','spec_edit.php','','','','','','','1','1','0','-1','','10','0','1','1','标题','0','0'), +('-8','infos','分类信息','#@__archives','#@__addoninfos','archives_sg_add.php','content_sg_list.php','archives_sg_edit.php','archives_sg_add.php','content_sg_list.php','archives_sg_edit.php','\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n','channel,arcrank,mid,click,title,senddate,flag,litpic,lastpost,scores,goodpost,badpost,nativeplace,infotype,endtime','','-1','1','1','-1','','0','0','0','1','信息标题','0','0'); INSERT INTO `#@__co_onepage` VALUES('5','www.dedebiz.com','DedeBIZ','1','gb2312','
{@body}
'), ('4','www.techweb.com.cn','Techweb','1','gb2312','
{@body}
\t\n'), ('6','tw.news.yahoo.com','台湾雅虎','1','big5','
{@body}
\t\n'); -INSERT INTO `#@__flink` (`sortrank`, `url`, `webname`, `msg`, `email`, `logo`, `dtime`, `typeid`, `ischeck`) VALUES (1, 'https://www.dedebiz.com', 'DedeBIZ', '', '', '', 1226375403, 1, 2); -INSERT INTO `#@__flink` (`sortrank`, `url`, `webname`, `msg`, `email`, `logo`, `dtime`, `typeid`, `ischeck`) VALUES (1, 'https://www.dedebiz.com/help', '帮助中心', '', '', '', 1227772717, 1, 2); -INSERT INTO `#@__flink` (`sortrank`, `url`, `webname`, `msg`, `email`, `logo`, `dtime`, `typeid`, `ischeck`) VALUES (1, 'https://www.dedebiz.com/auth', '授权中心', '', '', '', 1227772703, 1, 2); -INSERT INTO `#@__flink` (`sortrank`, `url`, `webname`, `msg`, `email`, `logo`, `dtime`, `typeid`, `ischeck`) VALUES (3, 'https://www.dedebiz.com/git', '代码托管', '', '', '', 1603767210, 1, 1); +INSERT INTO `#@__flink` (`sortrank`, `url`, `webname`, `msg`, `email`, `logo`, `dtime`, `typeid`, `ischeck`) VALUES(1, 'https://www.dedebiz.com', 'DedeBIZ', '', '', '', 1226375403, 1, 2); +INSERT INTO `#@__flink` (`sortrank`, `url`, `webname`, `msg`, `email`, `logo`, `dtime`, `typeid`, `ischeck`) VALUES(1, 'https://www.dedebiz.com/help', '帮助中心', '', '', '', 1227772717, 1, 2); +INSERT INTO `#@__flink` (`sortrank`, `url`, `webname`, `msg`, `email`, `logo`, `dtime`, `typeid`, `ischeck`) VALUES(1, 'https://www.dedebiz.com/auth', '授权中心', '', '', '', 1227772703, 1, 2); +INSERT INTO `#@__flink` (`sortrank`, `url`, `webname`, `msg`, `email`, `logo`, `dtime`, `typeid`, `ischeck`) VALUES(3, 'https://www.dedebiz.com/git', '代码托管', '', '', '', 1603767210, 1, 1); INSERT INTO `#@__flinktype` VALUES('1','综合网站'), ('2','娱乐类'), @@ -528,7 +528,7 @@ INSERT INTO `#@__flinktype` VALUES('1','综合网站'), ('8','其它类型'); INSERT INTO `#@__freelist` VALUES('1','测试内容','{listdir}/index_{listid}_{page}.html','{cmspath}/freelist/','index.html','1','{style}/list_free.htm','1289712633','100','0','{dede:list pagesize="30" col="1" titlelen="60" orderby="pubdate" orderway="desc" typeid="1" channel="1" }
  • [field:imglink/] [field:textlink/] 日期:[field:pubdate function="getdatemk(@me)"/] 点击:[field:click/] 好评:[field:scores/] \t\n

    [field:description/]

  • {/dede:list}','测试','测试内容'), -('10','Google SiteMap 生成器','{listdir}googlemap_{page}.xml','{cmspath}','index.html','1','{style}/googlemap.htm','1226884666','100','0','{dede:list pagesize="500" col="1" titlelen="60" orderby="pubdate" orderway="desc"\t\nchannel="1" keyword="" }\t\n[field:arcurl function="Gmapurl(@me)"/]\t\n[field:title function="HtmlReplace(@me)"/]\t\n\t\n [field:keywords/]\t\n[field:senddate function="strftime('%Y-%m-%d',@me)"/]\t\n\t\n{/dede:list}','',''); +('10','Google SiteMap 生成器','{listdir}googlemap_{page}.xml','{cmspath}','index.html','1','{style}/googlemap.htm','1226884666','100','0','{dede:list pagesize="500" col="1" titlelen="60" orderby="pubdate" orderway="desc"\t\nchannel="1" keyword=""}\t\n[field:arcurl function="Gmapurl(@me)"/]\t\n[field:title function="HtmlReplace(@me)"/]\t\n\t\n[field:keywords/]\t\n[field:senddate function="strftime('%Y-%m-%d',@me)"/]\t\n\t\n{/dede:list}','',''); INSERT INTO `#@__member_type` VALUES('1','50','中级会员半年','100','7'); @@ -3941,13 +3941,12 @@ INSERT INTO `#@__sys_enum` VALUES('139','cms制作','503','vocation','503','0'), ('16795','东城区','1001','nativeplace','1001','1'), ('16794','北京市','1000','nativeplace','1000','0'); -INSERT INTO `#@__sysconfig` VALUES -('1','cfg_basehost','站点网址','1','string',''), +INSERT INTO `#@__sysconfig` VALUES('1','cfg_basehost','站点网址','1','string',''), ('2','cfg_cmspath','安装目录','2','string',''), ('3','cfg_cookie_encode','Cookies加密码','2','string',''), -('4','cfg_indexurl','首页链接','1','string','/'), +('4','cfg_indexurl','主页链接','1','string','/'), ('5','cfg_backup_dir','数据备份目录,存data文件夹里','2','string','backupdata'), -('6','cfg_indexname','首页链接名','1','string','首页'), +('6','cfg_indexname','主页链接名','1','string','网站主页'), ('7','cfg_webname','网站名称','1','string','某某公司'), ('8','cfg_adminemail','网站发信邮箱','2','string','support@dedebiz.com'), ('9','cfg_html_editor','富文本,默认CKEditor可自行更换其它富文本','2','string','ckeditor'), @@ -3969,7 +3968,7 @@ INSERT INTO `#@__sysconfig` VALUES ('25','cfg_multi_site','是否支持多站点,开启此项后附件栏目连接arclist内容启用绝对网址','2','bool','N'), ('26','cfg_rm_remote','远程图片本地化','7','bool','Y'), ('27','cfg_dede_log','是否开启管理日志','2','bool','N'), -('28','cfg_powerby','网站版权信息','1','bstring','Copyright © 2022 DedeBIZ 版权所有'), +('28','cfg_powerby','网站版权信息','1','bstring','Copyright © 2022 DedeBIZ 版权所有'), ('29','cfg_jump_once','跳转网址是否直接跳转否则显示中转页','7','bool','Y'), ('30','cfg_task_pwd','系统计划任务客户端许可密码,需要客户端,通常不会太重要','7','string',''), ('31','cfg_arcsptitle','是否开启分页标题,开启影响文档生成速度','6','bool','N'), @@ -3992,7 +3991,7 @@ INSERT INTO `#@__sysconfig` VALUES ('48','cfg_cli_time','服务器时区设置','2','number','8'), ('49','cfg_mb_addontype','会员附件许可的类型','4','bstring','swf|rm|rmvb|mpg|mp3|mp4|wmv|wma|wav|mid|mov|zip|rar|doc|xsl|ppt|wps'), ('50','cfg_mb_max','会员附件总大小限制:MB','4','number','500'), -('51','cfg_replacestr','替换词语,词语会被替换成**用“|”分开,但不要在结尾加“|”','5','bstring','他妈的|傻逼'), +('51','cfg_replacestr','替换词语,词语会被替换成*用“|”分开,但不要在结尾加“|”','5','bstring','他妈的|傻逼'), ('52','cfg_makeindex','发布文章后马上更新网站主页','6','bool','N'), ('53','cfg_keyword_like','使用关键词关连文章','6','bool','Y'), ('54','cfg_index_max','首页调用函数最大索引文档数,不适用于经常单栏目采集过多内容网站,不启用本项此值设置为0即可','6','number','10000'), @@ -4057,7 +4056,7 @@ INSERT INTO `#@__sysconfig` VALUES ('113','cfg_feedback_forbid','是否禁止所有评论,包括禁止顶踩等','5','bool','N'), ('114','cfg_addon_domainbind','是否绑定附件目录为指定的二级域名','7','bool','N'), ('115','cfg_addon_domain','附件目录的二级域名','7','string',''), -('116','cfg_df_dutyadmin','默认责任编辑名称','7','string','网站管理员'), +('116','cfg_df_dutyadmin','默认责任编辑名称','7','string','管理员'), ('118','cfg_mb_allowncarc','是否允许用户空间显示未审核文章','4','bool','Y'), ('119','cfg_mb_spaceallarc','会员空间中所有文档的频道ID(不限为0)','4','number','0'), ('120','cfg_face_adds','上传头像增加积分','5','number','10'), @@ -4092,13 +4091,13 @@ INSERT INTO `#@__sysconfig` VALUES ('149', 'cfg_bizcore_key', 'DedeBIZ Core通信密钥', 1, 'string', ''), ('150', 'cfg_tags_dir', 'TAGS生成目录', 7, 'string', '{cmspath}/a/tags'); -INSERT INTO `#@__sys_module` VALUES (1, '1f35620fb42d452fa2bdc1dee1690f92', '文件管理器', '', '', 0, ''), +INSERT INTO `#@__sys_module` VALUES(1, '1f35620fb42d452fa2bdc1dee1690f92', '文件管理器', '', '', 0, ''), (2, 'b437d85a7a7bc778c9c79b5ec36ab9aa', '友情链接', '', '', 0, ''), (3, '72ffa6fabe3c236f9238a2b281bc0f93', '广告管理', '', '', 0, ''), (4, 'acb8b88eb4a6d4bfc375c18534f9439e', '投票模块', '', '', 0, ''), (5, '572606600345b1a4bb8c810bbae434cc', '挑错管理', '', '', 0, ''); -INSERT INTO `#@__plus` VALUES (1, '文件管理器', '', '', 'DedeBIZ', 1, ''), +INSERT INTO `#@__plus` VALUES(1, '文件管理器', '', '', 'DedeBIZ', 1, ''), (2, '友情链接模块', '', '', 'DedeBIZ', 1, ''), (3, '广告管理', '', '', 'DedeBIZ', 1, ''), (4, '投票模块', '', '', 'DedeBIZ', 1, ''), diff --git a/src/install/templates/step-1.html b/src/install/templates/step-1.html index 45f9f982..f28df5c8 100755 --- a/src/install/templates/step-1.html +++ b/src/install/templates/step-1.html @@ -15,7 +15,6 @@
    程序安装
    @@ -59,7 +58,7 @@
    - +
    diff --git a/src/install/v57sp2_to_v6.txt b/src/install/v57sp2_to_v6.txt index 9f3a957f..0615a8db 100644 --- a/src/install/v57sp2_to_v6.txt +++ b/src/install/v57sp2_to_v6.txt @@ -11,11 +11,10 @@ ALTER TABLE `#@__admin` ADD COLUMN `pwd_new` varchar(120) NOT NULL DEFAULT '' AF ALTER TABLE `#@__member` ADD COLUMN `pwd_new` varchar(120) NOT NULL DEFAULT '' AFTER `pwd`; -- 6.1.8 -INSERT INTO `#@__sysconfig` VALUES ('710', 'cfg_tags_dir', 'TAGS生成目录', 7, 'string', '{cmspath}/a/tags'); +INSERT INTO `#@__sysconfig` VALUES ('151', 'cfg_tags_dir', 'TAGS生成目录', 7, 'string', '{cmspath}/a/tags'); ALTER TABLE `#@__tagindex` DROP COLUMN `tag_pinyin`; -- 6.1.7 -DROP TABLE IF EXISTS `#@__statistics`; CREATE TABLE `#@__statistics` ( `id` int NOT NULL AUTO_INCREMENT, `sdate` int DEFAULT NULL COMMENT '记录日期', @@ -24,8 +23,7 @@ CREATE TABLE `#@__statistics` ( `ip` int DEFAULT NULL COMMENT 'IP', `vv` int DEFAULT NULL COMMENT 'vv', PRIMARY KEY (`id`) -) TYPE=MyISAM; -DROP TABLE IF EXISTS `#@__statistics_detail`; +) ENGINE=MyISAM; CREATE TABLE `#@__statistics_detail` ( `id` int NOT NULL AUTO_INCREMENT, `t` int DEFAULT NULL COMMENT 'unixtime', @@ -46,7 +44,7 @@ CREATE TABLE `#@__statistics_detail` ( KEY `idx_created_date_dduuid` (`created_date`,`dduuid`), KEY `idx_created_date_ip` (`created_date`,`ip`), KEY `idx_created_date_ssid` (`created_date`,`ssid`) -) TYPE=MyISAM; +) ENGINE=MyISAM; ALTER TABLE `#@__addonarticle` MODIFY COLUMN `userip` char(46) NOT NULL DEFAULT '' AFTER `templet`; ALTER TABLE `#@__addonimages` MODIFY COLUMN `userip` char(46) NOT NULL DEFAULT '' AFTER `templet`; ALTER TABLE `#@__addoninfos` MODIFY COLUMN `userip` varchar(46) NOT NULL DEFAULT '' AFTER `litpic`; @@ -79,7 +77,7 @@ ALTER TABLE `#@__feedback` ALTER TABLE `#@__feedback` ADD COLUMN `replycount` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `dtime`; INSERT INTO `#@__sysconfig` (`varname`, `info`, `groupid`, `type`, `value`) VALUES ( 'cfg_feedback_msglen', '评论内容字数限定', 5, 'number', '200'); -INSERT INTO `#@__sysconfig` (`varname`, `info`, `groupid`, `type`, `value`) VALUES ( 'cfg_auth_code', '商业版授权码)', 1, 'bstring', ''); +INSERT INTO `#@__sysconfig` (`varname`, `info`, `groupid`, `type`, `value`) VALUES ( 'cfg_auth_code', '商业版授权码', 1, 'string', ''); INSERT INTO `#@__sysconfig` (`varname`, `info`, `groupid`, `type`, `value`) VALUES ( 'cfg_bizcore_hostname', 'DedeBIZ Core地址', 1, 'string', '127.0.0.1'); INSERT INTO `#@__sysconfig` (`varname`, `info`, `groupid`, `type`, `value`) VALUES ( 'cfg_bizcore_port', 'DedeBIZ Core端口', 1, 'number', '8181'); INSERT INTO `#@__sysconfig` (`varname`, `info`, `groupid`, `type`, `value`) VALUES ( 'cfg_bizcore_appid', 'DedeBIZ Core应用ID', 1, 'string', ''); @@ -90,12 +88,12 @@ CREATE TABLE `#@__feedback_goodbad` ( `fid` INT(11) NOT NULL DEFAULT '0', `fgtype` TINYINT(4) NOT NULL DEFAULT '0' COMMENT '0:good 1:bad', PRIMARY KEY (`fgid`) -) TYPE=MyISAM; +) ENGINE=MyISAM; CREATE TABLE `#@__search_limits` ( `ip` VARCHAR(200) NOT NULL, `searchtime` INT(11) NULL DEFAULT NULL, PRIMARY KEY (`ip`) -) TYPE=MyISAM; +) ENGINE=MyISAM; -- 6.0.2 ALTER TABLE `#@__tagindex` ADD COLUMN `keywords` VARCHAR(255) NULL DEFAULT NULL AFTER `tag`;
    - - +