mirror of
https://github.com/Karaka-Management/oms-Exchange.git
synced 2026-01-23 14:28:41 +00:00
Fix absolute path to relative paths
This commit is contained in:
parent
9e6faa024d
commit
c647a5338c
|
|
@ -5,7 +5,7 @@
|
|||
"type": 2,
|
||||
"subtype": 1,
|
||||
"name": "Exchange",
|
||||
"uri": "/{/lang}/backend/admin/exchange/dashboard?{?}",
|
||||
"uri": "{/lang}/backend/admin/exchange/dashboard?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 50,
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Dashboard",
|
||||
"uri": "/{/lang}/backend/admin/exchange/dashboard?{?}",
|
||||
"uri": "{/lang}/backend/admin/exchange/dashboard?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Import",
|
||||
"uri": "/{/lang}/backend/admin/exchange/import/list?{?}",
|
||||
"uri": "{/lang}/backend/admin/exchange/import/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 5,
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Export",
|
||||
"uri": "/{/lang}/backend/admin/exchange/export/list?{?}",
|
||||
"uri": "{/lang}/backend/admin/exchange/export/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 10,
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<header><h1><?= $this->getHtml('Import') ?> - GSD</h1></header>
|
||||
|
||||
<div class="inner">
|
||||
<form id="fImport" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/exchange/import/profile?{?}&exchange=GSD&csrf={$CSRF}'); ?>">
|
||||
<form id="fImport" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/admin/exchange/import/profile?{?}&exchange=GSD&csrf={$CSRF}'); ?>">
|
||||
<table class="layout wf-100" style="table-layout: fixed">
|
||||
<tbody>
|
||||
<tr><td><label for="iHost"><?= $this->getHtml('Host') ?></label>
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ echo $this->getData('nav')->render();
|
|||
<td class="wf-100"><?= $this->getHtml('Title') ?>
|
||||
<tbody>
|
||||
<?php $count = 0; foreach ($interfaces as $key => $value) : $count++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/exchange/export/profile?{?}&id=' . $value->getId()); ?>
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/admin/exchange/export/profile?{?}&id=' . $value->getId()); ?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td data-label="<?= $this->getHtml('Title') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getName()); ?></a>
|
||||
<?php endforeach; ?>
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ echo $this->getData('nav')->render();
|
|||
<td class="wf-100"><?= $this->getHtml('Title') ?>
|
||||
<tbody>
|
||||
<?php $count = 0; foreach ($interfaces as $key => $value) : $count++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/exchange/import/profile?{?}&id=' . $value->getId()); ?>
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/admin/exchange/import/profile?{?}&id=' . $value->getId()); ?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td data-label="<?= $this->getHtml('Title') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getName()); ?></a>
|
||||
<?php endforeach; ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user