list_zones.php
changeset 126 cb06e3e29ed8
parent 119 f74e4f88b680
child 130 0206bf615244
equal deleted inserted replaced
125:700a3674b72e 126:cb06e3e29ed8
    20  */
    20  */
    21 
    21 
    22 require_once("inc/toolkit.inc.php");
    22 require_once("inc/toolkit.inc.php");
    23 include_once("inc/header.inc.php");
    23 include_once("inc/header.inc.php");
    24 
    24 
    25 if (verify_permission(zone_content_view_others)) { $perm_view = "all" ; } 
    25 if (verify_permission('zone_content_view_others')) { $perm_view = "all" ; } 
    26 elseif (verify_permission(zone_content_view_own)) { $perm_view = "own" ; }
    26 elseif (verify_permission('zone_content_view_own')) { $perm_view = "own" ; }
    27 else { $perm_view = "none" ;}
    27 else { $perm_view = "none" ;}
    28 
    28 
    29 if (verify_permission(zone_content_edit_others)) { $perm_edit = "all" ; } 
    29 if (verify_permission('zone_content_edit_others')) { $perm_edit = "all" ; } 
    30 elseif (verify_permission(zone_content_edit_own)) { $perm_edit = "own" ;} 
    30 elseif (verify_permission('zone_content_edit_own')) { $perm_edit = "own" ;} 
    31 else { $perm_edit = "none" ; }
    31 else { $perm_edit = "none" ; }
    32 
    32 
    33 $count_zones_all = zone_count_ng("all");
    33 $count_zones_all = zone_count_ng("all");
    34 $count_zones_all_letterstart = zone_count_ng($perm_view,LETTERSTART); 
    34 $count_zones_all_letterstart = zone_count_ng($perm_view,LETTERSTART); 
    35 $count_zones_view = zone_count_ng($perm_view);
    35 $count_zones_view = zone_count_ng($perm_view);