delete_record.php
changeset 126 cb06e3e29ed8
parent 119 f74e4f88b680
child 139 98ce0ffae5b8
equal deleted inserted replaced
125:700a3674b72e 126:cb06e3e29ed8
    30 $confirm = "-1";
    30 $confirm = "-1";
    31 if (isset($_GET['confirm']) && v_num($_GET['confirm'])) {
    31 if (isset($_GET['confirm']) && v_num($_GET['confirm'])) {
    32         $confirm = $_GET['confirm'];
    32         $confirm = $_GET['confirm'];
    33 }
    33 }
    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 $user_is_zone_owner = verify_user_is_owner_zoneid($_GET["domain"]);
    40 
    40 
    41 if ($record_id == "-1" ) {
    41 if ($record_id == "-1" ) {