Ignore:
Timestamp:
04/11/10 15:39:24 (3 years ago)
Author:
benjamin
Message:

adding a variable 'subadmin_restriction' who determine how the account list may be accessed by admin account who are not uid=2000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • alternc/trunk/bureau/admin/adm_login.php

    r2559 r2672  
    4040getFields($fields); 
    4141 
    42 if (!$admin->checkcreator($id)) { 
     42$subadmin=variable_get("subadmin_restriction"); 
     43 
     44if ($subadmin==0 && !$admin->checkcreator($id)) { 
    4345  __("This page is restricted to authorized staff"); 
    4446  exit(); 
Note: See TracChangeset for help on using the changeset viewer.