Dotclear

Changeset 4008:123f9480c8ed


Ignore:
Timestamp:
07/12/19 10:08:57 (6 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Add a warning about missing permission for newly created user, thanks Bernard for this suggestion

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/user.php

    r3985 r4008  
    142142 
    143143            dcPage::addSuccessNotice(__('User has been successfully created.')); 
     144            dcPage::addWarningNotice(__('User has no permission, he will not be able to login yet. See below to add some.')); 
    144145            if (!empty($_POST['saveplus'])) { 
    145146                $core->adminurl->redirect("admin.user"); 
     
    159160    dcPage::jsLoad('js/jquery/jquery.pwstrength.js') . 
    160161    dcPage::jsJson('user', [ 
    161             sprintf(__('Password strength: %s'), __('very weak')), 
    162             sprintf(__('Password strength: %s'), __('weak')), 
    163             sprintf(__('Password strength: %s'), __('mediocre')), 
    164             sprintf(__('Password strength: %s'), __('strong')), 
    165             sprintf(__('Password strength: %s'), __('very strong')) 
    166         ]) . 
     162        sprintf(__('Password strength: %s'), __('very weak')), 
     163        sprintf(__('Password strength: %s'), __('weak')), 
     164        sprintf(__('Password strength: %s'), __('mediocre')), 
     165        sprintf(__('Password strength: %s'), __('strong')), 
     166        sprintf(__('Password strength: %s'), __('very strong')) 
     167    ]) . 
    167168    dcPage::jsLoad('js/_user.js') . 
    168169    $core->callBehavior('adminUserHeaders'), 
  • locales/fr/main.po

    r3962 r4008  
    25332533msgstr "L'utilisateur·rice a été créé·e." 
    25342534 
     2535msgid "User has no permission, he will not be able to login yet. See below to add some." 
     2536msgstr "L'utilisateur·rice n'a aucune permission, elle ou il ne sera pas en mesure de se connecter. Voir plus bas pour en ajouter." 
     2537 
    25352538msgid "User profile" 
    25362539msgstr "Profil utilisateur·rice" 
Note: See TracChangeset for help on using the changeset viewer.

Sites map