if ($const_disable_authentication == True) { design::settings_checkbox("Set_Disable_authentication", True, "Disable authentication (Not recommended)"); } else { design::settings_checkbox("Set_Disable_authentication", False, "Disable authentication (Not recommended)"); } if (isset($const_username) && $const_disable_authentication == False) { design::settings("Username", $const_username, "", "Text", True); } else { design::settings("Username", "", "Insert a new username", "Text", True); } if (isset($const_password) && $const_disable_authentication == False) { design::settings_password("Password", "To change insert a new password", False); } else { design::settings_password("Password", "Insert a password", True); } design::settings_password("Confirm_Password", "Confirm new password", False); echo "<br />"; //SECTION NEW TRANSACTIONS design::section_legened("New transactions"); if ($const_disable_payee == True) { design::settings_checkbox("Set_Disable_payee", True, "Disable payees management"); } else { design::settings_checkbox("Set_Disable_payee", False, "Disable payees management"); } if ($const_disable_category == True) { design::settings_checkbox("Set_Disable_category", True, "Disable categories management"); } else { design::settings_checkbox("Set_Disable_category", False, "Disable categories management"); } if (isset($const_defaultaccountname)) { design::settings_default_account($const_defaultaccountname);