Dotclear


Ignore:
Timestamp:
09/22/13 02:49:48 (12 years ago)
Author:
Denis Jean-Chirstian <contact@…>
Branch:
default
Message:

Revamp plugin maintenance, step 5, now open to admin user and various fixes, addresses #999

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/maintenance/_admin.php

    r1984 r1989  
    1818     'index.php?pf=maintenance/icon.png', 
    1919     preg_match('/plugin.php\?p=maintenance(&.*)?$/', $_SERVER['REQUEST_URI']), 
    20      $core->auth->isSuperAdmin() 
     20     $core->auth->check('admin', $core->blog->id) 
    2121); 
    2222 
     
    192192          '<p><label for="maintenance_dashboard_icon" class="classic">'. 
    193193          form::checkbox('maintenance_dashboard_icon', 1, $core->auth->user_prefs->maintenance->dashboard_icon). 
    194           __('Display count of expired tasks on maintenance dashboard icon').'</label></p>'. 
     194          __('Display count of late tasks on maintenance dashboard icon').'</label></p>'. 
    195195 
    196196          '<p><label for="maintenance_dashboard_item" class="classic">'. 
    197197          form::checkbox('maintenance_dashboard_item', 1, $core->auth->user_prefs->maintenance->dashboard_item). 
    198           __('Display list of expired tasks on dashboard items').'</label></p>'. 
     198          __('Display list of late tasks on dashboard items').'</label></p>'. 
    199199 
    200200          '</div>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map