add_zone_master.php
changeset 126 cb06e3e29ed8
parent 119 f74e4f88b680
child 161 0832d846bf8e
equal deleted inserted replaced
125:700a3674b72e 126:cb06e3e29ed8
    35 $domain = trim($_POST["domain"]);
    35 $domain = trim($_POST["domain"]);
    36 $webip = $_POST["webip"];
    36 $webip = $_POST["webip"];
    37 $mailip = $_POST["mailip"];
    37 $mailip = $_POST["mailip"];
    38 $empty = $_POST["empty"];
    38 $empty = $_POST["empty"];
    39 
    39 
    40 (verify_permission(zone_master_add)) ? $zone_master_add = "1" : $zone_master_add = "0" ;
    40 (verify_permission('zone_master_add')) ? $zone_master_add = "1" : $zone_master_add = "0" ;
    41 
    41 
    42 if ($_POST['submit'] && $zone_master_add == "1" ) {
    42 if ($_POST['submit'] && $zone_master_add == "1" ) {
    43 
    43 
    44 	// Boy. I will be happy when I have found the time to replace
    44 	// Boy. I will be happy when I have found the time to replace
    45 	// this "template wanabee" code with something that is really 
    45 	// this "template wanabee" code with something that is really