From af4be19d6918d4157c9c68bca3a7ac09dbad4d6e 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: Wed, 7 Jun 2023 17:02:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/article_string_mix.php | 2 +- src/admin/file_manage_control.php | 19 +++++++---- src/admin/mychannel_edit.php | 12 +++---- src/admin/sys_data_replace.php | 4 +-- src/admin/templets/catalog_add.htm | 2 +- src/admin/templets/catalog_edit.htm | 2 +- src/admin/templets/content_att.htm | 2 +- src/admin/templets/file_edit.htm | 4 +-- src/admin/templets/freelist_add.htm | 2 +- src/admin/templets/freelist_edit.htm | 2 +- src/admin/templets/member_edit.htm | 2 +- src/admin/templets/member_rank.htm | 4 +-- src/admin/templets/mychannel_edit.htm | 2 +- src/admin/templets/mychannel_field_edit.htm | 2 +- src/admin/templets/sys_data_replace.htm | 4 +-- src/admin/templets/tag_test.htm | 5 --- src/admin/templets/templets_tagsource.htm | 2 +- src/admin/templets/tpl_edit.htm | 2 +- src/admin/templets/tpl_edit_tag.htm | 4 +-- src/admin/templets/tpl_newfile.htm | 2 +- src/static/web/css/admin.css | 22 ++++++------- src/static/web/css/style.css | 36 +++++++++++---------- 22 files changed, 71 insertions(+), 67 deletions(-) diff --git a/src/admin/article_string_mix.php b/src/admin/article_string_mix.php index 518a65b6..9b4957a2 100644 --- a/src/admin/article_string_mix.php +++ b/src/admin/article_string_mix.php @@ -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/file_manage_control.php b/src/admin/file_manage_control.php index 4aae9ce3..233921a2 100644 --- a/src/admin/file_manage_control.php +++ b/src/admin/file_manage_control.php @@ -87,7 +87,7 @@ else if ($fmdo == "upload") { $j++; } } - ShowMsg("成功上传$j个文件到: $activepath", "file_manage_main.php?activepath=$activepath"); + ShowMsg("成功上传$j个文件到$activepath", "file_manage_main.php?activepath=$activepath"); exit(); } //空间检查 @@ -97,9 +97,8 @@ else if ($fmdo == "space") { } else { $ecpath = $activepath; } - $titleinfo = "[$ecpath]空间使用状况:
"; - $wintitle = "检查空间大小"; - $wecome_info = "文件管理 - 空间大小"; + $wintitle = "指定空间检查大小"; + $wecome_info = "文件管理器 - $ecpath空间检查大小"; $activepath = $cfg_basedir.$activepath; $space = new SpaceUse; $space->checksize($activepath); @@ -108,8 +107,16 @@ else if ($fmdo == "space") { $totalmb = $space->setmb($total); $win = new OxWindow(); $win->Init("", "js/blank.js", "POST"); - $win->AddTitle($titleinfo); - $win->AddMsgItem("$totalmb M
$totalkb KB
$total 字节"); + $win->AddMsgItem(" + + $totalkbKB
+ $totalmbM
+ $total字节 + + + + + "); $winform = $win->GetWindow(""); $win->Display(); } diff --git a/src/admin/mychannel_edit.php b/src/admin/mychannel_edit.php index d35c30e5..4c379a52 100644 --- a/src/admin/mychannel_edit.php +++ b/src/admin/mychannel_edit.php @@ -133,7 +133,7 @@ if ($dopost == "show") { 文档模型规则出错 - + "); $fields = array(); foreach ($dtp->CTags as $ctag) { @@ -145,7 +145,7 @@ if ($dopost == "show") { 文档模型规则出错 - + "); } //正常的导入过程 @@ -156,7 +156,7 @@ if ($dopost == "show") { 已经存在相同的{$fields['nid']}模型 - + "); } //创建表 @@ -176,7 +176,7 @@ if ($dopost == "show") { 创建数据表失败:{$dsql->GetError()} - + "); exit(); } @@ -196,7 +196,7 @@ if ($dopost == "show") { 导入文档模型时发生错误:{$dsql->GetError()} - + "); $dtp = new DedeTagParse(); $dtp->SetNameSpace("field", "<", ">"); @@ -226,7 +226,7 @@ if ($dopost == "show") { 成功导入一个文档模型 - + "); } else if ($dopost == "copysave") { $cid = intval($cid); diff --git a/src/admin/sys_data_replace.php b/src/admin/sys_data_replace.php index 1af1c921..b7eb0115 100644 --- a/src/admin/sys_data_replace.php +++ b/src/admin/sys_data_replace.php @@ -23,7 +23,7 @@ else if ($action == 'getfields') { AjaxHead(); $dsql->GetTableFields($exptable); echo "
"; - echo "表".$exptable."含有的字段:
"; + echo "

