mirror of
https://github.com/Karaka-Management/oms-Messages.git
synced 2026-02-01 10:18:41 +00:00
permission changes & minor bug fixes
This commit is contained in:
parent
b5297b4511
commit
4fdabbbc86
0
Theme/Backend/Lang/Navigation.ar.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.ar.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.cs.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.cs.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.da.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.da.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.de.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.de.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.el.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.el.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.en.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.en.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.es.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.es.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.fi.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.fi.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.fr.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.fr.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.hu.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.hu.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.it.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.it.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.ja.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.ja.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.ko.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.ko.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.no.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.no.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.pl.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.pl.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.pt.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.pt.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.ru.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.ru.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.sv.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.sv.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.th.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.th.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.tr.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.tr.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.uk.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.uk.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.zh.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.zh.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/ar.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/ar.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/cs.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/cs.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/da.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/da.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/de.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/de.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/el.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/el.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/en.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/en.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/es.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/es.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/fi.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/fi.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/fr.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/fr.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/hu.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/hu.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/it.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/it.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/ja.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/ja.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/ko.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/ko.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/no.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/no.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/pl.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/pl.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/pt.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/pt.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/ru.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/ru.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/sv.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/sv.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/th.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/th.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/tr.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/tr.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/uk.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/uk.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/zh.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/zh.lang.php
Normal file → Executable file
|
|
@ -24,8 +24,8 @@ $quota = $mail->getQuota();
|
|||
|
||||
$messages = $this->getData('messages') ?? [];
|
||||
|
||||
$previous = empty($messages) ? '{/prefix}messages/dashboard' : '{/prefix}messages/dashboard?{?}&id=' . \reset($messages)->getId() . '&ptype=p';
|
||||
$next = empty($messages) ? '{/prefix}messages/dashboard' : '{/prefix}messages/dashboard?{?}&id=' . \end($messages)->getId() . '&ptype=n';
|
||||
$previous = empty($messages) ? 'messages/dashboard' : 'messages/dashboard?{?}&id=' . \reset($messages)->getId() . '&ptype=p';
|
||||
$next = empty($messages) ? 'messages/dashboard' : 'messages/dashboard?{?}&id=' . \end($messages)->getId() . '&ptype=n';
|
||||
|
||||
echo $this->getData('nav')->render(); ?>
|
||||
|
||||
|
|
@ -44,7 +44,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<tbody>
|
||||
<?php $count = 0;
|
||||
foreach ($messages as $key => $value) : ++$count;
|
||||
$url = UriFactory::build('{/prefix}messages/mail/single?{?}&id=' . $value->uid); ?>
|
||||
$url = UriFactory::build('messages/mail/single?{?}&id=' . $value->uid); ?>
|
||||
<tr>
|
||||
<td><span class="check"><input type="checkbox" name=""></span>
|
||||
<td><a href="<?= $url; ?>"<?= $this->printHtml($value->seen == 0 ? ' class="unseen"' : ''); ?>></a>
|
||||
|
|
@ -66,7 +66,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
|
||||
<div class="col-xs-12 col-md-3">
|
||||
<div class="box">
|
||||
<a tabindex="0" class="button" href="<?= UriFactory::build('{/prefix}messages/mail/create'); ?>"><i class="fa fa-pencil"></i> <?= $this->getHtml('Create', '0', '0'); ?></a>
|
||||
<a tabindex="0" class="button" href="<?= UriFactory::build('messages/mail/create'); ?>"><i class="fa fa-pencil"></i> <?= $this->getHtml('Create', '0', '0'); ?></a>
|
||||
</div>
|
||||
|
||||
<div class="portlet">
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
|
||||
<section class="box w-100">
|
||||
<ul class="btns floatLeft">
|
||||
<li><a href="<?= \phpOMS\Uri\UriFactory::build('{/prefix}messages/mail/create'); ?>"><i class="fa fa-pencil"></i> <?= $this->getHtml('Create', '0', '0'); ?></a>
|
||||
<li><a href="<?= \phpOMS\Uri\UriFactory::build('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>
|
||||
|
|
@ -40,7 +40,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('{/prefix}messages/mail/single?{?}&id=' . $value->uid); ?>
|
||||
$url = \phpOMS\Uri\UriFactory::build('messages/mail/single?{?}&id=' . $value->uid); ?>
|
||||
<tr>
|
||||
<td><span class="check"><input type="checkbox" name=""></span>
|
||||
<td><a href="<?= $url; ?>"<?= $this->printHtml($value->seen == 0 ? ' class="unseen"' : ''); ?>></a>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
|
||||
<section class="box w-100">
|
||||
<ul class="btns floatLeft">
|
||||
<li><a href="<?= \phpOMS\Uri\UriFactory::build('{/prefix}messages/mail/create'); ?>"><i class="fa fa-pencil"></i> <?= $this->getHtml('Create', '0', '0'); ?></a>
|
||||
<li><a href="<?= \phpOMS\Uri\UriFactory::build('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>
|
||||
|
|
@ -40,7 +40,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('{/prefix}messages/mail/single?{?}&id=' . $value->uid); ?>
|
||||
$url = \phpOMS\Uri\UriFactory::build('messages/mail/single?{?}&id=' . $value->uid); ?>
|
||||
<tr>
|
||||
<td><span class="check"><input type="checkbox" name=""></span>
|
||||
<td><a href="<?= $url; ?>"<?= $this->printHtml($value->seen == 0 ? ' class="unseen"' : ''); ?>></a>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
|
||||
<section class="box w-100">
|
||||
<ul class="btns floatLeft">
|
||||
<li><a href="<?= \phpOMS\Uri\UriFactory::build('{/prefix}messages/mail/create'); ?>"><i class="fa fa-pencil"></i> <?= $this->getHtml('Create', '0', '0'); ?></a>
|
||||
<li><a href="<?= \phpOMS\Uri\UriFactory::build('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>
|
||||
|
|
@ -40,7 +40,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('{/prefix}messages/mail/single?{?}&id=' . $value->uid); ?>
|
||||
$url = \phpOMS\Uri\UriFactory::build('messages/mail/single?{?}&id=' . $value->uid); ?>
|
||||
<tr>
|
||||
<td><span class="check"><input type="checkbox" name=""></span>
|
||||
<td><a href="<?= $url; ?>"<?= $this->printHtml($value->seen == 0 ? ' class="unseen"' : ''); ?>></a>
|
||||
|
|
|
|||
0
tests/Admin/AdminTest.php
Normal file → Executable file
0
tests/Admin/AdminTest.php
Normal file → Executable file
Loading…
Reference in New Issue
Block a user