Fix absolute path to relative paths

This commit is contained in:
Dennis Eichhorn 2019-02-11 11:38:15 +01:00
parent 218c72ece7
commit 3644c721dd
4 changed files with 7 additions and 7 deletions

View File

@ -5,7 +5,7 @@
"type": 2,
"subtype": 1,
"name": "Auditor",
"uri": "/{/lang}/backend/admin/audit/list?{?}",
"uri": "{/lang}/backend/admin/audit/list?{?}",
"target": "self",
"icon": null,
"order": 75,
@ -19,7 +19,7 @@
"type": 3,
"subtype": 1,
"name": "Audits",
"uri": "/{/lang}/backend/admin/audit/list?{?}",
"uri": "{/lang}/backend/admin/audit/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -34,7 +34,7 @@
"type": 3,
"subtype": 1,
"name": "Modules",
"uri": "/{/lang}/backend/admin/audit/module/list?{?}",
"uri": "{/lang}/backend/admin/audit/module/list?{?}",
"target": "self",
"icon": null,
"order": 5,
@ -49,7 +49,7 @@
"type": 3,
"subtype": 1,
"name": "Accounts",
"uri": "/{/lang}/backend/admin/audit/account/list?{?}",
"uri": "{/lang}/backend/admin/audit/account/list?{?}",
"target": "self",
"icon": null,
"order": 10,

View File

@ -31,7 +31,7 @@ echo $this->getData('nav')->render(); ?>
<td colspan="3">
<tbody>
<?php $count = 0; foreach ($audits as $key => $audit) : $count++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/audit/single?{?}&id=' . $audit->getId()); ?>
$url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/admin/audit/single?{?}&id=' . $audit->getId()); ?>
<tr data-href="<?= $url; ?>">
<td>
<?php endforeach; ?>

View File

@ -48,7 +48,7 @@ echo $this->getData('nav')->render(); ?>
<td colspan="9">
<tbody>
<?php $count = 0; foreach ($audits as $key => $audit) : $count++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/audit/single?{?}&id=' . $audit->getId()); ?>
$url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/admin/audit/single?{?}&id=' . $audit->getId()); ?>
<tr data-href="<?= $url; ?>">
<td><?= $audit->getId(); ?>
<td><?= $audit->getModule(); ?>

View File

@ -31,7 +31,7 @@ echo $this->getData('nav')->render(); ?>
<td colspan="3">
<tbody>
<?php $count = 0; foreach ($audits as $key => $audit) : $count++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/audit/single?{?}&id=' . $audit->getId()); ?>
$url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/admin/audit/single?{?}&id=' . $audit->getId()); ?>
<tr data-href="<?= $url; ?>">
<td>
<?php endforeach; ?>