Dotclear


Ignore:
Timestamp:
06/28/15 09:24:27 (10 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Display update message for themes and plugins, even if respective folder is read-only, fixes #1969

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/blog_theme.php

    r2677 r3018  
    108108 
    109109# -- Display modules lists -- 
    110 if ($core->auth->isSuperAdmin() && $list->isWritablePath()) { 
     110if ($core->auth->isSuperAdmin()) { 
    111111 
    112112     # Updated modules from repo 
     
    233233# --BEHAVIOR-- themesToolsTabs 
    234234$core->callBehavior('themesToolsTabs', $core); 
     235 
     236# -- Notice for super admin -- 
     237if ($core->auth->isSuperAdmin() && !$list->isWritablePath()) { 
     238     echo 
     239     '<p class="warning">'.__('Some functions are disabled, please give write access to your themes directory to enable them.').'</p>'; 
     240} 
     241 
    235242dcPage::helpBlock('core_blog_theme'); 
    236243dcPage::close(); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map