first commit
This commit is contained in:
commit
788cf3e917
47 changed files with 2007 additions and 0 deletions
12
templates/partials/file/list.php
Normal file
12
templates/partials/file/list.php
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?php $this->layout('template', ['title' => $title ?? null, 'nav' => $nav ?? null]) ?>
|
||||
|
||||
<div class="list-group text-start mt-5 mx-auto w-fit-content">
|
||||
<div class="list-group-item">請選擇檔案:</div>
|
||||
<?php if (isset($list) && is_array($list)): ?>
|
||||
<?php foreach ($list as $file): ?>
|
||||
<a class="list-group-item list-group-item-action" href="view.php?file=<?= $this->e($file) ?>">
|
||||
<?= $this->e($file) ?>
|
||||
</a>
|
||||
<?php endforeach ?>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue