diff --git a/Admin/Installer.php b/Admin/Installer.php index bdcd03c..35d5343 100755 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -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 * diff --git a/Controller/BackendController.php b/Controller/BackendController.php index fb578e0..e841585 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -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; diff --git a/Theme/Backend/groups-single.tpl.php b/Theme/Backend/groups-single.tpl.php index 6bb16f9..c75650a 100755 --- a/Theme/Backend/groups-single.tpl.php +++ b/Theme/Backend/groups-single.tpl.php @@ -121,7 +121,7 @@ echo $this->getData('nav')->render(); ?> $value) : ++$c; $url = UriFactory::build('{/prefix}admin/account/settings?{?}&id=' . $value->getId()); ?> - name1; ?> + name1; ?> name2; ?> getHtml('Empty', '0', '0'); ?> diff --git a/Theme/Backend/modules-log.tpl.php b/Theme/Backend/modules-log.tpl.php index b104766..a322e08 100644 --- a/Theme/Backend/modules-log.tpl.php +++ b/Theme/Backend/modules-log.tpl.php @@ -30,7 +30,8 @@ echo $this->getData('nav')->render();
getHtml('Audits', 'Auditor'); ?>
- +
+
@@ -68,6 +69,7 @@ echo $this->getData('nav')->render();
getHtml('Empty', '0', '0'); ?>
+
getHtml('Previous', '0', '0'); ?> getHtml('Next', '0', '0'); ?> diff --git a/tests/phpunit_default.xml b/tests/phpunit_default.xml index 0419dd8..722365c 100755 --- a/tests/phpunit_default.xml +++ b/tests/phpunit_default.xml @@ -20,6 +20,7 @@ ../**/test* ../**/Theme* ../**/Admin/Routes* + ../**/Admin/Hooks* ../**/Admin/Install* ../Media/Files*