rem: Did you <a href="'+makeUrlNS('Special', 'PasswordReset')+'">forget your password</a>?<br /> \ Maybe you need to <a href="'+makeUrlNS('Special', 'Register')+'">create an account</a>.</small>'; 
add: Did you <a href="'+makeUrlNS('Special', 'PasswordReset')+'">forget your password</a>?<br /> \ Maybe you need to <a href="'+makeUrlNS('Special', 'Register')+'">create an account</a>.</small>'; 
context:   ajaxGet(makeUrlNS('Special', 'Login', 'act=getkey'), function() {      if ( ajax.readyState == 4 )      {        var response = String(ajax.responseText);        if ( response.substr(0,1) != '{' )        {          alert('Invalid JSON response from server: ' + response);          return false;        }        response = parseJSON(response);        var level = ajax_auth_level_cache;        var form_html = '';        var shown_error = false;        if ( ajax_auth_error_string )        {          shown_error = true;          form_html += '<div class="error-box-mini" id="ajax_auth_error">' + ajax_auth_error_string + '</div>';          ajax_auth_error_string = false;        }        else if ( level > USER_LEVEL_MEMBER )        {          form_html += 'Please re-enter your login details, to verify your identity.<br /><br />';        }        form_html += ' \          <table border="0" align="center"> \            <tr> \              <td>Username:</td><td><input tabindex="1" id="ajaxlogin_user" type="text"     size="25" /> \            </tr> \            <tr> \              <td>Password:</td><td><input tabindex="2" id="ajaxlogin_pass" type="password" size="25" /> \            </tr> \            <tr> \              <td colspan="2" style="text-align: center;"> \                <br /><small>Trouble logging in? Try the <a href="'+makeUrlNS('Special', 'Login/' + title, 'level=' + level)+'">full login form</a>.<br />';       if ( level <= USER_LEVEL_MEMBER )       {         form_html += ' \                Did you <a href="'+makeUrlNS('Special', 'PasswordReset')+'">forget your password</a>?<br /> \                Maybe you need to <a href="'+makeUrlNS('Special', 'Register')+'">create an account</a>.</small>';       }       form_html += ' \              </td> \            </tr> \          </table> \          <input type="hidden" id="ajaxlogin_crypt_key"       value="' + response.key + '" /> \          <input type="hidden" id="ajaxlogin_crypt_challenge" value="' + response.challenge + '" /> \        </form>';        ajax_auth_mb_cache.updateContent(form_html);        $('messageBox').object.nextSibling.firstChild.tabindex = '3';        if ( typeof(response.username) == 'string' )        {          $('ajaxlogin_user').object.value = response.username;          $('ajaxlogin_pass').object.focus();        }        else        {          $('ajaxlogin_user').object.focus();        }        $('ajaxlogin_pass').object.onblur = function(e) { if ( !shift ) $('messageBox').object.nextSibling.firstChild.focus(); };        $('ajaxlogin_pass').object.onkeypress = function(e) { if ( !e && IE ) return true; if ( e.keyCode == 13 ) $('messageBox').object.nextSibling.firstChild.click(); };        /*        ## This causes the background image to disappear under Fx 2        if ( shown_error )        {          // fade to #FFF4F4          var fader = new Spry.Effect.Highlight('ajax_auth_error', {duration: 1000, from: '#FFF4F4', to: '#805600', restoreColor: '#805600', finish: function()              {                var fader = new Spry.Effect.Highlight('ajax_auth_error', {duration: 3000, from: '#805600', to: '#FFF4F4', restoreColor: '#FFF4F4'});                fader.start();          }});          fader.start();        }        */      }    });
meta: 3765	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3765/1cdf574908de970fb8384f249831b34e54472a61/misc.js/buggy/includes/clientside/static/misc.js