From f49b608d0ee2278e1eab41bbacb843de76eaab05 Mon Sep 17 00:00:00 2001 From: filesite Date: Sat, 10 Aug 2024 16:21:11 +0800 Subject: [PATCH] improve submenu of no data in the root dir --- themes/beauty/views/layout/main.php | 2 +- themes/beauty/views/site/index.php | 29 ++++++++++++++++------------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/themes/beauty/views/layout/main.php b/themes/beauty/views/layout/main.php index 7c4ecd5..9e69d2b 100644 --- a/themes/beauty/views/layout/main.php +++ b/themes/beauty/views/layout/main.php @@ -93,7 +93,7 @@ require_once __DIR__ . '/../../../../plugins/Html.php'; - + diff --git a/themes/beauty/views/site/index.php b/themes/beauty/views/site/index.php index e432785..97808ec 100644 --- a/themes/beauty/views/site/index.php +++ b/themes/beauty/views/site/index.php @@ -228,21 +228,24 @@ eof; //显示图片、视频筛选链接 - $arrShowTypes = array( - 'all' => '所有', - 'image' => '照片', - 'video' => '视频', - ); - - echo ''; + //空目录显示提示信息 if (