|
|
|
@ -10,6 +10,11 @@ $supportedExts = array_merge($imgExts, $videoExts);
@@ -10,6 +10,11 @@ $supportedExts = array_merge($imgExts, $videoExts);
|
|
|
|
|
$authConfig = FSC::$app['config']['password_auth']; |
|
|
|
|
|
|
|
|
|
$dir_ext_status = !empty($_COOKIE['dir_ext_status']) ? $_COOKIE['dir_ext_status'] : 'opened'; |
|
|
|
|
$menu_ext_status = !empty($_COOKIE['menu_ext_status']) ? $_COOKIE['menu_ext_status'] : 'opened'; |
|
|
|
|
|
|
|
|
|
$menu_expand_icon_cls = $menu_ext_status == 'opened' ? '' : 'closed'; |
|
|
|
|
$menu_expand_icon_url = $menu_ext_status == 'opened' ? 'arrow-left-circle.svg' : 'arrow-right-circle.svg'; |
|
|
|
|
$main_view_cls = $menu_ext_status == 'opened' ? '' : 'full'; |
|
|
|
|
?><!-- 顶部导航栏模块 --> |
|
|
|
|
<nav class="navbar navbar-default navbar-fixed-top navbarJS"> |
|
|
|
|
<div class="container-fluid"> |
|
|
|
@ -47,7 +52,7 @@ $dir_ext_status = !empty($_COOKIE['dir_ext_status']) ? $_COOKIE['dir_ext_status'
@@ -47,7 +52,7 @@ $dir_ext_status = !empty($_COOKIE['dir_ext_status']) ? $_COOKIE['dir_ext_status'
|
|
|
|
|
</form> |
|
|
|
|
*/ ?> |
|
|
|
|
|
|
|
|
|
<ul class="nav navbar-fixed-left"> |
|
|
|
|
<ul class="nav navbar-fixed-left <?=$menu_expand_icon_cls?>"> |
|
|
|
|
<?php |
|
|
|
|
$breadcrumbs = !empty($viewData['breadcrumbs']) ? $viewData['breadcrumbs'] : []; |
|
|
|
|
if (!empty($viewData['menus'])) { //只显示第一级目录 |
|
|
|
@ -59,13 +64,14 @@ eof;
@@ -59,13 +64,14 @@ eof;
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
?> |
|
|
|
|
<li class="expand-icon hidden-xs" data-status="<?=$menu_ext_status?>"><img src="/img/beauty/<?=$menu_expand_icon_url?>" width="18" alt="arrow"></li> |
|
|
|
|
</ul> |
|
|
|
|
</div><!-- /.navbar-collapse --> |
|
|
|
|
</div><!-- /.container-fluid --> |
|
|
|
|
</nav> |
|
|
|
|
|
|
|
|
|
<!-- 内容主题 --> |
|
|
|
|
<div class="img_main"> |
|
|
|
|
<div class="img_main <?=$main_view_cls?>"> |
|
|
|
|
|
|
|
|
|
<?php |
|
|
|
|
$category = !empty($viewData['scanResults'][$selectedId]) ? $viewData['scanResults'][$selectedId] : []; |
|
|
|
|