equal
deleted
inserted
replaced
36 |
36 |
37 $zid = get_zone_id_from_record_id($_GET['id']); |
37 $zid = get_zone_id_from_record_id($_GET['id']); |
38 |
38 |
39 $user_is_zone_owner = verify_user_is_owner_zoneid($zid); |
39 $user_is_zone_owner = verify_user_is_owner_zoneid($zid); |
40 $zone_type = get_domain_type($zid); |
40 $zone_type = get_domain_type($zid); |
41 $zone_name = get_domain_name_from_id($zid); |
41 $zone_name = get_zone_name_from_id($zid); |
42 |
42 |
43 if ($_POST["commit"]) { |
43 if ($_POST["commit"]) { |
44 if ( $zone_type == "SLAVE" || $perm_content_edit == "none" || $perm_content_edit == "own" && $user_is_zone_owner == "0" ) { |
44 if ( $zone_type == "SLAVE" || $perm_content_edit == "none" || $perm_content_edit == "own" && $user_is_zone_owner == "0" ) { |
45 error(ERR_PERM_EDIT_RECORD); |
45 error(ERR_PERM_EDIT_RECORD); |
46 } else { |
46 } else { |