This commit is contained in:
Dennis Eichhorn 2017-05-30 18:21:27 +02:00
parent 019a615cf2
commit 60899029fa
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": "{/base}/{/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": "{/base}/{/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": "{/base}/{/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": "{/base}/{/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": "{/base}/{/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": "{/base}/{/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": "{/base}/{/lang}/backend/messages/settings?{?}",
"target": "self",
"icon": null,
"order": 50,

View File

@ -23,7 +23,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->getText('Create', 0, 0); ?></a>
<li><a href="<?= \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/messages/mail/create'); ?>"><i class="fa fa-pencil"></i> <?{?}= $this->getText('Create', 0, 0); ?></a>
<li><a href=""><i class="fa fa-trash"></i> <?= $this->getText('Delete'); ?></a>
</ul>
</section>
@ -42,7 +42,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="5"><?= \phpOMS\Utils\Converter\File::kilobyteSizeToString($quota['usage']); ?> / <?= \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('{/base}/{/lang}/backend/messages/mail/single?{?}&id=' . $value->uid); ?>
<tr>
<td><span class="check"><input type="checkbox"></span>
<td><a href="<?= $url; ?>"<?= $value->seen == 0 ? ' class="unseen"' : ''; ?>></a>
@ -52,7 +52,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('{/base}/{/lang}/backend/messages/mail/single?{?}&id=' . $value->uid); ?>
<tr>
<td><span class="check"><input type="checkbox"></span>
<td><a href="<?= $url; ?>"<?= $value->seen == 0 ? ' class="unseen"' : ''; ?>></a>

View File

@ -22,7 +22,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->getText('Create', 0, 0); ?></a>
<li><a href="<?= \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/messages/mail/create'); ?>"><i class="fa fa-pencil"></i> <?{?}= $this->getText('Create', 0, 0); ?></a>
<li><a href=""><i class="fa fa-trash"></i> <?= $this->getText('Delete'); ?></a>
</ul>
</section>
@ -41,7 +41,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="5"><?= \phpOMS\Utils\Converter\File::kilobyteSizeToString($quota['usage']); ?> / <?= \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('{/base}/{/lang}/backend/messages/mail/single?{?}&id=' . $value->uid); ?>
<tr>
<td><span class="check"><input type="checkbox"></span>
<td><a href="<?= $url; ?>"<?= $value->seen == 0 ? ' class="unseen"' : ''; ?>></a>

View File

@ -22,7 +22,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->getText('Create', 0, 0); ?></a>
<li><a href="<?= \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/messages/mail/create'); ?>"><i class="fa fa-pencil"></i> <?{?}= $this->getText('Create', 0, 0); ?></a>
<li><a href=""><i class="fa fa-trash"></i> <?= $this->getText('Delete'); ?></a>
</ul>
</section>
@ -41,7 +41,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="5"><?= \phpOMS\Utils\Converter\File::kilobyteSizeToString($quota['usage']); ?> / <?= \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('{/base}/{/lang}/backend/messages/mail/single?{?}&id=' . $value->uid); ?>
<tr>
<td><span class="check"><input type="checkbox"></span>
<td><a href="<?= $url; ?>"<?= $value->seen == 0 ? ' class="unseen"' : ''; ?>></a>

View File

@ -22,7 +22,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->getText('Create', 0, 0); ?></a>
<li><a href="<?= \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/messages/mail/create'); ?>"><i class="fa fa-pencil"></i> <?{?}= $this->getText('Create', 0, 0); ?></a>
<li><a href=""><i class="fa fa-trash"></i> <?= $this->getText('Delete'); ?></a>
</ul>
</section>
@ -41,7 +41,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="5"><?= \phpOMS\Utils\Converter\File::kilobyteSizeToString($quota['usage']); ?> / <?= \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('{/base}/{/lang}/backend/messages/mail/single?{?}&id=' . $value->uid); ?>
<tr>
<td><span class="check"><input type="checkbox"></span>
<td><a href="<?= $url; ?>"<?= $value->seen == 0 ? ' class="unseen"' : ''; ?>></a>