mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
Drop short_tags
This commit is contained in:
@@ -6,16 +6,16 @@
|
||||
</span>
|
||||
<ul>
|
||||
|
||||
<? foreach ($parents as $dir): ?>
|
||||
<?php foreach ($parents as $dir): ?>
|
||||
<li class="ui-icon-left">
|
||||
<span class="ui-icon ui-icon-folder-open"></span>
|
||||
<span class="g-directory" ref="<?= html::clean_attribute($dir) ?>">
|
||||
<?= html::clean(basename($dir)) ?>
|
||||
</span>
|
||||
<ul>
|
||||
<? endforeach ?>
|
||||
<?php endforeach ?>
|
||||
|
||||
<? foreach ($files as $file): ?>
|
||||
<?php foreach ($files as $file): ?>
|
||||
<li class="ui-icon-left">
|
||||
<span class="ui-icon <?= is_dir($file) ? "ui-icon-folder-collapsed" : "ui-icon-document" ?>"></span>
|
||||
<span class="<?= is_dir($file) ? "g-directory" : "g-file" ?>"
|
||||
@@ -23,15 +23,15 @@
|
||||
<?= html::clean(basename($file)) ?>
|
||||
</span>
|
||||
</li>
|
||||
<? endforeach ?>
|
||||
<? if (!$files): ?>
|
||||
<?php endforeach ?>
|
||||
<?php if (!$files): ?>
|
||||
<li> <i> <?= t("empty") ?> </i> </li>
|
||||
<? endif ?>
|
||||
<?php endif ?>
|
||||
|
||||
<? foreach ($parents as $dir): ?>
|
||||
<?php foreach ($parents as $dir): ?>
|
||||
</ul>
|
||||
</li>
|
||||
<? endforeach ?>
|
||||
<?php endforeach ?>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user