Browse Source

bug fix

master
filesite 4 months ago
parent
commit
e95c5c5318
  1. 2
      themes/beauty/views/site/index.php

2
themes/beauty/views/site/index.php

@ -221,7 +221,6 @@ eof;
//分割目录和文件 //分割目录和文件
echo '</div>'; echo '</div>';
if (!empty($category['files']) && count($category['files']) > 3) {
$arrowImg = $dir_ext_status == 'opened' ? 'arrow-up.svg' : 'arrow-down.svg'; $arrowImg = $dir_ext_status == 'opened' ? 'arrow-up.svg' : 'arrow-down.svg';
$btnTxt = $dir_ext_status == 'opened' ? '收拢' : '展开'; $btnTxt = $dir_ext_status == 'opened' ? '收拢' : '展开';
echo <<<eof echo <<<eof
@ -230,7 +229,6 @@ eof;
<button class="btn btn-default btn-xs btn-dir-ext" data-status="{$dir_ext_status}"><img src="/img/{$arrowImg}" alt="directory toggle"> <span>{$btnTxt}</span></button> <button class="btn btn-default btn-xs btn-dir-ext" data-status="{$dir_ext_status}"><img src="/img/{$arrowImg}" alt="directory toggle"> <span>{$btnTxt}</span></button>
</div> </div>
eof; eof;
}
echo '<div class="im_mainl row">'; echo '<div class="im_mainl row">';
} }

Loading…
Cancel
Save