mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-30 13:28:41 +00:00
bug fixes
This commit is contained in:
parent
a9b5c8398b
commit
efa61036ba
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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'); ?>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user