mirror of
https://github.com/Karaka-Management/oms-Exchange.git
synced 2026-02-04 03:58:40 +00:00
fix urls
This commit is contained in:
parent
644addc7eb
commit
fb8dda8b21
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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; ?>
|
||||
|
|
|
|||
|
|
@ -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; ?>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user