".$exptable."含有的字段:

"; while ($row = $dsql->GetFieldObject()) { echo "name}')\">".$row->name."\r\n"; } @@ -35,7 +35,7 @@ else if ($action == 'apply') { $validate = empty($validate) ? '' : strtolower($validate); $svali = GetCkVdValue(); if ($validate == "" || $validate != $svali) { - ShowMsg("安全确认码不正确", "javascript:;"); + ShowMsg("验证码不正确", "javascript:;"); exit(); } if ($exptable == '' || $rpfield == '') { diff --git a/src/admin/templets/catalog_add.htm b/src/admin/templets/catalog_add.htm index 8d938dbc..32362774 100644 --- a/src/admin/templets/catalog_add.htm +++ b/src/admin/templets/catalog_add.htm @@ -171,7 +171,7 @@
- + diff --git a/src/admin/templets/catalog_edit.htm b/src/admin/templets/catalog_edit.htm index 3cd79ad3..92ba7c29 100644 --- a/src/admin/templets/catalog_edit.htm +++ b/src/admin/templets/catalog_edit.htm @@ -157,7 +157,7 @@
- + 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/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..dc1f2566 100644 --- a/src/admin/templets/freelist_add.htm +++ b/src/admin/templets/freelist_add.htm @@ -30,7 +30,7 @@ -
自由列表标记说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成按自定义排序规则的文档列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或浏览速度
+
自由列表说明:freelist功能基本等同于arclist标签,区别是freelist标签支持分页,按自定义排序规则的文档列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,不会影响系统生成网页或浏览速度
diff --git a/src/admin/templets/freelist_edit.htm b/src/admin/templets/freelist_edit.htm index 63a74dcb..8b81c2eb 100644 --- a/src/admin/templets/freelist_edit.htm +++ b/src/admin/templets/freelist_edit.htm @@ -28,7 +28,7 @@ -
自由列表标记说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成按自定义排序规则的文档列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或浏览速度
+
自由列表说明:freelist功能基本等同于arclist标签,区别是freelist标签支持分页,按自定义排序规则的文档列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,不会影响系统生成网页或浏览速度
diff --git a/src/admin/templets/member_edit.htm b/src/admin/templets/member_edit.htm index 4748c26d..28b34f43 100644 --- a/src/admin/templets/member_edit.htm +++ b/src/admin/templets/member_edit.htm @@ -19,7 +19,7 @@ 会员管理 - 修改会员 -
当前会员关连网站管理员
';?> +
该会员关连网站管理员,修改不当会导致无法登录
';?> 头像/会员名: 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 @@ -
级别名称和级别值:注册会员这个级别不能删除,否则会员系统会无法正常使用某些功能
+
会员级别说明:注册会员级别不能删除,删除会影响会员功能无法使用某些功能
@@ -49,7 +49,7 @@ -
新增一个级别:由于会员升级是以级别值由低向高升级的,因此添加组别时需注意此值的设置,如果您添加新的会员组的级别值低于10,将自动被视为普通的注册会员
+
会员级别说明:由于会员级别值由低向高升级,因此添加组别时需注意此值,如果您添加会员组的级别值低于10,将自动被视为普通的注册会员
diff --git a/src/admin/templets/mychannel_edit.htm b/src/admin/templets/mychannel_edit.htm index 24cecdf7..5ca08889 100644 --- a/src/admin/templets/mychannel_edit.htm +++ b/src/admin/templets/mychannel_edit.htm @@ -26,7 +26,7 @@ -
修改系统模型有风险,请不要随便修改系统模型的字段相关属性
+
系统模型字段参数配置,修改不当会导致模型出错
diff --git a/src/admin/templets/mychannel_field_edit.htm b/src/admin/templets/mychannel_field_edit.htm index 6be5251f..ff28f445 100644 --- a/src/admin/templets/mychannel_field_edit.htm +++ b/src/admin/templets/mychannel_field_edit.htm @@ -26,7 +26,7 @@ -
修改系统模型有风险,请不要随便修改系统模型的字段相关属性
+
系统模型字段参数配置,修改不当会导致模型出错
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/static/web/css/admin.css b/src/static/web/css/admin.css index 450ae6a2..9ed2984c 100644 --- a/src/static/web/css/admin.css +++ b/src/static/web/css/admin.css @@ -657,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 48b078ce..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 @@ -448,20 +450,20 @@ input[type=file] { @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