add_supermaster.php
changeset 110 455405c757e1
parent 82 c255196bc447
child 119 f74e4f88b680
equal deleted inserted replaced
109:34b2d49f52c6 110:455405c757e1
    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