Changeset 72:4299050365bd for admin/auth.php
- Timestamp:
- 04/30/11 20:31:09 (14 years ago)
- Branch:
- userprefs
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/auth.php
r48 r72 299 299 $('#cookie_help').show(); 300 300 } 301 $('#issue h4').toggleWithLegend($('#issue').children().not('h4'),301 $('#issue #more').toggleWithLegend($('#issue').children().not('#more'), 302 302 {cookie:'dc_issue',fn: function(){$('#safe_mode_help').hide();}} 303 303 ); … … 369 369 if ($safe_mode) { 370 370 echo '<legend>'.__('Safe mode login').'</legend>'; 371 echo '<div class="form-note"><p><a href="#" id="safe_mode_link_help">'.__('What is dotclear safe mode ?').'</a></p>'. 372 '<p id="safe_mode_help">'. 373 __('This mode allows you to login without activating any of your plugins. This may be useful to solve compatibility problems').' '. 374 __('Disable or delete any plugin suspected to cause trouble, then log out and log back in normally.'). 375 '</p></div>'; 371 376 } 372 377 echo … … 392 397 echo 393 398 '</fieldset>'. 394 395 '<p id="cookie_help">'.__('You must accept cookies in order to use the private area.').'</p>'. 396 397 '<div id="issue">'. 398 '<h4>'.__('Connection issue').'</h4>'; 399 '<p id="cookie_help">'.__('You must accept cookies in order to use the private area.').'</p>'; 400 401 echo '<div id="issue">'; 399 402 400 403 if ($safe_mode) { … … 402 405 '<p><a href="auth.php" id="normal_mode_link">'.__('Get back to normal authentication').'</a></p>'; 403 406 } else { 404 echo 405 '<p><a href="auth.php?safe_mode=1" id="safe_mode_link">'.__('I want to log in in safe mode').'</a></p>'. 406 '<p class="form-note"><a href="#" id="safe_mode_link_help">'.__('What is dotclear safe mode ?').'</a></p>'. 407 '<p id="safe_mode_help"><em>'. 408 __('This mode allows you to login without activating any of your plugins. This may be useful to solve compatibility problems').' '. 409 __('Disable or delete any plugin suspected to cause trouble, then log out and log back in normally.'). 410 '</em></p>'; 411 } 412 413 if ($core->auth->allowPassChange()) { 414 echo '<p><a href="auth.php?recover=1">'.__('I forgot my password').'</a></p>'; 415 } 416 echo 417 '</div>'; 407 echo '<p id="more"><strong>'.__('Connection issue?').'</strong></p>'; 408 if ($core->auth->allowPassChange()) { 409 echo '<p><a href="auth.php?recover=1">'.__('I forgot my password').'</a></p>'; 410 } 411 echo '<p><a href="auth.php?safe_mode=1" id="safe_mode_link">'.__('I want to log in in safe mode').'</a></p>'; 412 } 413 414 echo '</div>'; 418 415 } 419 416 }
Note: See TracChangeset
for help on using the changeset viewer.