Fix absolute path to relative paths

This commit is contained in:
Dennis Eichhorn 2019-02-11 11:38:15 +01:00
parent 90d20c0171
commit 6fd74ae442
5 changed files with 16 additions and 16 deletions

View File

@ -5,7 +5,7 @@
"type": 1,
"subtype": 1,
"name": "Messages",
"uri": "/{/lang}/backend/messages/dashboard?{?}",
"uri": "{/lang}/backend/messages/dashboard?{?}",
"target": "self",
"icon": "fa fa-envelope",
"order": 10,
@ -19,7 +19,7 @@
"type": 3,
"subtype": 1,
"name": "Inbox",
"uri": "/{/lang}/backend/messages/dashboard?{?}",
"uri": "{/lang}/backend/messages/dashboard?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -34,7 +34,7 @@
"type": 3,
"subtype": 1,
"name": "Outbox",
"uri": "/{/lang}/backend/messages/outbox?{?}",
"uri": "{/lang}/backend/messages/outbox?{?}",
"target": "self",
"icon": null,
"order": 5,
@ -49,7 +49,7 @@
"type": 3,
"subtype": 1,
"name": "Trash",
"uri": "/{/lang}/backend/messages/trash?{?}",
"uri": "{/lang}/backend/messages/trash?{?}",
"target": "self",
"icon": null,
"order": 10,
@ -64,7 +64,7 @@
"type": 3,
"subtype": 1,
"name": "Spam",
"uri": "/{/lang}/backend/messages/spam?{?}",
"uri": "{/lang}/backend/messages/spam?{?}",
"target": "self",
"icon": null,
"order": 15,
@ -79,7 +79,7 @@
"type": 3,
"subtype": 1,
"name": "Draft",
"uri": "/{/lang}/backend/messages/draft?{?}",
"uri": "{/lang}/backend/messages/draft?{?}",
"target": "self",
"icon": null,
"order": 20,
@ -94,7 +94,7 @@
"type": 3,
"subtype": 1,
"name": "Settings",
"uri": "/{/lang}/backend/messages/settings?{?}",
"uri": "{/lang}/backend/messages/settings?{?}",
"target": "self",
"icon": null,
"order": 50,

View File

@ -20,7 +20,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-100">
<ul class="btns floatLeft">
<li><a href="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/backend/messages/mail/create'); ?>"><i class="fa fa-pencil"></i> <?{?}= $this->getHtml('Create', 0, 0); ?></a>
<li><a href="<?= \phpOMS\Uri\UriFactory::build('{/lang}/backend/messages/mail/create'); ?>"><i class="fa fa-pencil"></i> <?{?}= $this->getHtml('Create', 0, 0); ?></a>
<li><a href=""><i class="fa fa-trash"></i> <?= $this->getHtml('Delete') ?></a>
</ul>
</section>
@ -39,7 +39,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="5"><?= $this->printHtml(\phpOMS\Utils\Converter\File::kilobyteSizeToString($quota['usage'])); ?> / <?= $this->printHtml(\phpOMS\Utils\Converter\File::kilobyteSizeToString($quota['limit'])); ?>
<tbody>
<?php $count = 0; foreach ($unseen as $key => $value) : $count++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/messages/mail/single?{?}&id=' . $value->uid); ?>
$url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/messages/mail/single?{?}&id=' . $value->uid); ?>
<tr>
<td><span class="check"><input type="checkbox"></span>
<td><a href="<?= $url; ?>"<?= $this->printHtml($value->seen == 0 ? ' class="unseen"' : ''); ?>></a>
@ -49,7 +49,7 @@ echo $this->getData('nav')->render(); ?>
<?php endforeach; ?>
<?php foreach ($seen as $key => $value) : $count++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/messages/mail/single?{?}&id=' . $value->uid); ?>
$url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/messages/mail/single?{?}&id=' . $value->uid); ?>
<tr>
<td><span class="check"><input type="checkbox"></span>
<td><a href="<?= $url; ?>"<?= $this->printHtml($value->seen == 0 ? ' class="unseen"' : ''); ?>></a>

