diff --git a/.idea/deployment.xml b/.idea/deployment.xml
index 987a08cf..0bdb7590 100644
--- a/.idea/deployment.xml
+++ b/.idea/deployment.xml
@@ -1,6 +1,7 @@
-
+
+
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 453dc552..df4b2b00 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -6,14 +6,18 @@
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -40,22 +44,23 @@
"RunOnceActivity.OpenProjectViewOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"WebServerToolWindowFactoryState": "false",
- "last_opened_file_path": "C:/temp-sk/safekat/ci4/app/Views/themes/backend/vuexy/main",
+ "last_opened_file_path": "D:/Safekat/safekat/ci4/app/Views/themes/_commonPartialsBs",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
"node.js.selected.package.eslint": "(autodetect)",
"node.js.selected.package.tslint": "(autodetect)",
"nodejs_package_manager_path": "npm",
+ "settings.editor.selected.configurable": "preferences.pluginManager",
"vue.rearranger.settings.migration": "true"
}
}
+
-
@@ -84,6 +89,9 @@
+
+
+
1682339938559
@@ -134,4 +142,15 @@
+
+
+
+
+ file://$PROJECT_DIR$/ci4/app/Views/themes/backend/vuexy/main/all.php
+ 372
+
+
+
+
+
\ No newline at end of file
diff --git a/ci4/.env b/ci4/.env
index f5a58fed..d00689e2 100644
--- a/ci4/.env
+++ b/ci4/.env
@@ -23,7 +23,7 @@ CI_ENVIRONMENT = development
#--------------------------------------------------------------------
# app.baseURL = 'https://sk-imn.imnavajas.es'
-app.baseURL = 'https://sk-jjo.imnavajas.es'
+app.baseURL = 'https://sk-imn.imnavajas.es'
# app.forceGlobalSecureRequests = false
# app.sessionDriver = 'CodeIgniter\Session\Handlers\FileHandler'
@@ -41,9 +41,9 @@ app.baseURL = 'https://sk-jjo.imnavajas.es'
#--------------------------------------------------------------------
database.default.hostname = localhost
-database.default.database = sk_jjo
-database.default.username = sk_jjo
-database.default.password = 61tv&G1Zf^XY
+database.default.database = sk_imn
+database.default.username = sk_imn
+database.default.password = Uyia19_87
database.default.DBDriver = MySQLi
database.default.DBPrefix =
database.default.dump =
diff --git a/ci4/app/Controllers/Home.php b/ci4/app/Controllers/Home.php
index 16980da4..093d13a3 100644
--- a/ci4/app/Controllers/Home.php
+++ b/ci4/app/Controllers/Home.php
@@ -32,7 +32,7 @@ class Home extends BaseController
else
$salutation = lang("App.dashboard_good_night");
- echo view(getenv('theme.path').'main/all');
+ echo view(getenv('theme.path').'main/all_selects');
/*
//echo view(getenv('theme.path').'main/header');
diff --git a/ci4/app/Helpers/general_helper.php b/ci4/app/Helpers/general_helper.php
index 47ddf7c7..278c3457 100644
--- a/ci4/app/Helpers/general_helper.php
+++ b/ci4/app/Helpers/general_helper.php
@@ -80,7 +80,20 @@ function getAllClass($controller = null){
}
+// IMN
+function getCurrentLanguageFlag(){
+ try {
+ $session = session();
+ if($session->get('lang') == 'en'){
+ return "fi-gb";
+ }else{
+ return "fi-es";
+ }
+ } catch (Exception $e) {
+ return "fi-es";
+ }
+}
function getAllClassFolder($folder = null){
diff --git a/ci4/app/Views/themes/_commonPartialsBs/select2bs5.php b/ci4/app/Views/themes/_commonPartialsBs/select2bs5.php
index b88bd0bc..00be171b 100644
--- a/ci4/app/Views/themes/_commonPartialsBs/select2bs5.php
+++ b/ci4/app/Views/themes/_commonPartialsBs/select2bs5.php
@@ -1,35 +1,27 @@
= $this->section('css') ?>
-
-
- */ ?>
= $this->endSection() ?>
= $this->section('additionalExternalJs') ?>
- ?>
-
-
= $this->endSection() ?>
= $this->section('additionalInlineJs') ?>
- 'use strict';
- const select2 = $('.select2');
+ const select2 = $('.select2');
- // Select2
- // --------------------------------------------------------------------
- if (select2.length) {
- select2.each(function () {
- var $this = $(this);
- $this.wrap('
').select2({
- placeholder: 'Select value',
- dropdownParent: $this.parent()
- });
+ // Select2
+ // --------------------------------------------------------------------
+ if (select2.length) {
+ select2.each(function () {
+ var $this = $(this);
+ $this.wrap('').select2({
+ placeholder: 'Select value',
+ dropdownParent: $this.parent()
});
- }
+ });
+ }
= $this->endSection() ?>
\ No newline at end of file
diff --git a/ci4/app/Views/themes/backend/vuexy/form/group/form.php b/ci4/app/Views/themes/backend/vuexy/form/group/form.php
deleted file mode 100644
index dd972e4e..00000000
--- a/ci4/app/Views/themes/backend/vuexy/form/group/form.php
+++ /dev/null
@@ -1,166 +0,0 @@
-
-
-
-
-
-
-
= $title['module']??'' ?>
- = $title['page']??'' ?>
-
-
-
-
-
-
- - = $item['title'] ?>
-
- - = $item['title'] ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ci4/app/Views/themes/backend/vuexy/form/group/index.php b/ci4/app/Views/themes/backend/vuexy/form/group/index.php
deleted file mode 100644
index 4d233d31..00000000
--- a/ci4/app/Views/themes/backend/vuexy/form/group/index.php
+++ /dev/null
@@ -1,118 +0,0 @@
-
-
-
-
-
-
-
= $title['module']??'' ?>
- = $title['page']??'' ?>
-
-
-
-
-
-
- - = $item['title'] ?>
-
- - = $item['title'] ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- | =lang("App.group_grid_title")?> |
- =lang("App.group_grid_dashboard")?> |
- =lang("App.group_grid_created")?> |
- =lang("App.group_grid_updated")?> |
- =lang("App.group_grid_options")?> |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-= sweetAlert() ?>
diff --git a/ci4/app/Views/themes/backend/vuexy/form/group/viewUserGroupForm.php b/ci4/app/Views/themes/backend/vuexy/form/group/viewUserGroupForm.php
index a66b6690..c664c8dd 100644
--- a/ci4/app/Views/themes/backend/vuexy/form/group/viewUserGroupForm.php
+++ b/ci4/app/Views/themes/backend/vuexy/form/group/viewUserGroupForm.php
@@ -6,107 +6,65 @@
-
+
\ No newline at end of file
diff --git a/ci4/app/Views/themes/backend/vuexy/form/user/viewUserForm.php b/ci4/app/Views/themes/backend/vuexy/form/user/viewUserForm.php
index fe4d02ae..417ed876 100644
--- a/ci4/app/Views/themes/backend/vuexy/form/user/viewUserForm.php
+++ b/ci4/app/Views/themes/backend/vuexy/form/user/viewUserForm.php
@@ -1,25 +1,26 @@
= $this->include("themes/_commonPartialsBs/select2bs5") ?>
-=$this->extend('themes/backend/vuexy/main/defaultlayout') ?>
+= $this->extend('themes/backend/vuexy/main/defaultlayout') ?>
= $this->section("content") ?>
= $this->endSection() ?>
diff --git a/ci4/app/Views/themes/backend/vuexy/login/header.php b/ci4/app/Views/themes/backend/vuexy/login/header.php
index d8fea562..fec3e52d 100644
--- a/ci4/app/Views/themes/backend/vuexy/login/header.php
+++ b/ci4/app/Views/themes/backend/vuexy/login/header.php
@@ -10,7 +10,7 @@ if (!empty($token) && $tfa == false) {
-
-
+
+
-
@@ -371,7 +370,7 @@ if (!empty($token) && $tfa == false) {
-
+