list_zones.php
changeset 126 cb06e3e29ed8
parent 119 f74e4f88b680
child 130 0206bf615244
--- a/list_zones.php	Thu Apr 03 18:57:11 2008 +0000
+++ b/list_zones.php	Thu Apr 03 21:48:36 2008 +0000
@@ -22,12 +22,12 @@
 require_once("inc/toolkit.inc.php");
 include_once("inc/header.inc.php");
 
-if (verify_permission(zone_content_view_others)) { $perm_view = "all" ; } 
-elseif (verify_permission(zone_content_view_own)) { $perm_view = "own" ; }
+if (verify_permission('zone_content_view_others')) { $perm_view = "all" ; } 
+elseif (verify_permission('zone_content_view_own')) { $perm_view = "own" ; }
 else { $perm_view = "none" ;}
 
-if (verify_permission(zone_content_edit_others)) { $perm_edit = "all" ; } 
-elseif (verify_permission(zone_content_edit_own)) { $perm_edit = "own" ;} 
+if (verify_permission('zone_content_edit_others')) { $perm_edit = "all" ; } 
+elseif (verify_permission('zone_content_edit_own')) { $perm_edit = "own" ;} 
 else { $perm_edit = "none" ; }
 
 $count_zones_all = zone_count_ng("all");