equal
deleted
inserted
replaced
304 { |
304 { |
305 if(verify_permission(zone_master_add)) { $zone_master_add = "1" ; } ; |
305 if(verify_permission(zone_master_add)) { $zone_master_add = "1" ; } ; |
306 if(verify_permission(zone_slave_add)) { $zone_slave_add = "1" ; } ; |
306 if(verify_permission(zone_slave_add)) { $zone_slave_add = "1" ; } ; |
307 |
307 |
308 // TODO: make sure only one is possible if only one is enabled |
308 // TODO: make sure only one is possible if only one is enabled |
309 if($zone_master_add == "1" || $zone_master_add == "1") { |
309 if($zone_master_add == "1" || $zone_slave_add == "1") { |
310 |
310 |
311 global $db; |
311 global $db; |
312 if (($domain && $owner && $webip && $mailip) || |
312 if (($domain && $owner && $webip && $mailip) || |
313 ($empty && $owner && $domain) || |
313 ($empty && $owner && $domain) || |
314 (eregi('in-addr.arpa', $domain) && $owner) || |
314 (eregi('in-addr.arpa', $domain) && $owner) || |