Dotclear

Changeset 47:15c028d94180


Ignore:
Timestamp:
04/29/11 10:30:52 (14 years ago)
Author:
Tomtom33 <tbouron@…>
Branch:
userprefs
Message:

Auth screen improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/auth.php

    r42 r47  
    294294    }; 
    295295     
     296    if (navigator.cookieEnabled) { 
     297      $('#cookie_help').hide(); 
     298    } else { 
     299      $('#cookie_help').show(); 
     300    } 
     301    $('#issue h4').toggleWithLegend($('#issue').children().not('h4'), 
     302      {cookie:'dc_issue',fn: function(){$('#safe_mode_help').hide();}} 
     303    ); 
    296304    $('a#safe_mode_link_help').click(function() { 
    297305      $(this).parent().next().slideToggle(); 
     
    385393          '</fieldset>'. 
    386394           
    387           '<p>'.__('You must accept cookies in order to use the private area.').'</p>'; 
     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>'; 
    388399           
    389400          if ($safe_mode) { 
     
    403414               echo '<p><a href="auth.php?recover=1">'.__('I forgot my password').'</a></p>'; 
    404415          } 
     416          echo 
     417          '</div>'; 
    405418     } 
    406419} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map