mirror of
https://github.com/Karaka-Management/oms-Exchange.git
synced 2026-02-16 09:48:41 +00:00
fix urls
This commit is contained in:
parent
644addc7eb
commit
fb8dda8b21
|
|
@ -181,7 +181,7 @@ $isNew = $currentSetting instanceof NullExchangeSetting;
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php
|
<?php
|
||||||
foreach ($settings as $setting) :
|
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; ?>">
|
<tr data-href="<?= $url; ?>">
|
||||||
<td><a href="<?= $url; ?>"><?= $setting->getId(); ?></a>
|
<td><a href="<?= $url; ?>"><?= $setting->getId(); ?></a>
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
"type": 2,
|
"type": 2,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Exchange",
|
"name": "Exchange",
|
||||||
"uri": "{/prefix}admin/exchange/log/list?{?}",
|
"uri": "{/lang}/{/app}/admin/exchange/log/list?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 50,
|
"order": 50,
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Dashboard",
|
"name": "Dashboard",
|
||||||
"uri": "{/prefix}admin/exchange/log/list?{?}",
|
"uri": "{/lang}/{/app}/admin/exchange/log/list?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 1,
|
"order": 1,
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Import",
|
"name": "Import",
|
||||||
"uri": "{/prefix}admin/exchange/import/list",
|
"uri": "{/lang}/{/app}/admin/exchange/import/list",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 5,
|
"order": 5,
|
||||||
|
|
@ -49,7 +49,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Export",
|
"name": "Export",
|
||||||
"uri": "{/prefix}admin/exchange/export/list",
|
"uri": "{/lang}/{/app}/admin/exchange/export/list",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 10,
|
"order": 10,
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ echo $this->getData('nav')->render();
|
||||||
</label>
|
</label>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $count = 0; foreach ($interfaces as $key => $value) : ++$count;
|
<?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; ?>">
|
<tr tabindex="0" data-href="<?= $url; ?>">
|
||||||
<td data-label="<?= $this->getHtml('Title'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->title); ?></a>
|
<td data-label="<?= $this->getHtml('Title'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->title); ?></a>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ echo $this->getData('nav')->render();
|
||||||
</label>
|
</label>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $count = 0; foreach ($interfaces as $key => $value) : ++$count;
|
<?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; ?>">
|
<tr tabindex="0" data-href="<?= $url; ?>">
|
||||||
<td data-label="<?= $this->getHtml('Title'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->title); ?></a>
|
<td data-label="<?= $this->getHtml('Title'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->title); ?></a>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $count = 0; foreach ($logs as $key => $value) :
|
<?php $count = 0; foreach ($logs as $key => $value) :
|
||||||
++$count;
|
++$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; ?>">
|
<tr data-href="<?= $url; ?>">
|
||||||
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
|
<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('Type'); ?><td class="wf-100"><?= $log->getType(); ?>
|
||||||
<tr><td><?= $this->getHtml('Subtype'); ?><td class="wf-100"><?= $log->subtype; ?>
|
<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('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; ?>
|
<tr><td colspan="2"><?= $log->message; ?>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
},
|
},
|
||||||
"creator": {
|
"creator": {
|
||||||
"name": "Karaka",
|
"name": "Karaka",
|
||||||
"website": "www.spl1nes.com"
|
"website": "jingga.app"
|
||||||
},
|
},
|
||||||
"description": "The administration module.",
|
"description": "The administration module.",
|
||||||
"directory": "Exchange",
|
"directory": "Exchange",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user