diff --git a/src/admin/index_body.php b/src/admin/index_body.php index 48188726..f9d96e2b 100644 --- a/src/admin/index_body.php +++ b/src/admin/index_body.php @@ -31,38 +31,40 @@ if (empty($dopost)) { exit; } elseif ($dopost == 'get_articles') { ?> - - - 0) { - $admin_catalog = join(',', $admin_catalogs); - $userCatalogSql = "AND arc.typeid IN($admin_catalog) "; - } - $query = "SELECT arc.id, arc.arcrank, arc.title, arc.typeid, arc.mid, arc.pubdate, arc.channel, ch.editcon, tp.typename FROM `#@__archives` arc LEFT JOIN `#@__channeltype` ch ON ch.id = arc.channel LEFT JOIN `#@__arctype` tp ON arc.typeid=tp.id WHERE arc.arcrank<>-2 {$userCatalogSql} AND arc.mid={$cuserLogin->getUserID()} ORDER BY arc.id DESC LIMIT 0,10"; - $arcArr = array(); - $dsql->Execute('m', $query); - while($row = $dsql->GetArray('m')) - { - $arcArr[] = $row; - } - ?> - 0) { - foreach($arcArr as $row) +
+
+ + 0) { + $admin_catalog = join(',', $admin_catalogs); + $userCatalogSql = "AND arc.typeid IN($admin_catalog) "; + } + $query = "SELECT arc.id, arc.arcrank, arc.title, arc.typeid, arc.mid, arc.pubdate, arc.channel, ch.editcon, tp.typename FROM `#@__archives` arc LEFT JOIN `#@__channeltype` ch ON ch.id = arc.channel LEFT JOIN `#@__arctype` tp ON arc.typeid=tp.id WHERE arc.arcrank<>-2 {$userCatalogSql} AND arc.mid={$cuserLogin->getUserID()} ORDER BY arc.id DESC LIMIT 0,10"; + $arcArr = array(); + $dsql->Execute('m', $query); + while($row = $dsql->GetArray('m')) { - if (trim($row['editcon']) == '') { - $row['editcon'] = 'archives_edit.php'; - } - $rowarcrank = $row['arcrank']==-1 ? '待审核' : '已审核'; - $pubdate = GetDateMk($row['pubdate']); - $row['title'] = cn_substr($row['title'], 50); - echo ""; + $arcArr[] = $row; } - ?> - - -
{$row['title']}{$rowarcrank}{$pubdate}
+ ?> + 0) { + foreach($arcArr as $row) + { + if (trim($row['editcon']) == '') { + $row['editcon'] = 'archives_edit.php'; + } + $rowarcrank = $row['arcrank']==-1 ? '待审核' : '已审核'; + $pubdate = GetDateMk($row['pubdate']); + $row['title'] = cn_substr($row['title'], 50); + echo "{$row['title']}{$rowarcrank}{$pubdate}"; + } + ?> + + + + 广告管理 -
标签{dede:myad name='广告标记'/}调用
添加广告
+
标签{dede:myad name='广告标记'/}调用
diff --git a/src/admin/templets/article_test_same.htm b/src/admin/templets/article_test_same.htm index 332d8bf7..0d551994 100644 --- a/src/admin/templets/article_test_same.htm +++ b/src/admin/templets/article_test_same.htm @@ -22,7 +22,7 @@ - +
栏目类型模型类型
diff --git a/src/admin/templets/diy_field_add.htm b/src/admin/templets/diy_field_add.htm index 8d557330..bddb4c26 100644 --- a/src/admin/templets/diy_field_add.htm +++ b/src/admin/templets/diy_field_add.htm @@ -17,10 +17,10 @@ -
不支持字段输入单引号和双引号
添加自定义表单字段
+
不支持字段输入单引号和双引号
diff --git a/src/admin/templets/freelist_add.htm b/src/admin/templets/freelist_add.htm index 4715563d..866180ef 100644 --- a/src/admin/templets/freelist_add.htm +++ b/src/admin/templets/freelist_add.htm @@ -23,10 +23,10 @@ -
freelist标签基本等同于arclist标签,区别是freelist标签支持分页,按自定义排序规则的文档列表,且自由列是独立编译的,轻松的实现统一化管理
添加自由列表
+
freelist标签基本等同于arclist标签,区别是freelist标签支持分页,按自定义排序规则的文档列表,且自由列是独立编译的,轻松的实现统一化管理
diff --git a/src/admin/templets/index_body.htm b/src/admin/templets/index_body.htm index c4cf3bec..da38ad8a 100644 --- a/src/admin/templets/index_body.htm +++ b/src/admin/templets/index_body.htm @@ -24,39 +24,43 @@
流量统计表
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
浏览次数(PV)独立访客(UV)独立地址(IP)访问次数(VV)
今日记录0000
昨日记录0000
历史峰值0000
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
浏览次数(PV)独立访客(UV)独立地址(IP)访问次数(VV)
今日记录0000
昨日记录0000
历史峰值0000
+
@@ -65,49 +69,39 @@
软件信息
-
- - - - + + +
-
+
+
+ + + + - + - + - + - + - + - - -

操作系统

- -
-
+

WEB服务器

- -
-
+

IP地址

- -
-
+

PHP版本

- -
-
+

数据库版本

GetVersion();?> - -
-
+

上传限制

- -
+
+
@@ -117,7 +111,7 @@ 版本授权 软件更新
-
正在加载
+
正在加载
@@ -135,7 +129,7 @@
最新文档
-
正在加载
+
正在加载
diff --git a/src/admin/templets/makehtml_spec.htm b/src/admin/templets/makehtml_spec.htm index 98c269d5..0bc5009a 100644 --- a/src/admin/templets/makehtml_spec.htm +++ b/src/admin/templets/makehtml_spec.htm @@ -13,10 +13,10 @@ -
发布专题后需要手动更新,建议专题目录设置仅可读写权限,存放目录:
更新专题
+
发布专题后需要手动更新,建议专题目录设置仅可读写权限,存放目录:
diff --git a/src/admin/templets/makehtml_tag_list.htm b/src/admin/templets/makehtml_tag_list.htm index 99fc0838..c2296489 100644 --- a/src/admin/templets/makehtml_tag_list.htm +++ b/src/admin/templets/makehtml_tag_list.htm @@ -13,10 +13,10 @@ -
更新静态文件后,浏览动态链接则跳转至静态链接,需要动态浏览则删除对应静态文件。标签首页模板://tag.htm 标签文档列表模板://tag_list.htm
更新专题
+
更新静态文件后,浏览动态链接则跳转至静态链接,需要动态浏览则删除对应静态文件。标签首页模板://tag.htm 标签文档列表模板://tag_list.htm
diff --git a/src/admin/templets/member_edit.htm b/src/admin/templets/member_edit.htm index 70e7841b..e2e4a2e0 100644 --- a/src/admin/templets/member_edit.htm +++ b/src/admin/templets/member_edit.htm @@ -17,10 +17,10 @@ - 该会员关连网站管理员,请谨慎修改';?>
修改会员
+ 该会员关连网站管理员,请谨慎修改
';?> diff --git a/src/admin/templets/member_rank.htm b/src/admin/templets/member_rank.htm index 4058a8e0..ad7b4a38 100644 --- a/src/admin/templets/member_rank.htm +++ b/src/admin/templets/member_rank.htm @@ -13,10 +13,10 @@ -
注册会员级别不建议删除,否则会影响会员功能无法使用某些功能,会员级别值由低向高升级,因此添加组别时需注意此值,如果您添加会员组的级别值低于10,将自动被视为普通的注册会员
会员级别设置
+
注册会员级别不建议删除,否则会影响会员功能无法使用某些功能,会员级别值由低向高升级,因此添加组别时需注意此值,如果您添加会员组的级别值低于10,将自动被视为普通的注册会员
diff --git a/src/admin/templets/member_toadmin.htm b/src/admin/templets/member_toadmin.htm index 78ecd7d5..7973743b 100644 --- a/src/admin/templets/member_toadmin.htm +++ b/src/admin/templets/member_toadmin.htm @@ -17,11 +17,10 @@ - 您已经是管理员,不要提升了
';} else {?>
提升会员
- + 您已经是管理员,不要提升了
';} else {?> @@ -93,8 +92,8 @@
+
- \ No newline at end of file diff --git a/src/admin/templets/module_make.htm b/src/admin/templets/module_make.htm index 8c958a8e..9930a2ea 100644 --- a/src/admin/templets/module_make.htm +++ b/src/admin/templets/module_make.htm @@ -15,10 +15,10 @@ -
开发模块插件,请先了解《DedeBIZ贡献者》
模块打包
+
开发模块插件,请先了解《DedeBIZ贡献者》
diff --git a/src/admin/templets/mychannel_edit.htm b/src/admin/templets/mychannel_edit.htm index 324050c4..d5cd6b68 100644 --- a/src/admin/templets/mychannel_edit.htm +++ b/src/admin/templets/mychannel_edit.htm @@ -20,10 +20,10 @@ -
默认文档模型字段,请谨慎修改
修改文档模型
+
默认文档模型字段,请谨慎修改
diff --git a/src/admin/templets/mychannel_field_add.htm b/src/admin/templets/mychannel_field_add.htm index 52be9a12..7b0bb4e1 100644 --- a/src/admin/templets/mychannel_field_add.htm +++ b/src/admin/templets/mychannel_field_add.htm @@ -17,10 +17,10 @@ -
不支持字段输入单引号和双引号
添加文档模型字段
+
不支持字段输入单引号和双引号
diff --git a/src/admin/templets/mytag_add.htm b/src/admin/templets/mytag_add.htm index 17161c4b..a9f374bd 100644 --- a/src/admin/templets/mytag_add.htm +++ b/src/admin/templets/mytag_add.htm @@ -20,10 +20,10 @@ -
标签{dede:mytag name='标记名称' ismake='yes或no' typeid='栏目id'/}调用
添加自定义宏标记
+
标签{dede:mytag name='标记名称' ismake='yes或no' typeid='栏目id'/}调用
diff --git a/src/admin/templets/spec_add.htm b/src/admin/templets/spec_add.htm index cfb09561..22ec75ab 100644 --- a/src/admin/templets/spec_add.htm +++ b/src/admin/templets/spec_add.htm @@ -61,10 +61,10 @@ -
文档列表(英文逗号隔开,如:1,2,3)单条记录模板[field:fieldname/]标签,更多调用参考arclist标签
发布专题
+
文档列表(英文逗号隔开,如:1,2,3)单条记录模板[field:fieldname/]标签,更多调用参考arclist标签
diff --git a/src/admin/templets/sys_cache_up.htm b/src/admin/templets/sys_cache_up.htm index 01aed5d9..2b631510 100644 --- a/src/admin/templets/sys_cache_up.htm +++ b/src/admin/templets/sys_cache_up.htm @@ -13,10 +13,10 @@ -
更新栏目、枚举、文档调用、过期会员浏览记录、过期会员短信、过期流量统计等缓存
更新缓存
+
更新栏目、枚举、文档调用、过期会员浏览记录、过期会员短信、过期流量统计等缓存
diff --git a/src/admin/templets/sys_data_replace.htm b/src/admin/templets/sys_data_replace.htm index 1afb4365..7a233029 100644 --- a/src/admin/templets/sys_data_replace.htm +++ b/src/admin/templets/sys_data_replace.htm @@ -17,10 +17,10 @@ -
数据批量替换,请谨慎操作
数据批量替换
+
数据批量替换,请谨慎操作
diff --git a/src/admin/templets/templets_one_add.htm b/src/admin/templets/templets_one_add.htm index 04d240ff..76f6709d 100644 --- a/src/admin/templets/templets_one_add.htm +++ b/src/admin/templets/templets_one_add.htm @@ -17,10 +17,10 @@ -
文档单页管理等同于单页文档,例如:页面标题标签{dede:field.title/}调用
文档单页管理
+
文档单页管理等同于单页文档,例如:页面标题标签{dede:field.title/}调用
diff --git a/src/admin/templets/templets_tagsource.htm b/src/admin/templets/templets_tagsource.htm index 928fd584..b304ebf4 100644 --- a/src/admin/templets/templets_tagsource.htm +++ b/src/admin/templets/templets_tagsource.htm @@ -13,10 +13,10 @@ -
默认标签源码文件,请谨慎修改
标签源码管理
+
默认标签源码文件,请谨慎修改
diff --git a/src/admin/templets/tpl_edit_tag.htm b/src/admin/templets/tpl_edit_tag.htm index 4826f1d9..f1941845 100644 --- a/src/admin/templets/tpl_edit_tag.htm +++ b/src/admin/templets/tpl_edit_tag.htm @@ -25,10 +25,10 @@ -
默认标签源码文件,请谨慎修改
新建/修改标签源码
+
默认标签源码文件,请谨慎修改
diff --git a/src/static/web/css/admin.css b/src/static/web/css/admin.css index 606a66d4..15d24b2e 100644 --- a/src/static/web/css/admin.css +++ b/src/static/web/css/admin.css @@ -354,11 +354,6 @@ body.menu-show .body-right { height:99%; border:0 } -.web-info { - padding:10px; - background:var(--light); - white-space:nowrap -} #_fileList,#_verList { height:350px; overflow-y:auto @@ -652,22 +647,22 @@ body.menu-show .body-right { border:0 } .card-header { - padding:0.5rem 1rem; + padding:1rem; background-color:rgba(0,0,0,0); border-bottom:1px solid rgba(0,0,0,0.05) } .card-body { - padding:0.5rem + padding:1rem } .card-body canvas { - height:348px!important + height:365px!important } .table { margin-bottom:0; color:var(--gray) } .table th,.table td { - padding:0.5rem; + padding:0.5rem 0; vertical-align:middle } .form-control { @@ -783,7 +778,7 @@ span.page-link { color:var(--white); background:var(--green) } -input,select,textarea,.web-info,.upload-bg,.colordlg,.pubdlg,.quickselitem .topcat,.mysource,.mywriter,#edsta,.cke_chrome,.cke_inner,.pagination,.card,.form-control,.btn,.alert,.rounded { +input,select,textarea,.upload-bg,.colordlg,.pubdlg,.quickselitem .topcat,.mysource,.mywriter,#edsta,.cke_chrome,.cke_inner,.pagination,.card,.form-control,.btn,.alert,.rounded { border-radius:var(--b-radius)!important } .cke_top { diff --git a/src/static/web/img/admin.png b/src/static/web/img/admin.png index b514ee1d..9e18ef55 100644 Binary files a/src/static/web/img/admin.png and b/src/static/web/img/admin.png differ diff --git a/src/static/web/js/admin.body.js b/src/static/web/js/admin.body.js index 0bea12af..ecd37268 100644 --- a/src/static/web/js/admin.body.js +++ b/src/static/web/js/admin.body.js @@ -154,49 +154,39 @@ $(document).ready(function() { } else { dedebizInfo = false; } - let infoStr = `
`; + let infoStr = `
`; if (typeof rsp.result.domain !== "undefined") { infoStr += ``; } - infoStr += "
-
-

授权域名

- ${rsp.result.domain} -
+

授权域名

+ ${rsp.result.domain}
-
-

站点名称

- ${rsp.result.title} -
+

站点名称

+ ${rsp.result.title}
-
-

授权证书

- 查看证书 -
+

授权证书

+ 查看证书
-
-

授权时间

- ${rsp.result.auth_at} -
+

授权时间

+ ${rsp.result.auth_at}
"; + infoStr += "
"; $("#system-info").html(infoStr); } else { - $("#system-info").html(` + $("#system-info").html(`
-
-
-

${rsp.msg}

- 前往DedeBIZ官网,查看版本相关授权信息 -
+

${rsp.msg}

+ 前往DedeBIZ官网,查看版本相关授权信息
`); +
`); } }); });