This commit is contained in:
Dennis Eichhorn 2022-12-10 22:17:54 +01:00
parent 644addc7eb
commit fb8dda8b21
7 changed files with 10 additions and 10 deletions

View File

@ -181,7 +181,7 @@ $isNew = $currentSetting instanceof NullExchangeSetting;
<tbody>
<?php
foreach ($settings as $setting) :
$url = UriFactory::build('admin/exchange/import/profile?id=' . $interface->getId() . '&setting=' . $setting->getId());
$url = UriFactory::build('{/lang}/{/app}/admin/exchange/import/profile?id=' . $interface->getId() . '&setting=' . $setting->getId());
?>
<tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><?= $setting->getId(); ?></a>

View File

@ -5,7 +5,7 @@
"type": 2,
"subtype": 1,
"name": "Exchange",
"uri": "{/prefix}admin/exchange/log/list?{?}",
"uri": "{/lang}/{/app}/admin/exchange/log/list?{?}",
"target": "self",
"icon": null,
"order": 50,
@ -19,7 +19,7 @@
"type": 3,
"subtype": 1,
"name": "Dashboard",
"uri": "{/prefix}admin/exchange/log/list?{?}",
"uri": "{/lang}/{/app}/admin/exchange/log/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -34,7 +34,7 @@
"type": 3,
"subtype": 1,
"name": "Import",
"uri": "{/prefix}admin/exchange/import/list",
"uri": "{/lang}/{/app}/admin/exchange/import/list",
"target": "self",
"icon": null,
"order": 5,
@ -49,7 +49,7 @@
"type": 3,
"subtype": 1,
"name": "Export",
"uri": "{/prefix}admin/exchange/export/list",
"uri": "{/lang}/{/app}/admin/exchange/export/list",
"target": "self",
"icon": null,
"order": 10,

View File

@ -39,7 +39,7 @@ echo $this->getData('nav')->render();
</label>
<tbody>
<?php $count = 0; foreach ($interfaces as $key => $value) : ++$count;
$url = \phpOMS\Uri\UriFactory::build('admin/exchange/export/profile?{?}&id=' . $value->getId()); ?>
$url = \phpOMS\Uri\UriFactory::build('{/lang}/{/app}/admin/exchange/export/profile?{?}&id=' . $value->getId()); ?>
<tr tabindex="0" data-href="<?= $url; ?>">
<td data-label="<?= $this->getHtml('Title'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->title); ?></a>
<?php endforeach; ?>

View File

@ -39,7 +39,7 @@ echo $this->getData('nav')->render();
</label>
<tbody>
<?php $count = 0; foreach ($interfaces as $key => $value) : ++$count;
$url = \phpOMS\Uri\UriFactory::build('admin/exchange/import/profile?{?}&id=' . $value->getId()); ?>
$url = \phpOMS\Uri\UriFactory::build('{/lang}/{/app}/admin/exchange/import/profile?{?}&id=' . $value->getId()); ?>
<tr tabindex="0" data-href="<?= $url; ?>">
<td data-label="<?= $this->getHtml('Title'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->title); ?></a>
<?php endforeach; ?>

View File

@ -102,7 +102,7 @@ echo $this->getData('nav')->render(); ?>
<tbody>
<?php $count = 0; foreach ($logs as $key => $value) :
++$count;
$url = UriFactory::build('admin/exchange/log?{?}&id=' . $value->getId());
$url = UriFactory::build('{/lang}/{/app}/admin/exchange/log?{?}&id=' . $value->getId());
?>
<tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>

View File

@ -30,7 +30,7 @@ echo $this->getData('nav')->render();
<tr><td><?= $this->getHtml('Type'); ?><td class="wf-100"><?= $log->getType(); ?>
<tr><td><?= $this->getHtml('Subtype'); ?><td class="wf-100"><?= $log->subtype; ?>
<tr><td><?= $this->getHtml('Created'); ?><td><?= $log->createdAt->format('Y-m-d'); ?>
<tr><td><?= $this->getHtml('Creator'); ?><td><a href="<?= UriFactory::build('profile/single?for=' . $log->createdBy->getId()); ?>"><?= $log->createdBy->name1; ?></a>
<tr><td><?= $this->getHtml('Creator'); ?><td><a href="<?= UriFactory::build('{/lang}/{/app}/profile/single?for=' . $log->createdBy->getId()); ?>"><?= $log->createdBy->name1; ?></a>
<tr><td colspan="2"><?= $log->message; ?>
</table>
</div>

View File

@ -12,7 +12,7 @@
},
"creator": {
"name": "Karaka",
"website": "www.spl1nes.com"
"website": "jingga.app"
},
"description": "The administration module.",
"directory": "Exchange",