Settings and UI changes

This commit is contained in:
imnavajas
2023-05-28 16:50:56 +02:00
parent 0067e8fea9
commit b1951de661
10 changed files with 66 additions and 50 deletions

View File

@ -54,20 +54,6 @@ class Settings extends BaseController
['title' => lang("App.menu_settings"), 'route' => "", 'active' => true]
];
$data['btn_return'] = [
'title' => lang("App.global_come_back"),
'route' => '/home',
'class' => 'btn btn-dark mr-1',
'icon' => 'fas fa-angle-left'
];
$data['btn_submit'] = [
'title' => lang("App.global_save"),
'route' => '',
'class' => 'btn btn-primary mr-1',
'icon' => 'fas fa-save'
];
$data['obj'] = $this->settings_model->first();
$data['countries'] = $this->countries_model->select('id_country,code,name')->where('data_lang',session()->get('lang')??'en')->findAll();
$data['theme'] = $this->theme_model->select('id_theme,type,name')->findAll();