equal
deleted
inserted
replaced
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 echo " <div class=\"success\">" . _('Successfully added supermaster.') . "</div>\n"; |
34 success(SUC_SM_ADD); |
35 } else { |
35 } else { |
36 $error = "1"; |
36 $error = "1"; |
37 } |
37 } |
38 } |
38 } |
39 |
39 |