mirror of
https://github.com/Karaka-Management/oms-Messages.git
synced 2026-02-14 16:28:41 +00:00
fixes #62
This commit is contained in:
parent
019a615cf2
commit
60899029fa
|
|
@ -5,7 +5,7 @@
|
||||||
"type": 1,
|
"type": 1,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Messages",
|
"name": "Messages",
|
||||||
"uri": "/{/lang}/backend/messages/dashboard?{?}",
|
"uri": "{/base}/{/lang}/backend/messages/dashboard?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": "fa fa-envelope",
|
"icon": "fa fa-envelope",
|
||||||
"order": 10,
|
"order": 10,
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Inbox",
|
"name": "Inbox",
|
||||||
"uri": "/{/lang}/backend/messages/dashboard?{?}",
|
"uri": "{/base}/{/lang}/backend/messages/dashboard?{?}",
|
||||||
"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": "Outbox",
|
"name": "Outbox",
|
||||||
"uri": "/{/lang}/backend/messages/outbox?{?}",
|
"uri": "{/base}/{/lang}/backend/messages/outbox?{?}",
|
||||||
"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": "Trash",
|
"name": "Trash",
|
||||||
"uri": "/{/lang}/backend/messages/trash?{?}",
|
"uri": "{/base}/{/lang}/backend/messages/trash?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 10,
|
"order": 10,
|
||||||
|
|
@ -64,7 +64,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Spam",
|
"name": "Spam",
|
||||||
"uri": "/{/lang}/backend/messages/spam?{?}",
|
"uri": "{/base}/{/lang}/backend/messages/spam?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 15,
|
"order": 15,
|
||||||
|
|
@ -79,7 +79,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Draft",
|
"name": "Draft",
|
||||||
"uri": "/{/lang}/backend/messages/draft?{?}",
|
"uri": "{/base}/{/lang}/backend/messages/draft?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 20,
|
"order": 20,
|
||||||
|
|
@ -94,7 +94,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Settings",
|
"name": "Settings",
|
||||||
"uri": "/{/lang}/backend/messages/settings?{?}",
|
"uri": "{/base}/{/lang}/backend/messages/settings?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 50,
|
"order": 50,
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
<section class="box w-100">
|
<section class="box w-100">
|
||||||
<ul class="btns floatLeft">
|
<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>
|
<li><a href=""><i class="fa fa-trash"></i> <?= $this->getText('Delete'); ?></a>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</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']); ?>
|
<tr><td colspan="5"><?= \phpOMS\Utils\Converter\File::kilobyteSizeToString($quota['usage']); ?> / <?= \phpOMS\Utils\Converter\File::kilobyteSizeToString($quota['limit']); ?>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $count = 0; foreach($unseen as $key => $value) : $count++;
|
<?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>
|
<tr>
|
||||||
<td><span class="check"><input type="checkbox"></span>
|
<td><span class="check"><input type="checkbox"></span>
|
||||||
<td><a href="<?= $url; ?>"<?= $value->seen == 0 ? ' class="unseen"' : ''; ?>></a>
|
<td><a href="<?= $url; ?>"<?= $value->seen == 0 ? ' class="unseen"' : ''; ?>></a>
|
||||||
|
|
@ -52,7 +52,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
|
||||||
<?php foreach($seen as $key => $value) : $count++;
|
<?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>
|
<tr>
|
||||||
<td><span class="check"><input type="checkbox"></span>
|
<td><span class="check"><input type="checkbox"></span>
|
||||||
<td><a href="<?= $url; ?>"<?= $value->seen == 0 ? ' class="unseen"' : ''; ?>></a>
|
<td><a href="<?= $url; ?>"<?= $value->seen == 0 ? ' class="unseen"' : ''; ?>></a>
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
<section class="box w-100">
|
<section class="box w-100">
|
||||||
<ul class="btns floatLeft">
|
<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>
|
<li><a href=""><i class="fa fa-trash"></i> <?= $this->getText('Delete'); ?></a>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</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']); ?>
|
<tr><td colspan="5"><?= \phpOMS\Utils\Converter\File::kilobyteSizeToString($quota['usage']); ?> / <?= \phpOMS\Utils\Converter\File::kilobyteSizeToString($quota['limit']); ?>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $count = 0; foreach($sent as $key => $value) : $count++;
|
<?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>
|
<tr>
|
||||||
<td><span class="check"><input type="checkbox"></span>
|
<td><span class="check"><input type="checkbox"></span>
|
||||||
<td><a href="<?= $url; ?>"<?= $value->seen == 0 ? ' class="unseen"' : ''; ?>></a>
|
<td><a href="<?= $url; ?>"<?= $value->seen == 0 ? ' class="unseen"' : ''; ?>></a>
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
<section class="box w-100">
|
<section class="box w-100">
|
||||||
<ul class="btns floatLeft">
|
<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>
|
<li><a href=""><i class="fa fa-trash"></i> <?= $this->getText('Delete'); ?></a>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</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']); ?>
|
<tr><td colspan="5"><?= \phpOMS\Utils\Converter\File::kilobyteSizeToString($quota['usage']); ?> / <?= \phpOMS\Utils\Converter\File::kilobyteSizeToString($quota['limit']); ?>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $count = 0; foreach($sent as $key => $value) : $count++;
|
<?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>
|
<tr>
|
||||||
<td><span class="check"><input type="checkbox"></span>
|
<td><span class="check"><input type="checkbox"></span>
|
||||||
<td><a href="<?= $url; ?>"<?= $value->seen == 0 ? ' class="unseen"' : ''; ?>></a>
|
<td><a href="<?= $url; ?>"<?= $value->seen == 0 ? ' class="unseen"' : ''; ?>></a>
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
<section class="box w-100">
|
<section class="box w-100">
|
||||||
<ul class="btns floatLeft">
|
<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>
|
<li><a href=""><i class="fa fa-trash"></i> <?= $this->getText('Delete'); ?></a>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</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']); ?>
|
<tr><td colspan="5"><?= \phpOMS\Utils\Converter\File::kilobyteSizeToString($quota['usage']); ?> / <?= \phpOMS\Utils\Converter\File::kilobyteSizeToString($quota['limit']); ?>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $count = 0; foreach($sent as $key => $value) : $count++;
|
<?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>
|
<tr>
|
||||||
<td><span class="check"><input type="checkbox"></span>
|
<td><span class="check"><input type="checkbox"></span>
|
||||||
<td><a href="<?= $url; ?>"<?= $value->seen == 0 ? ' class="unseen"' : ''; ?>></a>
|
<td><a href="<?= $url; ?>"<?= $value->seen == 0 ? ' class="unseen"' : ''; ?>></a>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user