includes/template.php
changeset 585 35e91d16ecf5
parent 582 a38876c0793c
child 590 03a60844c7c5
equal deleted inserted replaced
584:04a6ea3da279 585:35e91d16ecf5
   907     
   907     
   908     // Manage ACLs button
   908     // Manage ACLs button
   909     if ( !$paths->anonymous_page && $session->check_acl_scope('edit_acl', $local_namespace) && ( $perms->get_permissions('edit_acl') || ( defined('ACL_ALWAYS_ALLOW_ADMIN_EDIT_ACL') &&  $session->user_level >= USER_LEVEL_ADMIN ) ) )
   909     if ( !$paths->anonymous_page && $session->check_acl_scope('edit_acl', $local_namespace) && ( $perms->get_permissions('edit_acl') || ( defined('ACL_ALWAYS_ALLOW_ADMIN_EDIT_ACL') &&  $session->user_level >= USER_LEVEL_ADMIN ) ) )
   910     {
   910     {
   911       $menubtn->assign_vars(array(
   911       $menubtn->assign_vars(array(
   912           'FLAGS' => 'onclick="if ( !KILL_SWITCH ) { return ajaxOpenACLManager(); }" title="' . $lang->get('onpage_tip_aclmanager') . '" accesskey="m"',
   912           'FLAGS' => 'onclick="if ( !KILL_SWITCH ) { var s = ajaxOpenACLManager(); console.debug(s); return false; }" title="' . $lang->get('onpage_tip_aclmanager') . '" accesskey="m"',
   913           'HREF'  => makeUrl($local_page, 'do=aclmanager', true),
   913           'HREF'  => makeUrl($local_page, 'do=aclmanager', true),
   914           'TEXT'  => $lang->get('onpage_btn_acl'),
   914           'TEXT'  => $lang->get('onpage_btn_acl'),
   915         ));
   915         ));
   916       $this->toolbar_menu .= $menubtn->run();
   916       $this->toolbar_menu .= $menubtn->run();
   917     }
   917     }