From e7a42bd7536fd17cc1c09526ee95d4a99ad1a091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?= <93301500+xushubieli@users.noreply.github.com> Date: Thu, 10 Nov 2022 18:43:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/content_batchup_action.php | 2 +- src/admin/feedback_edit.php | 2 +- src/admin/inc/inc_archives_functions.php | 6 +++--- src/admin/templets/mychannel_add.htm | 2 +- src/apps/view.php | 2 +- src/install/index.php | 2 +- src/install/sql-dfdata.txt | 4 ++-- src/system/dedecollection.func.php | 2 +- src/system/taglib/arccontent.lib.php | 4 ++-- src/theme/templet-filelist.inc | 6 +++--- src/user/inc/inc_archives_functions.php | 2 +- 11 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/admin/content_batchup_action.php b/src/admin/content_batchup_action.php index 8a55e765..f4b5c0ae 100644 --- a/src/admin/content_batchup_action.php +++ b/src/admin/content_batchup_action.php @@ -95,7 +95,7 @@ else if ($action == 'delnulltitle') { ShowMsg("成功删除 $tdd 条记录", "javascript:;"); exit(); } -//删除空文档文档 +//删除空文档 else if ($action == 'delnullbody') { $dsql->SetQuery("SELECT aid FROM `#@__addonarticle` WHERE LENGTH(body) < 10 "); $dsql->Execute('x'); diff --git a/src/admin/feedback_edit.php b/src/admin/feedback_edit.php index 2a0316c2..980c51d1 100644 --- a/src/admin/feedback_edit.php +++ b/src/admin/feedback_edit.php @@ -33,7 +33,7 @@ if ($dopost == 'edit') { $query = "SELECT * FROM `#@__feedback` WHERE id=$id"; $row = $dsql->GetOne($query); MakeArt($row['aid']); - ShowMsg("成功更新评论所在的文档文档", $ENV_GOBACK_URL); + ShowMsg("成功更新评论所在的文档", $ENV_GOBACK_URL); exit(); } $query = "SELECT * FROM `#@__feedback` WHERE id=$id"; diff --git a/src/admin/inc/inc_archives_functions.php b/src/admin/inc/inc_archives_functions.php index b7086990..ade79ceb 100644 --- a/src/admin/inc/inc_archives_functions.php +++ b/src/admin/inc/inc_archives_functions.php @@ -20,7 +20,7 @@ if (!isset($_NOT_ARCHIVES)) { * 获得HTML里的外部资源,针对图片 * * @access public - * @param string $body 文档文档 + * @param string $body 文档 * @param string $rfurl 来源地址 * @param string $firstdd 开始标记 * @return string @@ -90,7 +90,7 @@ function GetCurContentAlbum($body, $rfurl, &$firstdd) * 获得文档body里的外部资源 * * @access public - * @param string $body 文档文档 + * @param string $body 文档 * @return string */ function GetCurContent($body) @@ -322,7 +322,7 @@ function MakeArt($aid, $mkindex = FALSE, $ismakesign = FALSE, $isremote = 0) * 取第一个图片为缩略图 * * @access public - * @param string $body 文档文档 + * @param string $body 文档 * @return string */ function GetDDImgFromBody(&$body) diff --git a/src/admin/templets/mychannel_add.htm b/src/admin/templets/mychannel_add.htm index 9b715120..5a2ab9fe 100644 --- a/src/admin/templets/mychannel_add.htm +++ b/src/admin/templets/mychannel_add.htm @@ -62,7 +62,7 @@ - 模型性质:如果为系统模型将禁止删除,此选项不可修改,对于独立模型,系统强制创建字段aid,typeid,senddate,title,mid,channel,独立模型的文档文档必须点击栏目进入列表才能管理 + 模型性质:如果为系统模型将禁止删除,此选项不可修改,对于独立模型,系统强制创建字段aid,typeid,senddate,title,mid,channel,独立模型的文档必须点击栏目进入列表才能管理 diff --git a/src/apps/view.php b/src/apps/view.php index 4e1adf65..f14056eb 100755 --- a/src/apps/view.php +++ b/src/apps/view.php @@ -77,7 +77,7 @@ if ($needMoney > 0 || $needRank > 1) { } } $msgtitle = "扣金币购买阅读"; - $moremsg = "阅读该文档文档需要付费
这篇文档需要 ".$needMoney." 金币 才能访问,您目前拥有金币 ".$cfg_ml->M_Money."
确认阅读请点 [确认付点阅读]"; + $moremsg = "阅读该文档需要付费
这篇文档需要 ".$needMoney." 金币 才能访问,您目前拥有金币 ".$cfg_ml->M_Money."
确认阅读请点 [确认付点阅读]"; include_once($cfg_basedir.$cfg_templets_dir."/plus/view_msg.htm"); $arc->Close(); exit(); diff --git a/src/install/index.php b/src/install/index.php index 855dc380..a00fc065 100644 --- a/src/install/index.php +++ b/src/install/index.php @@ -78,7 +78,7 @@ if ($step==1) $rnd_cookieEncode=''; $length = rand(28,32); $max = strlen($chars) - 1; - for($i = 0; $i < $length; $i++) { + for ($i = 0; $i < $length; $i++) { $rnd_cookieEncode .= $chars[mt_rand(0, $max)]; } $module_local = DEDEDATA.'/module/'; diff --git a/src/install/sql-dfdata.txt b/src/install/sql-dfdata.txt index 08efe37e..5fcec8f5 100755 --- a/src/install/sql-dfdata.txt +++ b/src/install/sql-dfdata.txt @@ -502,7 +502,7 @@ 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'), +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'), @@ -4065,7 +4065,7 @@ INSERT INTO `#@__sysconfig` VALUES ('1','cfg_basehost','站点网址','1','strin ('129','cfg_userad_adds','会员推广获积分','5','number','10'), ('130','cfg_ddimg_full','是否使用缩略图强制大小,对背景填充','3','bool','N'), ('131','cfg_ddimg_bgcolor','缩略图空白背景填充颜色(0白,1黑)','3','number','0'), -('132','cfg_replace_num','文档文档关键词替换次数(0为全部替换)','7','number','1'), +('132','cfg_replace_num','文档关键词替换次数(0为全部替换)','7','number','1'), ('133','cfg_uplitpic_cut','是否上传缩略图后马上弹出裁剪框','3','bool','Y'), ('134','cfg_album_mark','是否使用图集水印,小图也会受影响','3','bool','N'), ('135','cfg_mb_feedcheck','是否需要会员动态审核','4','bool','N'), diff --git a/src/system/dedecollection.func.php b/src/system/dedecollection.func.php index 27ed5a2b..7af830ff 100755 --- a/src/system/dedecollection.func.php +++ b/src/system/dedecollection.func.php @@ -190,7 +190,7 @@ function GetHostInfo($gurl) * HTML里的网址格式转换 * * @access public - * @param string $body 文档文档 + * @param string $body 文档 * @return string */ function TurnLinkTag(&$body) diff --git a/src/system/taglib/arccontent.lib.php b/src/system/taglib/arccontent.lib.php index ed328a40..9938c55f 100644 --- a/src/system/taglib/arccontent.lib.php +++ b/src/system/taglib/arccontent.lib.php @@ -1,7 +1,7 @@