View File

@ -19,7 +19,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-100">
<ul class="btns floatLeft">
<li><a href="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/backend/messages/mail/create'); ?>"><i class="fa fa-pencil"></i> <?{?}= $this->getHtml('Create', 0, 0); ?></a>
<li><a href="<?= \phpOMS\Uri\UriFactory::build('{/lang}/backend/messages/mail/create'); ?>"><i class="fa fa-pencil"></i> <?{?}= $this->getHtml('Create', 0, 0); ?></a>
<li><a href=""><i class="fa fa-trash"></i> <?= $this->getHtml('Delete') ?></a>
</ul>
</section>
@ -38,7 +38,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="5"><?= $this->printHtml(\phpOMS\Utils\Converter\File::kilobyteSizeToString($quota['usage'])); ?> / <?= $this->printHtml(\phpOMS\Utils\Converter\File::kilobyteSizeToString($quota['limit'])); ?>
<tbody>
<?php $count = 0; foreach ($sent as $key => $value) : $count++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/messages/mail/single?{?}&id=' . $value->uid); ?>
$url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/messages/mail/single?{?}&id=' . $value->uid); ?>
<tr>
<td><span class="check"><input type="checkbox"></span>
<td><a href="<?= $url; ?>"<?= $this->printHtml($value->seen == 0 ? ' class="unseen"' : ''); ?>></a>

View File

@ -19,7 +19,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-100">
<ul class="btns floatLeft">
<li><a href="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/backend/messages/mail/create'); ?>"><i class="fa fa-pencil"></i> <?{?}= $this->getHtml('Create', 0, 0); ?></a>
<li><a href="<?= \phpOMS\Uri\UriFactory::build('{/lang}/backend/messages/mail/create'); ?>"><i class="fa fa-pencil"></i> <?{?}= $this->getHtml('Create', 0, 0); ?></a>
<li><a href=""><i class="fa fa-trash"></i> <?= $this->getHtml('Delete') ?></a>
</ul>
</section>
@ -38,7 +38,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="5"><?= $this->printHtml(\phpOMS\Utils\Converter\File::kilobyteSizeToString($quota['usage'])); ?> / <?= $this->printHtml(\phpOMS\Utils\Converter\File::kilobyteSizeToString($quota['limit'])); ?>
<tbody>
<?php $count = 0; foreach ($sent as $key => $value) : $count++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/messages/mail/single?{?}&id=' . $value->uid); ?>
$url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/messages/mail/single?{?}&id=' . $value->uid); ?>
<tr>
<td><span class="check"><input type="checkbox"></span>
<td><a href="<?= $url; ?>"<?= $this->printHtml($value->seen == 0 ? ' class="unseen"' : ''); ?>></a>

View File

@ -19,7 +19,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box w-100">
<ul class="btns floatLeft">
<li><a href="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/backend/messages/mail/create'); ?>"><i class="fa fa-pencil"></i> <?{?}= $this->getHtml('Create', 0, 0); ?></a>
<li><a href="<?= \phpOMS\Uri\UriFactory::build('{/lang}/backend/messages/mail/create'); ?>"><i class="fa fa-pencil"></i> <?{?}= $this->getHtml('Create', 0, 0); ?></a>
<li><a href=""><i class="fa fa-trash"></i> <?= $this->getHtml('Delete') ?></a>
</ul>
</section>
@ -38,7 +38,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="5"><?= $this->printHtml(\phpOMS\Utils\Converter\File::kilobyteSizeToString($quota['usage'])); ?> / <?= $this->printHtml(\phpOMS\Utils\Converter\File::kilobyteSizeToString($quota['limit'])); ?>
<tbody>
<?php $count = 0; foreach ($sent as $key => $value) : $count++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/messages/mail/single?{?}&id=' . $value->uid); ?>
$url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/messages/mail/single?{?}&id=' . $value->uid); ?>
<tr>
<td><span class="check"><input type="checkbox"></span>
<td><a href="<?= $url; ?>"<?= $this->printHtml($value->seen == 0 ? ' class="unseen"' : ''); ?>></a>