equal
deleted
inserted
replaced
59 exit; |
59 exit; |
60 } |
60 } |
61 |
61 |
62 $user_is_zone_owner = verify_user_is_owner_zoneid($zone_id); |
62 $user_is_zone_owner = verify_user_is_owner_zoneid($zone_id); |
63 $zone_type = get_domain_type($zone_id); |
63 $zone_type = get_domain_type($zone_id); |
64 $zone_name = get_domain_name_from_id($zone_id); |
64 $zone_name = get_zone_name_from_id($zone_id); |
65 |
65 |
66 if ($_POST["commit"]) { |
66 if ($_POST["commit"]) { |
67 if ( $zone_type == "SLAVE" || $perm_content_edit == "none" || $perm_content_edit == "own" && $user_is_zone_owner == "0" ) { |
67 if ( $zone_type == "SLAVE" || $perm_content_edit == "none" || $perm_content_edit == "own" && $user_is_zone_owner == "0" ) { |
68 error(ERR_PERM_ADD_RECORD); |
68 error(ERR_PERM_ADD_RECORD); |
69 } else { |
69 } else { |