diff --git a/docs/changelog.md b/docs/changelog.md index 10318eee..92a162e7 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,6 +1,16 @@ # 更新记录 通过访问 https://www.dedebiz.com/git 获取完整更新记录 +# V6.2.10 +- 添加软件发布,演示网址上传压缩包解压功能; +- 修正后台功能说明提示; +- 修正兼容14px字体元素配置; +- 修正模块上传侧边菜单插件栏目不显示问题; +- 优化文档模型导入和文件上传及空间提示对话框; +- 优化分类模型前台三级区分筛选显示; +- 优化自带ckeditor富文本瘦身,更轻便简洁; +- 其他常规问题修复; + # V6.2.9 - 常规问题修复; diff --git a/src/admin/article_allowurl_edit.php b/src/admin/article_allowurl_edit.php index 657fdaab..1f29c8f9 100644 --- a/src/admin/article_allowurl_edit.php +++ b/src/admin/article_allowurl_edit.php @@ -21,7 +21,7 @@ if ($dopost == 'save') { flock($fp, 3); fwrite($fp, $allurls); fclose($fp); - echo ""; + echo ""; } //读出 if (empty($allurls) && filesize($m_file) > 0) { diff --git a/src/admin/article_source_edit.php b/src/admin/article_source_edit.php index 14b2fb40..ed42bc1d 100644 --- a/src/admin/article_source_edit.php +++ b/src/admin/article_source_edit.php @@ -21,7 +21,7 @@ if ($dopost == 'save') { flock($fp, 3); fwrite($fp, $allsource); fclose($fp); - echo ""; + echo ""; } //读出 if (empty($allsource) && filesize($m_file) > 0) { diff --git a/src/admin/article_string_mix.php b/src/admin/article_string_mix.php index a7abcfba..9b4957a2 100644 --- a/src/admin/article_string_mix.php +++ b/src/admin/article_string_mix.php @@ -22,7 +22,7 @@ if ($dopost == "save") { flock($fp, 3); fwrite($fp, $allsource); fclose($fp); - echo ""; + echo ""; } //读出 if (empty($allsource) && filesize($m_file) > 0) { @@ -36,7 +36,7 @@ $win = new OxWindow(); $win->Init('article_string_mix.php', 'js/blank.js', 'POST'); $win->AddHidden('dopost', 'save'); $win->AddHidden('token', $_SESSION['token']); -$win->AddTitle("
启用字符串混淆来防采集功能,请在文档模板需要的字段加上function='RndString(@me)'属性,如:{dede:field name='body' function='RndString(@me)'/}
"); +$win->AddTitle("
启用字符串混淆来防采集功能,文档模板需要的字段加上function='RndString(@me)'属性,如:{dede:field name='body' function='RndString(@me)'/}
"); $win->AddMsgItem(""); $winform = $win->GetWindow('ok'); $win->Display(); diff --git a/src/admin/article_writer_edit.php b/src/admin/article_writer_edit.php index fbc2e3e0..e5e61975 100644 --- a/src/admin/article_writer_edit.php +++ b/src/admin/article_writer_edit.php @@ -21,7 +21,7 @@ if ($dopost == "save") { flock($fp, 3); fwrite($fp, $allwriter); fclose($fp); - echo ""; + echo ""; } //读出 if (empty($allwriter) && filesize($m_file) > 0) { diff --git a/src/admin/catalog_add.php b/src/admin/catalog_add.php index c0a804b9..eba0b87c 100644 --- a/src/admin/catalog_add.php +++ b/src/admin/catalog_add.php @@ -155,7 +155,7 @@ if ($dopost == 'quick') { if ($siteurl != '') { $siteurl = preg_replace("#\/$#", "", $siteurl); if (!preg_match("#http:\/\/#i", $siteurl)) { - ShowMsg("您绑定的二级域名无效,需要以http开头的链接", "-1"); + ShowMsg("您绑定的二级域名无效,请输入绑定域名http开头", "-1"); exit(); } if (preg_match("#".$cfg_basehost."#i", $siteurl)) { diff --git a/src/admin/content_list.php b/src/admin/content_list.php index a28babb7..52d44b92 100644 --- a/src/admin/content_list.php +++ b/src/admin/content_list.php @@ -59,7 +59,7 @@ if (empty($totalresult) && empty($keyword) && empty($orderby) && empty($flag)) { if (!empty($channelid) && empty($cid)) { $tinyQuerys[] = " channel = '$channelid' "; } else { - $tinyQuerys[] = " channel>0 "; + $tinyQuerys[] = " channel > 0 "; } if (!empty($arcrank)) { $tinyQuerys[] = " arcrank='$arcrank' "; @@ -86,7 +86,7 @@ if (empty($totalresult) && empty($keyword) && empty($orderby) && empty($flag)) { } if ($cid == 0) { if ($channelid == 0) { - $positionname = '所有栏目>'; + $positionname = '所有栏目 - '; } else { $row = $tl->dsql->GetOne("SELECT id,typename,maintable FROM `#@__channeltype` WHERE id='$channelid'"); $positionname = $row['typename']." - "; diff --git a/src/admin/dialog/select_images.php b/src/admin/dialog/select_images.php index 704caa53..a9d9e8c7 100644 --- a/src/admin/dialog/select_images.php +++ b/src/admin/dialog/select_images.php @@ -59,18 +59,17 @@ if (!empty($iseditor)) { - - -
+ +
-
+ " : ''; echo $noeditor;?> diff --git a/src/admin/dialog/select_media.php b/src/admin/dialog/select_media.php index 715ad4a6..8cbffc77 100644 --- a/src/admin/dialog/select_media.php +++ b/src/admin/dialog/select_media.php @@ -49,14 +49,13 @@ if (!empty($noeditor)) { - - -
+ +
- + diff --git a/src/admin/dialog/select_mimages.php b/src/admin/dialog/select_mimages.php index dfe252cf..cc3937bf 100644 --- a/src/admin/dialog/select_mimages.php +++ b/src/admin/dialog/select_mimages.php @@ -26,11 +26,13 @@ include(DEDEDATA.'/mark/inc_photowatermark_config.php');
    - + diff --git a/src/admin/templets/ad_main.htm b/src/admin/templets/ad_main.htm index 18029562..e9dbdc9f 100644 --- a/src/admin/templets/ad_main.htm +++ b/src/admin/templets/ad_main.htm @@ -10,7 +10,7 @@ - + diff --git a/src/admin/templets/album_add.htm b/src/admin/templets/album_add.htm index ec20f8fe..05dffac0 100644 --- a/src/admin/templets/album_add.htm +++ b/src/admin/templets/album_add.htm @@ -314,7 +314,7 @@
    标题颜色: - +
    diff --git a/src/admin/templets/album_edit.htm b/src/admin/templets/album_edit.htm index 9840228d..6a6a17a1 100644 --- a/src/admin/templets/album_edit.htm +++ b/src/admin/templets/album_edit.htm @@ -353,7 +353,7 @@
    标题颜色: - +
    diff --git a/src/admin/templets/archives_add.htm b/src/admin/templets/archives_add.htm index e937c9dd..558b36dd 100644 --- a/src/admin/templets/archives_add.htm +++ b/src/admin/templets/archives_add.htm @@ -247,7 +247,7 @@
    标题颜色: - +
    diff --git a/src/admin/templets/archives_edit.htm b/src/admin/templets/archives_edit.htm index 686f96cd..f231aeaf 100644 --- a/src/admin/templets/archives_edit.htm +++ b/src/admin/templets/archives_edit.htm @@ -239,7 +239,7 @@ 标题颜色: - + diff --git a/src/admin/templets/article_add.htm b/src/admin/templets/article_add.htm index a00b6b3c..12178c4d 100644 --- a/src/admin/templets/article_add.htm +++ b/src/admin/templets/article_add.htm @@ -256,7 +256,7 @@ 标题颜色: - + diff --git a/src/admin/templets/article_edit.htm b/src/admin/templets/article_edit.htm index 6a6992a7..cef9ae58 100644 --- a/src/admin/templets/article_edit.htm +++ b/src/admin/templets/article_edit.htm @@ -239,7 +239,7 @@ 标题颜色: - + diff --git a/src/admin/templets/catalog_add.htm b/src/admin/templets/catalog_add.htm index 9e717a72..32362774 100644 --- a/src/admin/templets/catalog_add.htm +++ b/src/admin/templets/catalog_add.htm @@ -112,12 +112,12 @@ 排列顺序: - (由低 > 高) + (由低到高) 浏览权限: 指定交叉栏目id(英文逗号分开)
    - + @@ -182,7 +182,7 @@ (需要绑定二级域名,系统变量中开启支持多站点) 绑定域名: - (需要以http开头的链接) + (请输入绑定域名http开头) @@ -295,6 +295,14 @@ else if (window.navigator.userAgent.indexOf("Firefox") >= 1) return 'FF'; else return "OT"; } + function checkSubmit() { + if (document.form1.typename.value == "") { + alert("栏目名称不能为空"); + document.form1.typename.focus(); + return false; + } + return true; + } function SelectTemplets(fname) { var pos = GetWinPos(800,600); window.open("./dialog/select_templets.php?f=" + fname, "poptempWin", "scrollbars=yes,resizable=yes,statebar=no,width=800,height=600,left=" + pos.left + ", top=" + pos.top); @@ -341,14 +349,6 @@ tobj.style.display = "none"; } } - function checkSubmit() { - if (document.form1.typename.value == "") { - alert("栏目名称不能为空"); - document.form1.typename.focus(); - return false; - } - return true; - } function CheckPathSet() { var surl = document.getElementById("siteurl"); var sreid = document.getElementById("reid"); diff --git a/src/admin/templets/catalog_edit.htm b/src/admin/templets/catalog_edit.htm index 3d4bdf61..92ba7c29 100644 --- a/src/admin/templets/catalog_edit.htm +++ b/src/admin/templets/catalog_edit.htm @@ -108,12 +108,12 @@ 排列顺序: - (由低 > 高) + (由低到高) 浏览权限: > 指定交叉栏目id(英文逗号分开)
    - + @@ -167,7 +167,7 @@ (仅顶级栏目启用,子类栏目无效) 绑定域名: - (需要以http开头的链接) + (请输入绑定域名http开头) 列表模板: @@ -326,6 +326,14 @@ else if (window.navigator.userAgent.indexOf("Firefox") >= 1) return 'FF'; else return "OT"; } + function checkSubmit() { + if (document.form1.typename.value == "") { + alert("栏目名称不能为空"); + document.form1.typename.focus(); + return false; + } + return true; + } function SelectTemplets(fname) { var pos = GetWinPos(800,600); window.open("./dialog/select_templets.php?f=" + fname, "poptempWin", "scrollbars=yes,resizable=yes,statebar=no,width=800,height=600,left=" + pos.left + ", top=" + pos.top); @@ -372,14 +380,6 @@ tobj.style.display = "none"; } } - function checkSubmit() { - if (document.form1.typename.value == "") { - alert("栏目名称不能为空"); - document.form1.typename.focus(); - return false; - } - return true; - } function CheckCross() { var cross2 = document.getElementById('cross2'); var crossid = document.getElementById('crossid'); diff --git a/src/admin/templets/content_att.htm b/src/admin/templets/content_att.htm index 7056fd35..80a336cc 100644 --- a/src/admin/templets/content_att.htm +++ b/src/admin/templets/content_att.htm @@ -17,7 +17,7 @@ -
    自定义属性使用说明:以往的版本中,网站首页、封面栏目的设计,都只能单调的用arclist标记把某栏目最新或按特定排序方式的文档无选择的读出来,这样做法存在很大的不足,例如,我希望在最顶部的地方显示我想要的文档,在以往的版本中是无法做到的,但使用自定义属性之后,只要给arclist标记加上att='自定义属性的id'的属性,然后在发布的时候对适合的文档选择专门的属性,那么使用arclist的地方就会按您的意愿显示指定的文档。注意事项:这个版本中att对应的字段是SET类型字段,因此为了数据安全起见不允许会员添加其它类型,但调用时允许使用组合条件att='c,p'表示推荐图片
    +
    自定义属性说明:文档发布时选择属性后arclist标签加上flag='自定义属性',例:{dede:arclist flag='h,c'},h,c表示组合属性头条和推荐
    diff --git a/src/admin/templets/diy_add.htm b/src/admin/templets/diy_add.htm index ef17cd35..844dabd9 100644 --- a/src/admin/templets/diy_add.htm +++ b/src/admin/templets/diy_add.htm @@ -3,7 +3,7 @@ - 新增自定义表单 + 添加自定义表单 @@ -15,7 +15,7 @@ - + diff --git a/src/admin/templets/diy_edit.htm b/src/admin/templets/diy_edit.htm index 284ea16a..f61c2af3 100644 --- a/src/admin/templets/diy_edit.htm +++ b/src/admin/templets/diy_edit.htm @@ -78,8 +78,8 @@ $dtp->SetNameSpace("field","<",">"); $dtp->LoadSource($fieldset); if (is_array($dtp->CTags)){ - foreach($dtp->CTags as $ctag) - { + foreach($dtp->CTags as $ctag) + { ?> '; $formfields .= $formfields == ''? $field.','.$fielddata[1] : ';'.$field.','.$fielddata[1]; diff --git a/src/admin/templets/diy_field_add.htm b/src/admin/templets/diy_field_add.htm index c45b0d5e..e91948a1 100644 --- a/src/admin/templets/diy_field_add.htm +++ b/src/admin/templets/diy_field_add.htm @@ -23,7 +23,7 @@ diff --git a/src/admin/templets/diy_main.htm b/src/admin/templets/diy_main.htm index 135bb55f..12763fa9 100644 --- a/src/admin/templets/diy_main.htm +++ b/src/admin/templets/diy_main.htm @@ -34,7 +34,7 @@ {/dede:datalist} - + diff --git a/src/admin/templets/file_edit.htm b/src/admin/templets/file_edit.htm index c1e3ad51..0a08cee1 100644 --- a/src/admin/templets/file_edit.htm +++ b/src/admin/templets/file_edit.htm @@ -32,14 +32,14 @@ diff --git a/src/admin/templets/freelist_add.htm b/src/admin/templets/freelist_add.htm index cef80a5a..77483f40 100644 --- a/src/admin/templets/freelist_add.htm +++ b/src/admin/templets/freelist_add.htm @@ -30,7 +30,7 @@ @@ -97,7 +97,7 @@ "; echo ""; - $dsql->SetQuery("Select ID,typename, channeltype From `#@__arctype`"); + $dsql->SetQuery("SELECT id,typename, channeltype FROM `#@__arctype`"); $dsql->Execute(); while($lrow = $dsql->GetObject()){ $disable = ''; @@ -112,7 +112,7 @@ "; echo ""; - $dsql->SetQuery("Select ID,typename From `#@__channeltype` where ID>0"); + $dsql->SetQuery("SELECT id,typename FROM `#@__channeltype` WHERE id > 0"); $dsql->Execute(); while($row = $dsql->GetObject()) { diff --git a/src/admin/templets/freelist_edit.htm b/src/admin/templets/freelist_edit.htm index 63a74dcb..c417e8f1 100644 --- a/src/admin/templets/freelist_edit.htm +++ b/src/admin/templets/freelist_edit.htm @@ -28,7 +28,7 @@ @@ -76,7 +76,7 @@ $typeid = $ctag->GetAtt('typeid'); echo ""; - $dsql->SetQuery("Select id,typename From `#@__channeltype` where id>0"); + $dsql->SetQuery("SELECT id,typename FROM `#@__channeltype` WHERE id > 0"); $dsql->Execute(); while($nrow = $dsql->GetObject()) { diff --git a/src/admin/templets/makehtml_homepage.htm b/src/admin/templets/makehtml_homepage.htm index 62153f1c..4240352d 100644 --- a/src/admin/templets/makehtml_homepage.htm +++ b/src/admin/templets/makehtml_homepage.htm @@ -19,7 +19,7 @@ diff --git a/src/admin/templets/makehtml_spec.htm b/src/admin/templets/makehtml_spec.htm index 378a6048..4d3539a4 100644 --- a/src/admin/templets/makehtml_spec.htm +++ b/src/admin/templets/makehtml_spec.htm @@ -17,7 +17,7 @@ diff --git a/src/admin/templets/member_edit.htm b/src/admin/templets/member_edit.htm index 4748c26d..2842e51a 100644 --- a/src/admin/templets/member_edit.htm +++ b/src/admin/templets/member_edit.htm @@ -19,7 +19,7 @@ - ';?> + ';?> @@ -49,7 +49,7 @@ diff --git a/src/admin/templets/mychannel_add.htm b/src/admin/templets/mychannel_add.htm index 28c0d9f6..9b504505 100644 --- a/src/admin/templets/mychannel_add.htm +++ b/src/admin/templets/mychannel_add.htm @@ -64,7 +64,7 @@ getUserRank(); - $dsql->SetQuery("SELECT * FROM `#@__arcrank` where adminrank<='$urank' And `rank`>=10"); + $dsql->SetQuery("SELECT * FROM `#@__arcrank` where adminrank<='$urank' And `rank` >= 10"); $dsql->Execute(); while($row2 = $dsql->GetObject()) { diff --git a/src/admin/templets/mychannel_edit.htm b/src/admin/templets/mychannel_edit.htm index b443d220..88c3229e 100644 --- a/src/admin/templets/mychannel_edit.htm +++ b/src/admin/templets/mychannel_edit.htm @@ -26,7 +26,7 @@ @@ -70,7 +70,7 @@ getUserRank(); - $dsql->SetQuery("SELECT * FROM `#@__arcrank` where adminrank<='$urank' And `rank`>=10"); + $dsql->SetQuery("SELECT * FROM `#@__arcrank` where adminrank<='$urank' And `rank` >= 10"); $dsql->Execute(); while($row2 = $dsql->GetObject()) { @@ -181,7 +181,7 @@ - + GetAtt('autofield'); if ($ft=='' || $ft==0) { - echo "固化字段"; + echo "固化字段"; } else { - echo "自动表单"; + echo "自动字段"; } ?> diff --git a/src/admin/templets/mychannel_field_add.htm b/src/admin/templets/mychannel_field_add.htm index 12fa1dc6..c0928c51 100644 --- a/src/admin/templets/mychannel_field_add.htm +++ b/src/admin/templets/mychannel_field_add.htm @@ -23,7 +23,7 @@ @@ -171,11 +171,11 @@ return false; } if (notAllow.indexOf(" "+fieldname+" ") >-1 ) { - ShowMsg("字段名称不合法,如下字段名已经存在,建议在名称后加上数字以区分:\n"+notAllow); + ShowMsg("字段名称不合法,字段名已经存在,建议在名称后加上数字以区分:\n"+notAllow); return false; } if ((dtype=="radio" || dtype=="select" || dtype=="checkbox") && vdefault=="") { - ShowMsg("您选择的select或radio、checkbox类型,必须默认值设置选择的项目(用英文逗号分开)"); + ShowMsg("自定义字段数据类型为select、radio、checkbox时,下面填写数据,英文逗号分开,如:DedeBIZ,得德"); return false; } if (spage=="no") spage = ""; diff --git a/src/admin/templets/mychannel_field_edit.htm b/src/admin/templets/mychannel_field_edit.htm index 6be5251f..7e10ae81 100644 --- a/src/admin/templets/mychannel_field_edit.htm +++ b/src/admin/templets/mychannel_field_edit.htm @@ -26,7 +26,7 @@ @@ -167,7 +167,7 @@ return false; } if ((dtype == "radio" || dtype == "select" || dtype == "checkbox") && vdefault == "") { - ShowMsg("您选择的select或radio、checkbox类型,必须默认值设置选择的项目(用英文逗号分开)"); + ShowMsg("自定义字段数据类型为select、radio、checkbox时,下面填写数据,英文逗号分开,如:DedeBIZ,得德"); return false; } if (spage == "no") spage = ""; diff --git a/src/admin/templets/mytag_tag_guide.htm b/src/admin/templets/mytag_tag_guide.htm index 45d1039a..3036ccf0 100644 --- a/src/admin/templets/mytag_tag_guide.htm +++ b/src/admin/templets/mytag_tag_guide.htm @@ -62,7 +62,7 @@ "; echo ""; - $tl->dsql->SetQuery("Select id,typename From `#@__channeltype` where id>0"); + $tl->dsql->SetQuery("SELECT id,typename FROM `#@__channeltype` WHRER id > 0"); $tl->dsql->Execute(); while($row = $tl->dsql->GetObject()) { diff --git a/src/admin/templets/soft_add.htm b/src/admin/templets/soft_add.htm index 9f87ab8a..1e9624ff 100644 --- a/src/admin/templets/soft_add.htm +++ b/src/admin/templets/soft_add.htm @@ -24,13 +24,13 @@ var endNum = parseInt(document.form1.picnum.value) + startNum - 1; if (endNum > 30) endNum = 30; for (startNum; startNum <= endNum; startNum++) { - upfield.innerHTML += "
    "; + upfield.innerHTML += "
    "; } } function ShowHideAddr() { document.getElementById('morelink').style.display = (document.getElementById('morelink').style.display == 'block' ? 'none' : 'block'); document.getElementById('morelink').style.height = '100%'; - document.getElementById('btsh3').value = (document.getElementById('morelink').style.display == 'block' ? '隐藏地址' : '显示地址'); + document.getElementById('btsh3').value = (document.getElementById('morelink').style.display == 'block' ? '隐藏网址' : '显示网址'); } @@ -274,9 +274,13 @@
    自定义表单管理 - 新增自定义表单自定义表单管理 - 添加自定义表单
    自定义表单id:
    @@ -100,8 +100,8 @@ GetAtt('autofield'); - if ($ft==''||$ft==0) echo "固化表单"; - else echo "自动表单"; + if ($ft==''||$ft==0) echo "固化字段"; + else echo "自动字段"; ?> diff --git a/src/admin/templets/diy_edit_content.htm b/src/admin/templets/diy_edit_content.htm index a514d3e9..feb9c781 100644 --- a/src/admin/templets/diy_edit_content.htm +++ b/src/admin/templets/diy_edit_content.htm @@ -7,8 +7,6 @@ - - @@ -26,7 +24,7 @@ if ($row[$field]=='') continue; if (!in_array($fielddata[1],$allowhtml)) { $row[$field] = dede_htmlspecialchars($row[$field]); - $row[$field] = ""; + $row[$field] = ""; } echo '
    '.$fielddata[0].':'.''.$row[$field].'
    -
    修改时禁止输入双引号["],则表单保存失败
    +
    修改文档模型字段时禁止输入双引号"
    添加新的自定义表单添加自定义表单
    {dede:pagelist listsize='6'/}工作目录 - (空白表示根目录,不可以用..符号表示路径) + (空白表示根目录,不可以用小数点..表示路径)
    文件名称 - (不可以用..符号表示路径) + (不可以用小数点..表示路径)
    -
    自由列表标记说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成按自定义排序规则的文档列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或浏览速度
    +
    自由列表说明:freelist功能基本等同于arclist标签,区别是freelist标签支持分页,按自定义排序规则的文档列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,不会影响系统生成网页或浏览速度
    -
    自由列表标记说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成按自定义排序规则的文档列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或浏览速度
    +
    自由列表说明:freelist功能基本等同于arclist标签,区别是freelist标签支持分页,按自定义排序规则的文档列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,不会影响系统生成网页或浏览速度
    -
    首页默认更新文件存放在根目录,如果不是根目录安装网站又想首页更新到网站根目录,使用相对路径来表示首页位置,例:安装在http://www.abc.com/DedeBIZ/目录,更新首页为:http://www.abc.com/index.html,填写:../index.html
    +
    默认更新首页文件存放在根目录,不是根目录安装的网站,首页需要更新到网站根目录,请使用相对路径,则安装在:http://www.abc.com/DedeBIZ/目录,更新首页:http://www.abc.com/index.html,填写:../index.html
    -
    为了安全起见,专题目录建议设置仅可读写权限,发布专题后需要手动更新,默认文件为:
    +
    更新专题说明:发布专题后需要手动更新,建议专题目录设置仅可读写权限,存放目录:
    会员管理 - 修改会员
    当前会员关连网站管理员
    该会员关连网站管理员,修改不当会导致无法登录
    头像/会员名: @@ -64,7 +64,7 @@ SetQuery("SELECT `rank`,membername From `#@__arcrank` where `rank`>0 ORDER BY `rank` ASC"); + $dsql->SetQuery("SELECT `rank`,membername FROM `#@__arcrank` WHERE `rank` > 0 ORDER BY `rank` ASC"); $dsql->Execute('n'); $MemberTypes[0] = "限制会员"; while($nrow = $dsql->GetObject('n')){ diff --git a/src/admin/templets/member_rank.htm b/src/admin/templets/member_rank.htm index 041afcc9..f68822eb 100644 --- a/src/admin/templets/member_rank.htm +++ b/src/admin/templets/member_rank.htm @@ -17,7 +17,7 @@
    -
    级别名称和级别值:注册会员这个级别不能删除,否则会员系统会无法正常使用某些功能
    +
    会员级别说明:注册会员级别不能删除,删除会影响会员功能无法使用某些功能
    -
    新增一个级别:由于会员升级是以级别值由低向高升级的,因此添加组别时需注意此值的设置,如果您添加新的会员组的级别值低于10,将自动被视为普通的注册会员
    +
    会员级别说明:由于会员级别值由低向高升级,因此添加组别时需注意此值,如果您添加会员组的级别值低于10,将自动被视为普通的注册会员
    -
    修改系统模型有风险,请不要随便修改系统模型的字段相关属性
    +
    系统模型字段参数配置,修改不当会导致模型出错
    下面列出的字段是附加表的字段,除此外,它还包含主表archives的所有字段下面是附加表字段,还包含主表archives所有字段
    - + 修改 删除 - 禁止"; - } - ?> + 禁止";}?>
    -
    修改时禁止输入双引号["],则表单保存失败
    +
    修改文档模型字段时禁止输入双引号"
    -
    修改系统模型有风险,请不要随便修改系统模型的字段相关属性
    +
    系统模型字段参数配置,修改不当会导致模型出错
    - - - + + +
    官方网址:演示地址:演示网址: + + + +
    @@ -286,20 +290,20 @@ - + + + - - - - - - - + @@ -54,8 +49,8 @@ @@ -64,7 +59,7 @@ @@ -116,9 +111,18 @@ diff --git a/src/admin/templets/soft_edit.htm b/src/admin/templets/soft_edit.htm index 95ab6d0c..bd6bb1e7 100644 --- a/src/admin/templets/soft_edit.htm +++ b/src/admin/templets/soft_edit.htm @@ -24,12 +24,12 @@ var endNum = parseInt(document.form1.picnum.value) + startNum; if (endNum > 30) endNum = 30; for (startNum; startNum < endNum; startNum++) { - upfield.innerHTML += "
    "; + upfield.innerHTML += "
    "; } } function ShowHideAddr() { document.getElementById('morelink').style.display = (document.getElementById('morelink').style.display == 'block' ? 'none' : 'block'); - document.getElementById('btsh3').value = (document.getElementById('morelink').style.display == 'block' ? '隐藏地址' : '显示地址'); + document.getElementById('btsh3').value = (document.getElementById('morelink').style.display == 'block' ? '隐藏网址' : '显示网址'); } @@ -280,9 +280,13 @@
    软件大小: + - + 需会员权限: - - + - +
    本地地址: + 本地上传: - + 地址名称:下载名称:
    + + + + + +
    链接上传: + + + +
    + +
    + + + + +
    镜像上传:
    - - - - + + + +
    - - - - - -
    其它地址: - - - -
    - -
    @@ -431,7 +440,7 @@
    标题颜色: - +
    diff --git a/src/admin/templets/soft_config.htm b/src/admin/templets/soft_config.htm index 620fbc05..2625165a 100644 --- a/src/admin/templets/soft_config.htm +++ b/src/admin/templets/soft_config.htm @@ -18,23 +18,18 @@
    软件下载设置
    -
    软件模型的附件下载方式都必须链接到中转页,否则无效
    -
    链接显示方式: - - + +
    附件下载方式:软件下载方式: - - + +
    镜像处理方式: - - + +
    参数限制方式: - - + +
    镜像服务器列表: - - - + + +
    - - - + + +
    官方网址:程序演示:演示网址: + + + +
    @@ -292,12 +296,12 @@ - +
    软件大小: 需会员权限: - +
    其它地址:链接上传: - - - + + +
    @@ -392,7 +396,7 @@
    标题颜色: - +
    diff --git a/src/admin/templets/spec_add.htm b/src/admin/templets/spec_add.htm index 50a5ab9d..d4f957ea 100644 --- a/src/admin/templets/spec_add.htm +++ b/src/admin/templets/spec_add.htm @@ -274,7 +274,7 @@ 标题颜色: - + diff --git a/src/admin/templets/spec_edit.htm b/src/admin/templets/spec_edit.htm index 084e6c8f..3e900e12 100644 --- a/src/admin/templets/spec_edit.htm +++ b/src/admin/templets/spec_edit.htm @@ -325,7 +325,7 @@ 标题颜色: - + diff --git a/src/admin/templets/sys_admin_user.htm b/src/admin/templets/sys_admin_user.htm index e32f3dcc..2a0ffd4f 100644 --- a/src/admin/templets/sys_admin_user.htm +++ b/src/admin/templets/sys_admin_user.htm @@ -23,11 +23,6 @@ 管理员管理 - - -
    为了防止错误操作,系统不允许在管理界面删除超级管理员,如果确定要删除,请自行在数据表biz_admin中删除
    - - 会员名 昵称 diff --git a/src/admin/templets/sys_cache_up.htm b/src/admin/templets/sys_cache_up.htm index 88588993..9a7f3762 100644 --- a/src/admin/templets/sys_cache_up.htm +++ b/src/admin/templets/sys_cache_up.htm @@ -17,11 +17,11 @@ -
    默认执行下面的操作:1、更新栏目缓存 2、更新枚举缓存 3、清理文档调用缓存 4、清理过期会员浏览历史 5、删除过期会员短信 6、删除过期流量统计
    +
    更新缓存说明:1、更新栏目缓存 2、更新枚举缓存 3、清理文档调用缓存 4、清理过期会员浏览历史 5、删除过期会员短信 6、删除过期流量统计
    - + diff --git a/src/admin/templets/sys_data_replace.htm b/src/admin/templets/sys_data_replace.htm index 9a5fd2d5..f706b52a 100644 --- a/src/admin/templets/sys_data_replace.htm +++ b/src/admin/templets/sys_data_replace.htm @@ -21,7 +21,7 @@ -
    数据库字段批量替换中某字段值,如果操作不当会导致数据库错误
    +
    数据库字段批量替换数据,操作不当会导致数据出错
    @@ -83,7 +83,7 @@ - 安全确认码: + 验证码: diff --git a/src/admin/templets/tag_test.htm b/src/admin/templets/tag_test.htm index 5f7d9b54..b9cafa7a 100644 --- a/src/admin/templets/tag_test.htm +++ b/src/admin/templets/tag_test.htm @@ -22,11 +22,6 @@ 全局标记测试 - - -
    全局标记应用在网站首页、单独页面、封面栏目使用的单独模板标记,在列表或文档模板中,一般只允许调用channel、arclist标记(hotart、coolart、imglist等都是这个标记延伸出来的标记),但是环境变量限定为文档或列表所在的栏目,如果您要测试的标记是在列表或文档中使用,请指定环境变量(栏目id)各标记的具体含义和用途
    - - 环境变量: diff --git a/src/admin/templets/templets_tagsource.htm b/src/admin/templets/templets_tagsource.htm index f84fb2a3..5f0796b2 100644 --- a/src/admin/templets/templets_tagsource.htm +++ b/src/admin/templets/templets_tagsource.htm @@ -15,7 +15,7 @@ -
    修改系统标签有风险,文件存放/system/taglib文件夹
    +
    系统标签源码文件,修改不当会导致标签错误
    diff --git a/src/admin/templets/tpl_edit.htm b/src/admin/templets/tpl_edit.htm index a2645465..6ff2eaea 100644 --- a/src/admin/templets/tpl_edit.htm +++ b/src/admin/templets/tpl_edit.htm @@ -28,7 +28,7 @@ 文件名称 - (不可以用..符号表示路径) + (不可以用小数点..表示路径) diff --git a/src/admin/templets/tpl_edit_tag.htm b/src/admin/templets/tpl_edit_tag.htm index 235155b7..9a60b2a0 100644 --- a/src/admin/templets/tpl_edit_tag.htm +++ b/src/admin/templets/tpl_edit_tag.htm @@ -30,14 +30,14 @@ -
    请先作好备份标签源码文件在进行修改,如果二次修改错误会导致标签无法解析。标签文件名为:标签名.lib.php接口函数定义为:function lib_标签名(&$ctag,&$refObj),返回值是结果字符串,修改标签时为了防止出错,您也可以修改它的名称同时修改文件名和函数名,这样等同继承了原来标签的代码建立一个新的标签
    +
    系统标签源码文件,修改不当会导致标签错误
    文件名称 - (不可以用..符号表示路径) + (不可以用小数点..表示路径) diff --git a/src/admin/templets/tpl_newfile.htm b/src/admin/templets/tpl_newfile.htm index f3bdc08b..76de22cf 100644 --- a/src/admin/templets/tpl_newfile.htm +++ b/src/admin/templets/tpl_newfile.htm @@ -16,7 +16,7 @@ 工作目录: - (空白表示根目录,不可以用..符号表示路径) + (空白表示根目录,不可以用小数点..表示路径) diff --git a/src/install/sql-dfdata.txt b/src/install/sql-dfdata.txt index 90dbef21..d59e8a66 100755 --- a/src/install/sql-dfdata.txt +++ b/src/install/sql-dfdata.txt @@ -504,7 +504,7 @@ INSERT INTO `#@__area` VALUES ('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'), +('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'), ('-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'); diff --git a/src/static/web/css/admin.css b/src/static/web/css/admin.css index 4b8008e6..9ed2984c 100644 --- a/src/static/web/css/admin.css +++ b/src/static/web/css/admin.css @@ -82,8 +82,9 @@ input[type=file] { vertical-align:middle } input[type=button],input[type=submit],input[type=reset] { - padding:.375rem .75rem; - height:auto; + padding:.25rem .5rem; + line-height:1.5; + font-size:.875rem; color:#fff; background:#1eb867; border:0; @@ -152,6 +153,9 @@ body.hidemenu .body-right { right:0; bottom:0 } +.body-bg { + background:#f5f5f5 +} .main,.menu { width:100%; height:99% @@ -259,7 +263,6 @@ body.hidemenu .body-right { right:5px; height:20px; line-height:20px; - font-size:12px; color:#545b62; background:0; border:0 @@ -374,7 +377,7 @@ body.hidemenu .body-right { padding:.5rem; width:120px; background:#fff; - border:2px solid #dee2e6; + border:1px solid #dee2e6; z-index:10005 } .wsselect { @@ -384,7 +387,7 @@ body.hidemenu .body-right { } .pubdlg { background:#fff; - border:2px solid #dee2e6; + border:1px solid #dee2e6; z-index:8888 } .pubdlg .title { @@ -439,7 +442,7 @@ body.hidemenu .body-right { .mysource,.mywriter { width:300px; background:#fff; - border:2px solid #dee2e6; + border:1px solid #dee2e6; z-index:10001 } #uploadfield { @@ -550,7 +553,8 @@ body.hidemenu .body-right { height:60px } .admin-input-lg { - width:360px + width:360px; + height:28px } .admin-input-md { width:260px @@ -573,6 +577,19 @@ body.hidemenu .body-right { width:20px; height:20px } +.upload-bg { + margin:10px; + background:#fff +} +.napisdiv { + position:absolute; + left:10; + top:10; + display:none; + width:150px; + height:100px; + z-index:9998 +} .fileinput-button { display:inline-block; position:relative; @@ -591,7 +608,7 @@ span.page-link { color:#fff; background:#1eb867 } -table,input,select,textarea,.search,.menu-body,.coolbg,.mysource,.mywriter,.pubdlg,.colordlg,.quickselitem .topcat,.web-info,.cke_chrome,.cke_inner,.pagination,.card,.form-control,.btn-sm,.alert,.rounded,#edsta { +table,input,select,textarea,.search,.menu-body,.coolbg,.mysource,.mywriter,.pubdlg,.colordlg,.quickselitem .topcat,.web-info,.upload-bg,.cke_chrome,.cke_inner,.pagination,.card,.form-control,.btn-sm,.alert,.rounded,#edsta { border-radius:.5rem!important } .btn-xs { @@ -640,19 +657,19 @@ table,input,select,textarea,.search,.menu-body,.coolbg,.mysource,.mywriter,.pubd @media (max-width:480px) { .web-info { word-break:break-all -} -.tips { - padding:0 15px -} -.tips-box { - width:100% -} -.m-d-none { - display:none -} + } + .tips { + padding:0 15px + } + .tips-box { + width:100% + } + .m-d-none { + display:none + } } @media (min-width:480px) { .modal-dialog { max-width:500px -} + } } \ No newline at end of file diff --git a/src/static/web/css/style.css b/src/static/web/css/style.css index ba97b108..646f7efe 100644 --- a/src/static/web/css/style.css +++ b/src/static/web/css/style.css @@ -13,11 +13,13 @@ scrollbar-width:thin } body { + margin:0; line-height:1.6; letter-spacing:.6px; font-size:14px; font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif; - color:#545b62 + color:#545b62; + background:#fff } a { color:#545b62 @@ -348,6 +350,9 @@ input[type=file] { padding:1.5rem; background:#fff } +.input-group-append .btn-sm { + line-height:1.8 +} .table { color:#545b62 } @@ -426,7 +431,7 @@ input[type=file] { border-top-left-radius:0!important; border-bottom-left-radius:0!important } -#btnScrollTop { +#returntop { display:none; position:fixed; padding:10px 14px; @@ -439,26 +444,26 @@ input[type=file] { border:0; z-index:9998 } -#btnScrollTop:hover { +#returntop:hover { background:#e77817 } @media (max-width:480px) { .m-pb-1 { padding-bottom:1rem -} -.m-pb-2 { - padding-bottom:2rem -} -.login-from { - width:100% -} -.bannr-img,.item-theme-img img,.list-article-img img { - height:250px -} -.item-news-img img { - height:210px -} -.feedbacks .feedback-action { - float:none -} + } + .m-pb-2 { + padding-bottom:2rem + } + .login-from { + width:100% + } + .bannr-img,.item-theme-img img,.list-article-img img { + height:250px + } + .item-news-img img { + height:210px + } + .feedbacks .feedback-action { + float:none + } } \ No newline at end of file diff --git a/src/static/web/js/style.js b/src/static/web/js/style.js index 2eaa9d32..71199461 100644 --- a/src/static/web/js/style.js +++ b/src/static/web/js/style.js @@ -188,9 +188,9 @@ $(document).ready(function () { window.onscroll = function () { scrollFunction() }; function scrollFunction() { if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) { - $("#btnScrollTop").show(); + $("#returntop").show(); } else { - $("#btnScrollTop").hide(); + $("#returntop").hide(); } } }); \ No newline at end of file diff --git a/src/static/web/js/user.album.js b/src/static/web/js/user.album.js index 034f88ad..71b5869b 100644 --- a/src/static/web/js/user.album.js +++ b/src/static/web/js/user.album.js @@ -20,7 +20,7 @@ function MakeUpload(mnum) { } fhtml = ""; fhtml += "
    "; - fhtml += "
    选择
    "; + fhtml += "
    选择
    "; upfield.innerHTML += fhtml; } } diff --git a/src/system/helpers/archive.helper.php b/src/system/helpers/archive.helper.php index 20317a20..c55b46fc 100755 --- a/src/system/helpers/archive.helper.php +++ b/src/system/helpers/archive.helper.php @@ -74,8 +74,8 @@ if (!function_exists('GetOneArchive')) { /** * 获取模型的表信息 * - * @param int $id 模型id - * @param string $formtype 表单类型 + * @param int $id 模型id + * @param string $formtype 表单类型 * @return array */ if (!function_exists('GetChannelTable')) { @@ -96,7 +96,7 @@ if (!function_exists('GetChannelTable')) { /** * 获得某文档的所有tag * - * @param int $aid 文档id + * @param int $aid 文档id * @return string */ if (!function_exists('GetTags')) { @@ -140,7 +140,7 @@ if (!function_exists('GetIndexKey')) { } } /** - * 更新微表key及Tag + * 更新微表key及tag * * @access public * @param int $id 文档id @@ -158,14 +158,14 @@ if (!function_exists('UpIndexKey')) { $addtime = time(); $query = "UPDATE `#@__arctiny` SET `arcrank`='$arcrank', `typeid`='$typeid', `typeid2`='$typeid2', `sortrank`='$sortrank' WHERE id = '$id' "; $dsql->ExecuteNoneQuery($query); - //处理修改后的Tag + //处理修改后的tag if ($tags != '') { $oldtag = GetTags($id); $oldtags = explode(',', $oldtag); $tagss = explode(',', $tags); foreach ($tagss as $tag) { $tag = trim($tag); - if (isset($tag[12]) || $tag != stripslashes($tag)) { + if (isset($tag[255]) || $tag != stripslashes($tag)) { continue; } if (!in_array($tag, $oldtags)) { @@ -184,11 +184,11 @@ if (!function_exists('UpIndexKey')) { } } /** - * 插入Tags + * 插入tags * * @access public * @param string $tag 标签 - * @param int $aid 文档AID + * @param int $aid 文档aid * @return void */ if (!function_exists('InsertTags')) { @@ -197,7 +197,7 @@ if (!function_exists('InsertTags')) { $tags = explode(',', $tag); foreach ($tags as $tag) { $tag = trim($tag); - if (isset($tag[20]) || $tag != stripslashes($tag)) { + if (isset($tag[255]) || $tag != stripslashes($tag)) { continue; } InsertOneTag($tag, $aid); @@ -205,11 +205,11 @@ if (!function_exists('InsertTags')) { } } /** - * 插入一个tag + * 插入tag * * @access public * @param string $tag 标签 - * @param int $aid 文档AID + * @param int $aid 文档aid * @return void */ if (!function_exists('InsertOneTag')) { diff --git a/src/theme/dedebiz/foot.htm b/src/theme/dedebiz/foot.htm index 7cc3a389..bbdd832a 100644 --- a/src/theme/dedebiz/foot.htm +++ b/src/theme/dedebiz/foot.htm @@ -5,7 +5,7 @@
    - +
    diff --git a/src/user/soft_edit.php b/src/user/soft_edit.php index 40c0708c..07b9a104 100755 --- a/src/user/soft_edit.php +++ b/src/user/soft_edit.php @@ -50,7 +50,7 @@ if (empty($dopost)) { if (is_array($dtp->CTags)) { foreach ($dtp->CTags as $ctag) { if ($ctag->GetName() == 'link') { - $nForm .= "
    选择
    + $nForm .= "
    选择
    "; $newRowStart++; } diff --git a/src/user/templets/album_edit.htm b/src/user/templets/album_edit.htm index 5862b440..735d40a5 100755 --- a/src/user/templets/album_edit.htm +++ b/src/user/templets/album_edit.htm @@ -105,7 +105,7 @@
    -
    选择
    +
    选择
    diff --git a/src/user/templets/soft_add.htm b/src/user/templets/soft_add.htm index e387bd9e..04c1c0bd 100755 --- a/src/user/templets/soft_add.htm +++ b/src/user/templets/soft_add.htm @@ -10,6 +10,23 @@ + @@ -130,7 +147,7 @@
    - +
    @@ -158,10 +175,10 @@
    - +
    -
    选择
    +
    选择
    @@ -169,8 +186,8 @@
    其它地址: - - + +
    ";?> @@ -185,23 +202,6 @@
    - \ No newline at end of file diff --git a/src/user/templets/soft_edit.htm b/src/user/templets/soft_edit.htm index 3b774708..6adc0a4b 100755 --- a/src/user/templets/soft_edit.htm +++ b/src/user/templets/soft_edit.htm @@ -10,6 +10,23 @@ + @@ -161,10 +178,10 @@
    - 其它地址: + 链接上传: - - + +