This commit is contained in:
Dennis Eichhorn 2017-05-30 18:21:27 +02:00
parent 9720e2b78c
commit 19d6b16fcd
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@
"type": 2,
"subtype": 1,
"name": "Editor",
"uri": "/{/lang}/backend/editor/list?{?}",
"uri": "{/base}/{/lang}/backend/editor/list?{?}",
"target": "self",
"icon": null,
"order": 75,
@ -19,7 +19,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "/{/lang}/backend/editor/list?{?}",
"uri": "{/base}/{/lang}/backend/editor/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -34,7 +34,7 @@
"type": 3,
"subtype": 5,
"name": "Create",
"uri": "/{/lang}/backend/editor/create?{?}",
"uri": "{/base}/{/lang}/backend/editor/create?{?}",
"target": "self",
"icon": null,
"order": 15,

View File

@ -40,7 +40,7 @@ echo $this->getData('nav')->render(); ?>
<td colspan="3"><?= $footerView->render(); ?>
<tbody>
<?php $count = 0; foreach($docs as $key => $value) : $count++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/editor/single?{?}&id=' . $value->getId()); ?>
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/editor/single?{?}&id=' . $value->getId()); ?>
<tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><?= $value->getTitle(); ?></a>
<td><a href="<?= $url; ?>"><?= $value->getCreatedBy(); ?></a>