includes/clientside/static/login.js
changeset 694 43367c66d869
parent 688 f2a824ce5f18
child 699 c7d737202d59
equal deleted inserted replaced
693:f21aa64d050a 694:43367c66d869
   599     check_dh.setAttribute('onclick', 'var ck = ( this.checked ) ? "enable" : "disable"; createCookie("diffiehellman_login", ck, 3650);');
   599     check_dh.setAttribute('onclick', 'var ck = ( this.checked ) ? "enable" : "disable"; createCookie("diffiehellman_login", ck, 3650);');
   600     if ( readCookie('diffiehellman_login') != 'disable' )
   600     if ( readCookie('diffiehellman_login') != 'disable' )
   601       check_dh.setAttribute('checked', 'checked');
   601       check_dh.setAttribute('checked', 'checked');
   602     check_dh.id = 'ajax_login_field_dh';
   602     check_dh.id = 'ajax_login_field_dh';
   603     lbl_dh.appendChild(check_dh);
   603     lbl_dh.appendChild(check_dh);
   604     lbl_dh.innerHTML += $lang.get('user_login_ajax_check_dh');
   604     lbl_dh.innerHTML += ' ' + $lang.get('user_login_ajax_check_dh');
   605     form.appendChild(lbl_dh);
   605     form.appendChild(lbl_dh);
   606   }
   606   }
   607   
   607   
   608   if ( IE )
   608   if ( IE )
   609   {
   609   {
   871   errbox.className = 'error-box-mini';
   871   errbox.className = 'error-box-mini';
   872   errbox.style.position = 'absolute';
   872   errbox.style.position = 'absolute';
   873   errbox.style.width = '60%';
   873   errbox.style.width = '60%';
   874   errbox.style.top = top + 'px';
   874   errbox.style.top = top + 'px';
   875   errbox.style.left = left + 'px';
   875   errbox.style.left = left + 'px';
       
   876   errbox.style.zIndex = getHighestZ();
   876   errbox.innerHTML = text;
   877   errbox.innerHTML = text;
   877   errbox.id = 'ajax_login_error_box';
   878   errbox.id = 'ajax_login_error_box';
   878   
   879   
   879   var body = document.getElementsByTagName('body')[0];
   880   var body = document.getElementsByTagName('body')[0];
   880   body.appendChild(errbox);
   881   body.appendChild(errbox);