autofixes

This commit is contained in:
Dennis Eichhorn 2023-08-30 12:08:10 +00:00
parent 59ef13e449
commit 171daa976c
3 changed files with 33 additions and 34 deletions

View File

@ -13,7 +13,6 @@
declare(strict_types=1); declare(strict_types=1);
use phpOMS\Localization\ISO639Enum; use phpOMS\Localization\ISO639Enum;
use phpOMS\Uri\UriFactory;
use phpOMS\Utils\Formatter\HtmlFormatter; use phpOMS\Utils\Formatter\HtmlFormatter;
$mail = $this->data['template']; $mail = $this->data['template'];

View File

@ -43,7 +43,7 @@ echo $this->data['nav']->render(); ?>
<?php $count = 0; <?php $count = 0;
foreach ($messages as $key => $value) : ++$count; foreach ($messages as $key => $value) : ++$count;
$url = UriFactory::build('{/base}/messages/template/single?{?}&id=' . $value->id); ?> $url = UriFactory::build('{/base}/messages/template/single?{?}&id=' . $value->id); ?>
<tr data-href="<?= $url ?>"> <tr data-href="<?= $url; ?>">
<td><span class="check"><input type="checkbox" name=""></span> <td><span class="check"><input type="checkbox" name=""></span>
<td><a href="<?= $url; ?>"><?= $this->printHtml(empty($value->subject) ? $value->getL11nByLanguage($this->response->header->l11n->language)->subject : $value->subject); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml(empty($value->subject) ? $value->getL11nByLanguage($this->response->header->l11n->language)->subject : $value->subject); ?></a>
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->createdAt->format('Y-m-d')); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($value->createdAt->format('Y-m-d')); ?></a>