equal
deleted
inserted
replaced
34 |
34 |
35 if (verify_permission('zone_content_edit_others')) { $perm_content_edit = "all" ; } |
35 if (verify_permission('zone_content_edit_others')) { $perm_content_edit = "all" ; } |
36 elseif (verify_permission('zone_content_edit_own')) { $perm_content_edit = "own" ; } |
36 elseif (verify_permission('zone_content_edit_own')) { $perm_content_edit = "own" ; } |
37 else { $perm_content_edit = "none" ; } |
37 else { $perm_content_edit = "none" ; } |
38 |
38 |
39 $user_is_zone_owner = verify_user_is_owner_zoneid($_GET["domain"]); |
39 $zid = get_zone_id_from_record_id($_GET['id']); |
|
40 $user_is_zone_owner = verify_user_is_owner_zoneid($zid); |
40 |
41 |
41 if ($record_id == "-1" ) { |
42 if ($record_id == "-1" ) { |
42 error(ERR_INV_INPUT); |
43 error(ERR_INV_INPUT); |
43 } else { |
44 } else { |
44 if ($confirm == '1') { |
45 if ($confirm == '1') { |