From eb1d804a4dbc00a7495857a30fbcf2c51492dfa5 Mon Sep 17 00:00:00 2001 From: Focuslinkstech <45756999+Focuslinkstech@users.noreply.github.com> Date: Wed, 23 Oct 2024 08:28:00 +0100 Subject: [PATCH] patch update make settings form individual to reduce conflicts --- system/controllers/settings.php | 2 +- ui/ui/app-settings.tpl | 60 ++++++++++++++++++++++++++++++--- 2 files changed, 57 insertions(+), 5 deletions(-) diff --git a/system/controllers/settings.php b/system/controllers/settings.php index 2220f50a..3d084e5b 100644 --- a/system/controllers/settings.php +++ b/system/controllers/settings.php @@ -145,7 +145,7 @@ switch ($action) { r2(U . 'settings/app', 'e', 'PHP GD is not installed'); } } - if ($company == '') { + if ($_POST['general'] && $company == '') { r2(U . 'settings/app', 'e', Lang::T('All field is required')); } else { if ($radius_enable) { diff --git a/ui/ui/app-settings.tpl b/ui/ui/app-settings.tpl index b578ec9f..dcda7509 100644 --- a/ui/ui/app-settings.tpl +++ b/ui/ui/app-settings.tpl @@ -120,12 +120,17 @@ {Lang::T('Income will reset every this day')} - + + + +
+
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+
+
+
+

{Lang::T('Must include')} [text] & [number], - {Lang::T('it will be replaced.')} + {Lang::T('it will be replaced.')}

{Lang::T('You can use')} WhatsApp {Lang::T('in here too.')} {Lang::T('Free @@ -563,7 +594,10 @@ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+