mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-15 00:38:41 +00:00
fix use
This commit is contained in:
parent
5e659516b8
commit
fadc62eb1e
|
|
@ -1,6 +1,7 @@
|
|||
<?php declare(strict_types=1);
|
||||
use phpOMS\System\File\ExtensionType;
|
||||
use phpOMS\System\File\FileUtils;
|
||||
use phpOMS\Uri\UriFactory;
|
||||
|
||||
?>
|
||||
<div class="box wf-100">
|
||||
|
|
@ -16,7 +17,7 @@ use phpOMS\System\File\FileUtils;
|
|||
<tfoot>
|
||||
<tbody>
|
||||
<?php $count = 0; foreach ($this->media as $key => $value) : ++$count;
|
||||
$url = \UriFactory::build('{/prefix}media/single?{?}&id=' . $value->getId());
|
||||
$url = UriFactory::build('{/prefix}media/single?{?}&id=' . $value->getId());
|
||||
|
||||
$icon = '';
|
||||
$extensionType = FileUtils::getExtensionType($value->getExtension());
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user