fix php version, lang files, basic tpl and sales impl.

This commit is contained in:
Dennis Eichhorn 2021-03-05 21:01:37 +01:00
parent 78f0f3753d
commit 2a15ff4b77
3 changed files with 5 additions and 3 deletions

1
Theme/Backend/Lang/de.lang.php Executable file → Normal file
View File

@ -4,6 +4,7 @@
* *
* PHP Version 8.0 * PHP Version 8.0
* *
* @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0

5
Theme/Backend/Lang/en.lang.php Executable file → Normal file
View File

@ -4,6 +4,7 @@
* *
* PHP Version 8.0 * PHP Version 8.0
* *
* @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
@ -13,7 +14,7 @@ declare(strict_types=1);
return ['Media' => [ return ['Media' => [
'Account' => 'Account', 'Account' => 'Account',
'Add' => '', 'Add' => 'Add',
'AddToCollection' => 'Add to collection', 'AddToCollection' => 'Add to collection',
'Author' => 'Author', 'Author' => 'Author',
'Back' => 'Back', 'Back' => 'Back',
@ -30,7 +31,7 @@ return ['Media' => [
'Extension' => 'Extension', 'Extension' => 'Extension',
'FilePath' => 'File Path', 'FilePath' => 'File Path',
'Files' => 'Files', 'Files' => 'Files',
'GroupUser' => '', 'GroupUser' => 'Group User',
'Media' => 'Media', 'Media' => 'Media',
'Name' => 'Name', 'Name' => 'Name',
'Path' => 'Path', 'Path' => 'Path',

View File

@ -30,7 +30,7 @@ echo $this->getData('nav')->render();
<?php if ($this->request->getData('path') !== null) : ?> <?php if ($this->request->getData('path') !== null) : ?>
<a tabindex="0" class="button" href="<?= UriFactory::build('{/prefix}media/list?path=' . ($media->getId() === 0 ? $media->getVirtualPath() : '{?path}')); ?>"><?= $this->getHtml('Back'); ?></a> <a tabindex="0" class="button" href="<?= UriFactory::build('{/prefix}media/list?path=' . ($media->getId() === 0 ? $media->getVirtualPath() : '{?path}')); ?>"><?= $this->getHtml('Back'); ?></a>
<?php else: ?> <?php else: ?>
<a tabindex="0" class="button" href="<?= UriFactory::build('{/prefix}media/list'); ?>"><?= $this->getHtml('Back'); ?></a> <a tabindex="0" class="button" href="<?= $this->request->getReferer() !== '' ? $this->request->getReferer() : UriFactory::build('{/prefix}media/list'); ?>"><?= $this->getHtml('Back'); ?></a>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div> </div>