diff --git a/src/server/cyberhex-code/system/secure_zone/php/client_settings.php b/src/server/cyberhex-code/system/secure_zone/php/client_settings.php index fa7e935..b5fec7f 100644 --- a/src/server/cyberhex-code/system/secure_zone/php/client_settings.php +++ b/src/server/cyberhex-code/system/secure_zone/php/client_settings.php @@ -264,6 +264,17 @@ function load_settings(){ var task=time+';'+action+';'+argument+';'+name; await fetch('client_settings.php?update='+db+'&value='+task+'&id='+id); } + //decide which div should be shown: + // Get the URL parameters + const queryString = window.location.search; + const urlParams = new URLSearchParams(queryString); + + // Get the value of the "show" parameter + const show_div = getElementById(urlParams.get('show')); + const nav_tab = getElementById(urlParams.get('show')+"_tab"); + show_div.style.display="block"; + +