includes/template.php
changeset 511 f88c8c79d784
parent 507 586fd7d3202d
child 526 b2fb50d572c7
equal deleted inserted replaced
510:290fa071842a 511:f88c8c79d784
   780       
   780       
   781       $this->toolbar_menu .= '<table border="0" cellspacing="0" cellpadding="0"><tr><td>'.$t0.'</td><td><input type="password" id="mdgPassSetField" size="10" /></td><td>'.$t.'</td></tr></table>';
   781       $this->toolbar_menu .= '<table border="0" cellspacing="0" cellpadding="0"><tr><td>'.$t0.'</td><td><input type="password" id="mdgPassSetField" size="10" /></td><td>'.$t.'</td></tr></table>';
   782     }
   782     }
   783     
   783     
   784     // Manage ACLs button
   784     // Manage ACLs button
   785     if ( !$paths->anonymous_page && ( $session->get_permissions('edit_acl') || $session->user_level >= USER_LEVEL_ADMIN ) )
   785     if ( !$paths->anonymous_page && ( $session->get_permissions('edit_acl') || ( defined('ACL_ALWAYS_ALLOW_ADMIN_EDIT_ACL') &&  $session->user_level >= USER_LEVEL_ADMIN ) ) )
   786     {
   786     {
   787       $menubtn->assign_vars(array(
   787       $menubtn->assign_vars(array(
   788           'FLAGS' => 'onclick="if ( !KILL_SWITCH ) { return ajaxOpenACLManager(); }" title="' . $lang->get('onpage_tip_aclmanager') . '" accesskey="m"',
   788           'FLAGS' => 'onclick="if ( !KILL_SWITCH ) { return ajaxOpenACLManager(); }" title="' . $lang->get('onpage_tip_aclmanager') . '" accesskey="m"',
   789           'HREF'  => makeUrl($paths->page, 'do=aclmanager', true),
   789           'HREF'  => makeUrl($paths->page, 'do=aclmanager', true),
   790           'TEXT'  => $lang->get('onpage_btn_acl'),
   790           'TEXT'  => $lang->get('onpage_btn_acl'),