diff -r f4b89aa4226d -r 9c364fded738 includes/clientside/static/login.js --- a/includes/clientside/static/login.js Tue Aug 04 17:32:09 2009 -0400 +++ b/includes/clientside/static/login.js Fri Aug 07 10:22:09 2009 -0400 @@ -686,7 +686,10 @@ // Field: enable Diffie Hellman if ( ajax_login_prevent_dh ) { - boxen.appendChild(bullet); + if ( logindata.user_level <= USER_LEVEL_MEMBER ) + // only show this if both checkboxes are visible + boxen.appendChild(bullet); + var lbl_dh = document.createElement('span'); lbl_dh.style.fontSize = 'smaller'; lbl_dh.style.textAlign = 'center'; @@ -703,7 +706,9 @@ } else { - boxen.appendChild(bullet); + if ( logindata.user_level <= USER_LEVEL_MEMBER ) + // only show this if both checkboxes are visible + boxen.appendChild(bullet); var lbl_dh = document.createElement('label'); lbl_dh.style.fontSize = 'smaller';