diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 03237c92..ef6d3415 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,12 +5,9 @@ - - - @@ -32,21 +29,21 @@ - { + "keyToString": { + "RunOnceActivity.OpenProjectViewOnStart": "true", + "RunOnceActivity.ShowReadmeOnStart": "true", + "WebServerToolWindowFactoryState": "false", + "last_opened_file_path": "C:/temp-sk/safekat/ci4/app/Views/themes/backend/vuexy/main", + "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" } -}]]> +} @@ -88,6 +85,7 @@ + 1682339938559 diff --git a/ci4/app/Controllers/Profile.php b/ci4/app/Controllers/Profile.php index cb90b824..a8f3c8ae 100644 --- a/ci4/app/Controllers/Profile.php +++ b/ci4/app/Controllers/Profile.php @@ -96,9 +96,8 @@ class Profile extends BaseController } } - echo view(getenv('theme.path').'main/header'); echo view(getenv('theme.path').'form/profile/index', $data); - echo view(getenv('theme.path').'main/footer'); + } public function store() diff --git a/ci4/app/Views/themes/backend/vuexy/form/profile/index.php b/ci4/app/Views/themes/backend/vuexy/form/profile/index.php index 01a1c235..bdf468de 100644 --- a/ci4/app/Views/themes/backend/vuexy/form/profile/index.php +++ b/ci4/app/Views/themes/backend/vuexy/form/profile/index.php @@ -1,6 +1,7 @@ += $this->include("themes/_commonPartialsBs/select2bs5") ?> = $this->extend('themes/backend/vuexy/main/general_settings_layout') ?> -= $this->section('content'); ?> += $this->section('content'); ?> @@ -23,14 +24,14 @@ - Upload new photo + = lang("App.profile_change_photo") ?> - State - + = lang("App.profile_state") ?> + " + value="= (isset($obj)) ? $obj->state : set_value('state'); ?>" + /> - Zip Code + = lang("App.profile_city") ?> " + value="= (isset($obj)) ? $obj->city : set_value('city'); ?>" /> @@ -157,44 +165,10 @@ >= lang("App.lang_pt") ?> - - Timezone - - Select Timezone - (GMT-12:00) International Date Line West - (GMT-11:00) Midway Island, Samoa - (GMT-10:00) Hawaii - (GMT-09:00) Alaska - (GMT-08:00) Pacific Time (US & Canada) - (GMT-08:00) Tijuana, Baja California - (GMT-07:00) Arizona - (GMT-07:00) Chihuahua, La Paz, Mazatlan - (GMT-07:00) Mountain Time (US & Canada) - (GMT-06:00) Central America - (GMT-06:00) Central Time (US & Canada) - (GMT-06:00) Guadalajara, Mexico City, Monterrey - (GMT-06:00) Saskatchewan - (GMT-05:00) Bogota, Lima, Quito, Rio Branco - (GMT-05:00) Eastern Time (US & Canada) - (GMT-05:00) Indiana (East) - (GMT-04:00) Atlantic Time (Canada) - (GMT-04:00) Caracas, La Paz - - - - Currency - - Select Currency - USD - Euro - Pound - Bitcoin - - - Save changes - Cancel + = $btn_submit['title'] ?? '' ?> + = $btn_return['title'] ?? '' ?> @@ -231,271 +205,7 @@ - - - - = $title['module'] ?? '' ?> - = $title['page'] ?? '' ?> - - - - - - - = $item['title'] ?> - - = $item['title'] ?> - - - - - - - - - - = $title['page'] ?? '' ?> - - - = formAlert() ?> - " method="post"> - = csrf_field() ?> - - - - = lang("App.profile_msg_desc_1") ?> - - - - = lang("App.profile_first_name") ?> - " - value="= (isset($obj)) ? $obj->first_name : set_value('first_name'); ?>"> - - - - - = lang("App.profile_last_name") ?> - " - value="= (isset($obj)) ? $obj->last_name : set_value('last_name'); ?>"> - - - - - = lang("App.profile_date_birth") ?> - " - id="date_birth" name="date_birth" - value="= (isset($obj)) ? $obj->date_birth : set_value('date_birth'); ?>"> - - - - - = lang("App.profile_email") ?> - " - value="= (isset($obj)) ? $obj->email : set_value('email'); ?>" - disabled> - - - - - = lang("App.profile_mobile") ?> - " - value="= (isset($obj)) ? $obj->mobile : set_value('mobile'); ?>"> - - - - - = lang("App.profile_password") ?> - "> - - - - - = lang("App.profile_confirm_password") ?> - "> - - - - - - = lang("App.profile_msg_desc_2") ?> - - - - = lang("App.profile_address") ?> - " - value="= (isset($obj)) ? $obj->address : set_value('address'); ?>"> - - - - - = lang("App.profile_city") ?> - " - value="= (isset($obj)) ? $obj->city : set_value('city'); ?>"> - - - - - = lang("App.profile_state") ?> - " - value="= (isset($obj)) ? $obj->state : set_value('state'); ?>"> - - - - - = lang("App.profile_country") ?> - country ?? [] : set_value('country'); ?> - - = lang("App.global_select") ?> - - >= $item['name'] ?? '' ?> - - - - - - - = lang("App.profile_language") ?> - language ?? [] : set_value('language'); ?> - - = lang("App.global_select") ?> - >= lang("App.lang_en") ?> - >= lang("App.lang_es") ?> - >= lang("App.lang_pt") ?> - - - - - - - - = $btn_return['title'] ?? '' ?> - - - = $btn_submit['title'] ?? '' ?> - - - - - - - - - - = lang("App.profile_subtitle_image") ?> - - - - - - - - = $obj->first_name ?? '' ?> - = $obj->email ?? '' ?> - - - = lang("App.profile_change_photo") ?> - - - - - - - - - = lang("App.profile_change_image") ?> - - - - - " - enctype="multipart/form-data" method="post"> - = csrf_field() ?> - - - - - - - = strtoupper(lang("App.profile_upload_msg")) ?> - - - - - - - - " - method="post"> - = csrf_field() ?> - "> - " - class="btn-circle btn-circle-md"> - - - - = strtoupper(lang("App.profile_no_image_msg")) ?> - - - - - - - - " method="post"> - = csrf_field() ?> - - - - - - = strtoupper(lang("App.profile_gravatar_msg")) ?> - - - - - - - - - - - - - - + get('settings'); ?> @@ -579,27 +289,12 @@ = $this->endSection() ?> - - - - - - - - - - - - - - - - -= sweetAlert() ?> + + += $this->endSection() ?>