equal
deleted
inserted
replaced
24 |
24 |
25 $master_ip = $_POST["master_ip"]; |
25 $master_ip = $_POST["master_ip"]; |
26 $ns_name = $_POST["ns_name"]; |
26 $ns_name = $_POST["ns_name"]; |
27 $account = $_POST["account"]; |
27 $account = $_POST["account"]; |
28 |
28 |
29 (verify_permission(supermaster_add)) ? $supermasters_add = "1" : $supermasters_add = "0"; |
29 (verify_permission('supermaster_add')) ? $supermasters_add = "1" : $supermasters_add = "0"; |
30 |
30 |
31 if($_POST["submit"]) |
31 if($_POST["submit"]) |
32 { |
32 { |
33 if (add_supermaster($master_ip, $ns_name, $account)) { |
33 if (add_supermaster($master_ip, $ns_name, $account)) { |
34 success(SUC_SM_ADD); |
34 success(SUC_SM_ADD); |