Changeset 2787:b73e772c9525
- Timestamp:
- 11/15/14 15:34:24 (11 years ago)
- Branch:
- default
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/auth.php
r2784 r2787 330 330 <?php 331 331 if ($err) { 332 echo '<div class="error" >'.$err.'</div>';332 echo '<div class="error" role="alert">'.$err.'</div>'; 333 333 } 334 334 if ($msg) { 335 echo '<p class="success" >'.$msg.'</p>';335 echo '<p class="success" role="alert">'.$msg.'</p>'; 336 336 } 337 337 -
admin/install/index.php
r2760 r2787 295 295 296 296 if (!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>'; 298 298 } 299 299 300 300 if ($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>'; 302 302 } 303 303 304 304 if (!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>'; 306 306 } 307 307 … … 369 369 $plugins_install_result. 370 370 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>'. 372 372 373 373 '<h3>'.__('Your account').'</h3>'. … … 393 393 { 394 394 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>'. 396 396 '<p>'.__('For the said reasons, Dotclear can not be installed. '. 397 397 'Please refer to <a href="http://dotclear.org/documentation/2.0/admin/install">'. -
admin/install/wizard.php
r2760 r2787 158 158 159 159 if (!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>'; 161 161 } else { 162 162 echo '<h2>'.__('Welcome').'</h2>'. -
inc/admin/lib.dc.page.php
r2784 r2787 164 164 { 165 165 echo 166 '<div class="warning" ><h3>'.__('Safe mode').'</h3>'.166 '<div class="warning" role="alert"><h3>'.__('Safe mode').'</h3>'. 167 167 '<p>'.__('You are in safe mode. All plugins have been temporarily disabled. Remind to log out then log in again normally to get back all functionalities').'</p>'. 168 168 '</div>'; … … 242 242 $ts = dt::str(__('[%H:%M:%S]'),$n['ts'],$core->auth->getInfo('user_tz')).' '; 243 243 } 244 $res = '<'.$tag.' class="'.$n['class'].'" >'.$ts.$n['text'].'</'.$tag.'>';244 $res = '<'.$tag.' class="'.$n['class'].'" role="alert">'.$ts.$n['text'].'</'.$tag.'>'; 245 245 return $res; 246 246 } … … 350 350 if ($core->error->flag()) { 351 351 echo 352 '<div class="error" ><strong>'.__('Errors:').'</strong>'.352 '<div class="error" role="alert"><strong>'.__('Errors:').'</strong>'. 353 353 $core->error->toHTML(). 354 354 '</div>';
Note: See TracChangeset
for help on using the changeset viewer.