|
|
|
@ -58,7 +58,7 @@ $main_view_cls = $menu_ext_status == 'opened' ? '' : 'full';
@@ -58,7 +58,7 @@ $main_view_cls = $menu_ext_status == 'opened' ? '' : 'full';
|
|
|
|
|
|
|
|
|
|
<!--侧边栏--> |
|
|
|
|
<ul class="nav navbar-fixed-left <?=$menu_expand_icon_cls?>"> |
|
|
|
|
<li class="menu-title">按年月归类</li> |
|
|
|
|
<li class="menu-title">年月</li> |
|
|
|
|
<?php |
|
|
|
|
if (!empty($viewData['cacheDataByDate'])) { |
|
|
|
|
$arrYears = array_keys($viewData['cacheDataByDate']); |
|
|
|
@ -66,7 +66,7 @@ $main_view_cls = $menu_ext_status == 'opened' ? '' : 'full';
@@ -66,7 +66,7 @@ $main_view_cls = $menu_ext_status == 'opened' ? '' : 'full';
|
|
|
|
|
foreach($arrYears as $year) { |
|
|
|
|
$intYear = str_replace('y', '', $year); |
|
|
|
|
echo <<<eof |
|
|
|
|
<li><a href="###"><img src="/img/beauty/calendar.svg" alt="calendar" width="14" class="menu-icon"> {$intYear}年</a></li> |
|
|
|
|
<li><a href="###"><img src="/img/beauty/calendar.svg?gray" alt="calendar" width="14" class="menu-icon"> {$intYear}年</a></li> |
|
|
|
|
eof; |
|
|
|
|
} |
|
|
|
|
}else { |
|
|
|
|