Fix absolute path to relative paths

This commit is contained in:
Dennis Eichhorn 2019-02-11 11:38:15 +01:00
parent 9e6faa024d
commit c647a5338c
4 changed files with 7 additions and 7 deletions

View File

@ -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,

View File

@ -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>

View File

@ -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; ?>

View File

@ -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; ?>