inc/record.inc.php
changeset 86 0205771bf84c
parent 82 c255196bc447
child 87 654262e698e2
equal deleted inserted replaced
85:1687c1b107fa 86:0205771bf84c
   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) ||