includes/template.php
changeset 511 f88c8c79d784
parent 507 586fd7d3202d
child 526 b2fb50d572c7
--- a/includes/template.php	Wed Mar 26 16:51:42 2008 -0400
+++ b/includes/template.php	Wed Mar 26 20:20:22 2008 -0400
@@ -782,7 +782,7 @@
     }
     
     // Manage ACLs button
-    if ( !$paths->anonymous_page && ( $session->get_permissions('edit_acl') || $session->user_level >= USER_LEVEL_ADMIN ) )
+    if ( !$paths->anonymous_page && ( $session->get_permissions('edit_acl') || ( defined('ACL_ALWAYS_ALLOW_ADMIN_EDIT_ACL') &&  $session->user_level >= USER_LEVEL_ADMIN ) ) )
     {
       $menubtn->assign_vars(array(
           'FLAGS' => 'onclick="if ( !KILL_SWITCH ) { return ajaxOpenACLManager(); }" title="' . $lang->get('onpage_tip_aclmanager') . '" accesskey="m"',