Dotclear


Ignore:
Timestamp:
11/15/14 15:34:24 (11 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

ARIA role="alert" in da place \o/

Location:
admin/install
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/install/index.php

    r2760 r2787  
    295295 
    296296if (!is_writable(DC_TPL_CACHE)) { 
    297      echo '<div class="error"><p>'.sprintf(__('Cache directory %s is not writable.'),DC_TPL_CACHE).'</p></div>'; 
     297     echo '<div class="error" role="alert"><p>'.sprintf(__('Cache directory %s is not writable.'),DC_TPL_CACHE).'</p></div>'; 
    298298} 
    299299 
    300300if ($can_install && !empty($err)) { 
    301      echo '<div class="error"><p><strong>'.__('Errors:').'</strong></p>'.$err.'</div>'; 
     301     echo '<div class="error" role="alert"><p><strong>'.__('Errors:').'</strong></p>'.$err.'</div>'; 
    302302} 
    303303 
    304304if (!empty($_GET['wiz'])) { 
    305      echo '<p class="success">'.__('Configuration file has been successfully created.').'</p>'; 
     305     echo '<p class="success" role="alert">'.__('Configuration file has been successfully created.').'</p>'; 
    306306} 
    307307 
     
    369369     $plugins_install_result. 
    370370 
    371      '<p class="success">'.__('Dotclear has been successfully installed. Here is some useful information you should keep.').'</p>'. 
     371     '<p class="success" role="alert">'.__('Dotclear has been successfully installed. Here is some useful information you should keep.').'</p>'. 
    372372 
    373373     '<h3>'.__('Your account').'</h3>'. 
     
    393393{ 
    394394     echo '<h2>'.__('Installation can not be completed').'</h2>'. 
    395      '<div class="error"><p><strong>'.__('Errors:').'</strong></p>'.$err.'</div>'. 
     395     '<div class="error" role="alert"><p><strong>'.__('Errors:').'</strong></p>'.$err.'</div>'. 
    396396     '<p>'.__('For the said reasons, Dotclear can not be installed. '. 
    397397          'Please refer to <a href="http://dotclear.org/documentation/2.0/admin/install">'. 
  • admin/install/wizard.php

    r2760 r2787  
    158158 
    159159if (!empty($err)) { 
    160      echo '<div class="error"><p><strong>'.__('Errors:').'</strong></p>'.$err.'</div>'; 
     160     echo '<div class="error" role="alert"><p><strong>'.__('Errors:').'</strong></p>'.$err.'</div>'; 
    161161} else { 
    162162     echo '<h2>'.__('Welcome').'</h2>'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map