mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-16 17:28:41 +00:00
fixes #62
This commit is contained in:
parent
9ff1c20c78
commit
a1e3124724
|
|
@ -5,7 +5,7 @@
|
||||||
"type": 2,
|
"type": 2,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Media",
|
"name": "Media",
|
||||||
"uri": "/{/lang}/backend/media/list?{?}",
|
"uri": "{/base}/{/lang}/backend/media/list?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 20,
|
"order": 20,
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "List",
|
"name": "List",
|
||||||
"uri": "/{/lang}/backend/media/list?{?}",
|
"uri": "{/base}/{/lang}/backend/media/list?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 1,
|
"order": 1,
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 5,
|
"subtype": 5,
|
||||||
"name": "Create",
|
"name": "Create",
|
||||||
"uri": "/{/lang}/backend/media/create?{?}",
|
"uri": "{/base}/{/lang}/backend/media/create?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 5,
|
"order": 5,
|
||||||
|
|
@ -51,7 +51,7 @@
|
||||||
"type": 2,
|
"type": 2,
|
||||||
"subtype": 2,
|
"subtype": 2,
|
||||||
"name": "Media",
|
"name": "Media",
|
||||||
"uri": "/{/lang}/backend/profile/single/media?{?}",
|
"uri": "{/base}/{/lang}/backend/profile/single/media?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 3,
|
"order": 3,
|
||||||
|
|
@ -66,7 +66,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Media",
|
"name": "Media",
|
||||||
"uri": "/{/lang}/backend/admin/account/single/media?{?}",
|
"uri": "{/base}/{/lang}/backend/admin/account/single/media?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 3,
|
"order": 3,
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<td colspan="3"><?= $footerView->render(); ?>
|
<td colspan="3"><?= $footerView->render(); ?>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $count = 0; foreach($media as $key => $value) : $count++;
|
<?php $count = 0; foreach($media as $key => $value) : $count++;
|
||||||
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/media/single?{?}&id=' . $value->getId());
|
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/media/single?{?}&id=' . $value->getId());
|
||||||
|
|
||||||
$icon = '';
|
$icon = '';
|
||||||
$extensionType = \phpOMS\System\File\FileUtils::getExtensionType($value->getExtension());
|
$extensionType = \phpOMS\System\File\FileUtils::getExtensionType($value->getExtension());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user