diff --git a/app/common.php b/app/common.php index fd497ac..bb08414 100644 --- a/app/common.php +++ b/app/common.php @@ -1026,6 +1026,7 @@ function set_recursion($result, $pid = 0, $level=-1) if ($v['pid'] == $pid) { if ($pid != 0) { $v['title'] = $space[$level] . $v['title']; + $v['level'] = $level+1; } /*将该类别的数据放入list中*/ $list[] = $v; diff --git a/app/home/controller/Index.php b/app/home/controller/Index.php index a53282a..27ed64f 100644 --- a/app/home/controller/Index.php +++ b/app/home/controller/Index.php @@ -95,6 +95,7 @@ class Index extends BaseController } View::assign('menu', $list); View::assign('theme',$admin['theme']); + View::assign('web',get_system_config('web')); return View(); } } diff --git a/app/home/view/conf/index.html b/app/home/view/conf/index.html index 90ac2ee..20b5e91 100644 --- a/app/home/view/conf/index.html +++ b/app/home/view/conf/index.html @@ -1,7 +1,7 @@ {extend name="../../base/view/common/base" /} {block name="body"} -
系统主题 | -- {empty name="$config.theme"} - - - {else/} - - - {/empty} - | 开发者 | diff --git a/app/home/view/conf/web.html b/app/home/view/conf/web.html index 1619948..492fc29 100644 --- a/app/home/view/conf/web.html +++ b/app/home/view/conf/web.html @@ -11,55 +11,38 @@ | -网站名称* + | 左侧菜单模式 | ++ {empty name="$config.menu_mode"} + + + {else/} + + + {/empty} + | +||
系统域名* | - + | -系统大LOGO | -
-
-
- ![]() 系统大LOGO |
+
+ |
-
+
+
![]() | |||
网站域名* - | -- - | -ICP备案号 | -- - | -|||||
SEO关键词* - | -- - | -公安备案号 | -- - | -|||||
SEO描述* - | -- - | -系统小LOGO | -
-
-
- ![]() 系统小LOGO |
+
+ |
+
+
@@ -67,21 +50,40 @@
![]() | |||
统计代码 | -- + | ICP备案号 | ++ | |||||
版权信息 | -- + | 公安备案号 | ++ | +|||||
系统关键词* | ++ + | +|||||||
系统描述* + | ++ + | +|||||||
代码版本号* | + | 版权信息 | ++ + |