Dotclear

Changeset 3018:02463a39c69a


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

Files:
3 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(); 
  • admin/plugins.php

    r2997 r3018  
    114114 
    115115# -- Display modules lists -- 
    116 if ($core->auth->isSuperAdmin() && $list->isWritablePath()) { 
     116if ($core->auth->isSuperAdmin()) { 
    117117 
    118118     # Updated modules from repo 
  • locales/fr/main.po

    r3003 r3018  
    17051705msgstr "Certaines fonctions sont désactivées, donnez un accès en écriture à votre répertoire de plugins pour les activer." 
    17061706 
     1707msgid "Some functions are disabled, please give write access to your themes directory to enable them." 
     1708msgstr "Certaines fonctions sont désactivées, donnez un accès en écriture à votre répertoire de thèmes pour les activer." 
     1709 
    17071710msgid "Add a link" 
    17081711msgstr "Ajouter un lien" 
Note: See TracChangeset for help on using the changeset viewer.

Sites map