Browse Source

theme webdirectory improve

master
filesite 1 year ago
parent
commit
be155d813d
  1. 2
      themes/webdirectory/views/site/index.php

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

@ -34,6 +34,7 @@ eof; @@ -34,6 +34,7 @@ eof;
//URL链接
if (!empty($dir['files'])) {
foreach($dir['files'] as $urlItem) {
if (empty($urlItem['shortcut'])) {continue;}
echo <<<eof
<div class="url">
<a href="{$urlItem['shortcut']['url']}" target="_blank">
@ -55,6 +56,7 @@ eof; @@ -55,6 +56,7 @@ eof;
//URL链接
if (!empty($item['files'])) {
foreach($item['files'] as $fid => $urlItem) {
if (empty($urlItem['shortcut'])) {continue;}
echo <<<eof
<div class="url">
<a href="{$urlItem['shortcut']['url']}" target="_blank">

Loading…
Cancel
Save