diff options
-rw-r--r-- | src/usr/local/www/system_advanced_sysctl.php | 2 | ||||
-rw-r--r-- | src/usr/local/www/system_authservers.php | 9 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/usr/local/www/system_advanced_sysctl.php b/src/usr/local/www/system_advanced_sysctl.php index 1a1492c..22794fd 100644 --- a/src/usr/local/www/system_advanced_sysctl.php +++ b/src/usr/local/www/system_advanced_sysctl.php @@ -118,8 +118,6 @@ if ($act == "del") { } } -print_r($_POST); - if ($_POST) { unset($input_errors); $pconfig = $_POST; diff --git a/src/usr/local/www/system_authservers.php b/src/usr/local/www/system_authservers.php index 8b1825b..67c51e3 100644 --- a/src/usr/local/www/system_authservers.php +++ b/src/usr/local/www/system_authservers.php @@ -358,6 +358,7 @@ include("head.inc"); if ($input_errors) print_input_errors($input_errors); + if ($savemsg) print_info_box($savemsg, 'success'); @@ -771,8 +772,14 @@ events.push(function(){ // On page load . . ldap_tmplchange(); hideClass('ldapanon', $('#ldap_anon').prop('checked')); +<?php + if(!$input_errors) { +?> $("#Select").prop('type','button'); - +<?php + } +?> + if($('#ldap_port').val() == "") set_ldap_port(); |