diff --git a/themes/beauty/views/site/index.php b/themes/beauty/views/site/index.php index 85a1ede..85936c1 100644 --- a/themes/beauty/views/site/index.php +++ b/themes/beauty/views/site/index.php @@ -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'; ?> -