delete_record.php
changeset 140 e68c3d6094d1
parent 139 98ce0ffae5b8
equal deleted inserted replaced
139:98ce0ffae5b8 140:e68c3d6094d1
    46 		if ( delete_record($record_id) ) {
    46 		if ( delete_record($record_id) ) {
    47 			success(SUC_RECORD_DEL);
    47 			success(SUC_RECORD_DEL);
    48 		}
    48 		}
    49 	} else {
    49 	} else {
    50 		$zone_id = recid_to_domid($record_id);
    50 		$zone_id = recid_to_domid($record_id);
    51 		$zone_name = get_domain_name_from_id($zone_id);
    51 		$zone_name = get_zone_name_from_id($zone_id);
    52 		$user_is_zone_owner = verify_user_is_owner_zoneid($zone_id);
    52 		$user_is_zone_owner = verify_user_is_owner_zoneid($zone_id);
    53 		$record_info = get_record_from_id($record_id);
    53 		$record_info = get_record_from_id($record_id);
    54 	
    54 	
    55 		echo "     <h2>" . _('Delete record') . " in zone \"" . $zone_name . "\"</h2>\n";
    55 		echo "     <h2>" . _('Delete record') . " in zone \"" . $zone_name . "\"</h2>\n";
    56 
    56