|
|
@ -10,6 +10,11 @@ $supportedExts = array_merge($imgExts, $videoExts); |
|
|
|
$authConfig = FSC::$app['config']['password_auth']; |
|
|
|
$authConfig = FSC::$app['config']['password_auth']; |
|
|
|
|
|
|
|
|
|
|
|
$dir_ext_status = !empty($_COOKIE['dir_ext_status']) ? $_COOKIE['dir_ext_status'] : 'opened'; |
|
|
|
$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"> |
|
|
|
<nav class="navbar navbar-default navbar-fixed-top navbarJS"> |
|
|
|
<div class="container-fluid"> |
|
|
|
<div class="container-fluid"> |
|
|
@ -47,7 +52,7 @@ $dir_ext_status = !empty($_COOKIE['dir_ext_status']) ? $_COOKIE['dir_ext_status' |
|
|
|
</form> |
|
|
|
</form> |
|
|
|
*/ ?> |
|
|
|
*/ ?> |
|
|
|
|
|
|
|
|
|
|
|
<ul class="nav navbar-fixed-left"> |
|
|
|
<ul class="nav navbar-fixed-left <?=$menu_expand_icon_cls?>"> |
|
|
|
<?php |
|
|
|
<?php |
|
|
|
$breadcrumbs = !empty($viewData['breadcrumbs']) ? $viewData['breadcrumbs'] : []; |
|
|
|
$breadcrumbs = !empty($viewData['breadcrumbs']) ? $viewData['breadcrumbs'] : []; |
|
|
|
if (!empty($viewData['menus'])) { //只显示第一级目录 |
|
|
|
if (!empty($viewData['menus'])) { //只显示第一级目录 |
|
|
@ -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> |
|
|
|
</ul> |
|
|
|
</div><!-- /.navbar-collapse --> |
|
|
|
</div><!-- /.navbar-collapse --> |
|
|
|
</div><!-- /.container-fluid --> |
|
|
|
</div><!-- /.container-fluid --> |
|
|
|
</nav> |
|
|
|
</nav> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 内容主题 --> |
|
|
|
<!-- 内容主题 --> |
|
|
|
<div class="img_main"> |
|
|
|
<div class="img_main <?=$main_view_cls?>"> |
|
|
|
|
|
|
|
|
|
|
|
<?php |
|
|
|
<?php |
|
|
|
$category = !empty($viewData['scanResults'][$selectedId]) ? $viewData['scanResults'][$selectedId] : []; |
|
|
|
$category = !empty($viewData['scanResults'][$selectedId]) ? $viewData['scanResults'][$selectedId] : []; |
|
|
|