equal
deleted
inserted
replaced
395 |
395 |
396 function ajaxAuthLoginInnerSetup() |
396 function ajaxAuthLoginInnerSetup() |
397 { |
397 { |
398 // let's hope this gets the image cached |
398 // let's hope this gets the image cached |
399 var _ = new Image(32, 32); |
399 var _ = new Image(32, 32); |
400 _.src = scriptPath + "/images/good.gif"; |
400 _.src = scriptPath + "/images/check.png"; |
401 |
401 |
402 ajaxGet(makeUrlNS('Special', 'Login', 'act=getkey'), function() { |
402 ajaxGet(makeUrlNS('Special', 'Login', 'act=getkey'), function() { |
403 if ( ajax.readyState == 4 && ajax.status == 200 ) |
403 if ( ajax.readyState == 4 && ajax.status == 200 ) |
404 { |
404 { |
405 var response = String(ajax.responseText); |
405 var response = String(ajax.responseText); |
624 switch(response.result) |
624 switch(response.result) |
625 { |
625 { |
626 case 'success': |
626 case 'success': |
627 var success_win = '<div align="center" style="text-align: center;"> \ |
627 var success_win = '<div align="center" style="text-align: center;"> \ |
628 <p>' + $lang.get('user_login_success_short') + '</p> \ |
628 <p>' + $lang.get('user_login_success_short') + '</p> \ |
629 <p><img alt=" " src="'+scriptPath+'/images/good.gif" /></p> \ |
629 <p><img alt=" " src="'+scriptPath+'/images/check.png" /></p> \ |
630 </div>'; |
630 </div>'; |
631 ajax_auth_mb_cache.updateContent(success_win); |
631 ajax_auth_mb_cache.updateContent(success_win); |
632 if ( typeof(ajax_auth_prompt_cache) == 'function' ) |
632 if ( typeof(ajax_auth_prompt_cache) == 'function' ) |
633 { |
633 { |
634 ajax_auth_prompt_cache(response.key); |
634 ajax_auth_prompt_cache(response.key); |