bug fixes

This commit is contained in:
Dennis Eichhorn 2021-10-03 01:25:37 +02:00
parent a9b5c8398b
commit efa61036ba
5 changed files with 8 additions and 5 deletions

View File

@ -207,8 +207,8 @@ final class Installer extends InstallerAbstract
/**
* Create settings.
*
* @param ApplicationAbstract $app Database instance
* @param array $settings Media info
* @param ApplicationAbstract $app Database instance
* @param array $setting Media info
*
* @return array
*

View File

@ -436,7 +436,7 @@ final class BackendController extends Controller
]);
$view->setData('generalSettings', $generalSettings);
$view->setData('defaultlocalization', LocalizationMapper::get((int) $generalSettings[SettingsEnum::DEFAULT_LOCALIZATION]));
$view->setData('defaultlocalization', LocalizationMapper::get((int) $generalSettings[SettingsEnum::DEFAULT_LOCALIZATION]->content));
$view->setData('settings', SettingMapper::getAll());
return $view;

View File

@ -121,7 +121,7 @@ echo $this->getData('nav')->render(); ?>
<?php $c = 0; foreach ($accounts as $key => $value) : ++$c; $url = UriFactory::build('{/prefix}admin/account/settings?{?}&id=' . $value->getId()); ?>
<tr data-href="<?= $url; ?>">
<td><a href="#"><i class="fa fa-times"></i></a>
<td><a href="<?= $url; ?>"><?= $value->name1; ?></a>
<td><a href="<?= $url; ?>"><?= $value->name1; ?> <?= $value->name2; ?></a>
<?php endforeach; ?>
<?php if ($c === 0) : ?>
<tr><td colspan="2" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>

View File

@ -30,7 +30,8 @@ echo $this->getData('nav')->render();
<div class="col-xs-12">
<div class="portlet">
<div class="portlet-head"><?= $this->getHtml('Audits', 'Auditor'); ?><i class="fa fa-download floatRight download btn"></i></div>
<table class="default fixed">
<div class="slider">
<table class="default">
<colgroup>
<col style="width: 75px">
<col style="width: 150px">
@ -68,6 +69,7 @@ echo $this->getData('nav')->render();
<tr><td colspan="8" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
<?php endif; ?>
</table>
</div>
<div class="portlet-foot">
<a tabindex="0" class="button" href="<?= UriFactory::build($previous); ?>"><?= $this->getHtml('Previous', '0', '0'); ?></a>
<a tabindex="0" class="button" href="<?= UriFactory::build($next); ?>"><?= $this->getHtml('Next', '0', '0'); ?></a>

View File

@ -20,6 +20,7 @@
<directory>../**/test*</directory>
<directory>../**/Theme*</directory>
<directory>../**/Admin/Routes*</directory>
<directory>../**/Admin/Hooks*</directory>
<directory>../**/Admin/Install*</directory>
<directory>../Media/Files*</directory>
</exclude>