mirror of
https://github.com/Karaka-Management/oms-Messages.git
synced 2026-02-04 11:38:42 +00:00
Fix if for foreach while spacing
This commit is contained in:
parent
2c2a14ccbb
commit
c848955819
|
|
@ -11,7 +11,7 @@
|
|||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
declare(strict_types = 1);
|
||||
namespace Modules\Messages\Admin;
|
||||
|
||||
use phpOMS\DataStorage\Database\DatabasePool;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
declare(strict_types = 1);
|
||||
namespace Modules\Messages\Admin;
|
||||
|
||||
use phpOMS\DataStorage\Database\DatabasePool;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
declare(strict_types = 1);
|
||||
namespace Modules\Messages\Admin\Install;
|
||||
use phpOMS\DataStorage\Database\DatabasePool;
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
declare(strict_types = 1);
|
||||
namespace Modules\Messages\Admin;
|
||||
|
||||
use phpOMS\DataStorage\Database\DatabaseType;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
declare(strict_types = 1);
|
||||
namespace Modules\Messages\Admin;
|
||||
|
||||
use phpOMS\DataStorage\Database\DatabasePool;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
declare(strict_types = 1);
|
||||
namespace Modules\Messages\Admin;
|
||||
|
||||
use phpOMS\DataStorage\Database\DatabasePool;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
declare(strict_types = 1);
|
||||
namespace Modules\Messages;
|
||||
|
||||
use Modules\Navigation\Models\Navigation;
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<tfoot>
|
||||
<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++;
|
||||
<?php $count = 0; foreach ($unseen as $key => $value) : $count++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/messages/mail/single?{?}&id=' . $value->uid); ?>
|
||||
<tr>
|
||||
<td><span class="check"><input type="checkbox"></span>
|
||||
|
|
@ -49,7 +49,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td><a href="<?= $url; ?>"<?= $this->printHtml($value->seen == 0 ? ' class="unseen"' : ''); ?>><?= $this->printHtml((new \DateTime($value->date))->format('Y-m-d H:i:s')); ?></a>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php foreach($seen as $key => $value) : $count++;
|
||||
<?php foreach ($seen as $key => $value) : $count++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/messages/mail/single?{?}&id=' . $value->uid); ?>
|
||||
<tr>
|
||||
<td><span class="check"><input type="checkbox"></span>
|
||||
|
|
@ -58,7 +58,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td><a href="<?= $url; ?>"<?= $this->printHtml($value->seen == 0 ? ' class="unseen"' : ''); ?>><?= $this->printHtml($value->from); ?></a>
|
||||
<td><a href="<?= $url; ?>"<?= $this->printHtml($value->seen == 0 ? ' class="unseen"' : ''); ?>><?= $this->printHtml((new \DateTime($value->date))->format('Y-m-d H:i:s')); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($count < 1) : ?>
|
||||
<?php if ($count < 1) : ?>
|
||||
<tr>
|
||||
<td colspan="5" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<?php endif; ?>
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<tfoot>
|
||||
<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++;
|
||||
<?php $count = 0; foreach ($sent as $key => $value) : $count++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/messages/mail/single?{?}&id=' . $value->uid); ?>
|
||||
<tr>
|
||||
<td><span class="check"><input type="checkbox"></span>
|
||||
|
|
@ -47,7 +47,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td><a href="<?= $url; ?>"<?= $this->printHtml($value->seen == 0 ? ' class="unseen"' : ''); ?>><?= $this->printHtml($value->from); ?></a>
|
||||
<td><a href="<?= $url; ?>"<?= $this->printHtml($value->seen == 0 ? ' class="unseen"' : ''); ?>><?= $this->printHtml((new \DateTime($value->date))->format('Y-m-d H:i:s')); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($count < 1) : ?>
|
||||
<?php if ($count < 1) : ?>
|
||||
<tr>
|
||||
<td colspan="5" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<?php endif; ?>
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<tfoot>
|
||||
<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++;
|
||||
<?php $count = 0; foreach ($sent as $key => $value) : $count++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/messages/mail/single?{?}&id=' . $value->uid); ?>
|
||||
<tr>
|
||||
<td><span class="check"><input type="checkbox"></span>
|
||||
|
|
@ -47,7 +47,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td><a href="<?= $url; ?>"<?= $this->printHtml($value->seen == 0 ? ' class="unseen"' : ''); ?>><?= $this->printHtml($value->from); ?></a>
|
||||
<td><a href="<?= $url; ?>"<?= $this->printHtml($value->seen == 0 ? ' class="unseen"' : ''); ?>><?= $this->printHtml((new \DateTime($value->date))->format('Y-m-d H:i:s')); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($count < 1) : ?>
|
||||
<?php if ($count < 1) : ?>
|
||||
<tr>
|
||||
<td colspan="5" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<?php endif; ?>
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<tfoot>
|
||||
<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++;
|
||||
<?php $count = 0; foreach ($sent as $key => $value) : $count++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/messages/mail/single?{?}&id=' . $value->uid); ?>
|
||||
<tr>
|
||||
<td><span class="check"><input type="checkbox"></span>
|
||||
|
|
@ -47,7 +47,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td><a href="<?= $url; ?>"<?= $this->printHtml($value->seen == 0 ? ' class="unseen"' : ''); ?>><?= $this->printHtml($value->from); ?></a>
|
||||
<td><a href="<?= $url; ?>"<?= $this->printHtml($value->seen == 0 ? ' class="unseen"' : ''); ?>><?= $this->printHtml((new \DateTime($value->date))->format('Y-m-d H:i:s')); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($count < 1) : ?>
|
||||
<?php if ($count < 1) : ?>
|
||||
<tr>
|
||||
<td colspan="5" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<?php endif; ?>
|
||||
|
|
|
|||
|
|
@ -25,35 +25,35 @@ echo $this->getData('nav')->render(); ?>
|
|||
<tr><td><label for="iInbox"><?= $this->getHtml('Inbox') ?></label>
|
||||
<tr><td><select id="iInbox" name="inbox">
|
||||
<option value=""><?= $this->getHtml('Select') ?>
|
||||
<?php foreach($boxes as $box) : ?>
|
||||
<?php foreach ($boxes as $box) : ?>
|
||||
<option value="<?= $this->printHtml($box); ?>"><?= $this->printHtml($box); ?>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<tr><td><label for="iOutbox"><?= $this->getHtml('Outbox') ?></label>
|
||||
<tr><td><select id="iOutbox" name="outbox">
|
||||
<option value=""><?= $this->getHtml('Select') ?>
|
||||
<?php foreach($boxes as $box) : ?>
|
||||
<?php foreach ($boxes as $box) : ?>
|
||||
<option value="<?= $this->printHtml($box); ?>"><?= $this->printHtml($box); ?>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<tr><td><label for="iDraft"><?= $this->getHtml('Draft') ?></label>
|
||||
<tr><td><select id="iDraft" name="draft">
|
||||
<option value=""><?= $this->getHtml('Select') ?>
|
||||
<?php foreach($boxes as $box) : ?>
|
||||
<?php foreach ($boxes as $box) : ?>
|
||||
<option value="<?= $this->printHtml($box); ?>"><?= $this->printHtml($box); ?>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<tr><td><label for="iTrash"><?= $this->getHtml('Trash') ?></label>
|
||||
<tr><td><select id="iTrash" name="trash">
|
||||
<option value=""><?= $this->getHtml('Select') ?>
|
||||
<?php foreach($boxes as $box) : ?>
|
||||
<?php foreach ($boxes as $box) : ?>
|
||||
<option value="<?= $this->printHtml($box); ?>"><?= $this->printHtml($box); ?>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<tr><td><label for="iSpam"><?= $this->getHtml('Spam') ?></label>
|
||||
<tr><td><select id="iSpam" name="spam">
|
||||
<option value=""><?= $this->getHtml('Select') ?>
|
||||
<?php foreach($boxes as $box) : ?>
|
||||
<?php foreach ($boxes as $box) : ?>
|
||||
<option value="<?= $this->printHtml($box); ?>"><?= $this->printHtml($box); ?>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user