fix tests

This commit is contained in:
Dennis Eichhorn 2022-10-08 21:35:00 +02:00
parent 30242bfd4e
commit 8ada9ad34c
4 changed files with 5 additions and 3 deletions

View File

@ -101,4 +101,5 @@ return ['Profile' => [
'cType2' => 'Fax',
'cType3' => 'Website',
'cType4' => 'Email',
'IMG_alt_user' => 'User image',
]];

View File

@ -26,7 +26,7 @@ echo $this->getData('nav')->render();
<tbody>
<tr><td><label for="iAccount"><?= $this->getHtml('Account'); ?></label>
<tr><td><?= $this->getData('accGrpSelector')->render('iAccount', true); ?>
<tr><td><input type="submit" value="<?= $this->getHtml('Create', '0', '0'); ?>">
<tr><td><input type="submit" value="<?= $this->getHtml('Create', '0', '0'); ?>" name="create-module">
</table>
</form>
</div>

View File

@ -63,7 +63,7 @@ $next = empty($accounts) ? '{/prefix}profile/list' : '{/prefix}profile/list?
$url = UriFactory::build('{/prefix}profile/single?{?}&id=' . $account->getId());
?>
<tr tabindex="0" data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><img width="30" loading="lazy" class="profile-image"
<td><a href="<?= $url; ?>"><img alt="<?= $this->getHtml('IMG_alt_user'); ?>" width="30" loading="lazy" class="profile-image"
src="<?=
$account->image instanceof NullMedia
? UriFactory::build('{/prefix}' . $this->getData('defaultImage')->getPath())

View File

@ -1,4 +1,5 @@
<?php declare(strict_types=1);
<?php
declare(strict_types=1);
// Modules/tests