includes/clientside/static/faders.js
changeset 210 2b283402e4e4
parent 151 824821224153
child 215 94db56b8124f
equal deleted inserted replaced
209:8a00247d1dee 210:2b283402e4e4
   439     object.filter = "alpha(opacity=" + opacity + ")";
   439     object.filter = "alpha(opacity=" + opacity + ")";
   440 }
   440 }
   441 
   441 
   442 function mb_logout()
   442 function mb_logout()
   443 {
   443 {
   444   var mb = new messagebox(MB_YESNO|MB_ICONQUESTION, 'Are you sure you want to log out?', 'If you log out, you will no longer be able to access your user preferences, your private messages, or certain areas of this site until you log in again.');
   444   var mb = new messagebox(MB_YESNO|MB_ICONQUESTION, $lang.get('user_logout_confirm_title'), $lang.get('user_logout_confirm_body'));
   445   mb.onclick['Yes'] = function()
   445   mb.onclick['Yes'] = function()
   446     {
   446     {
   447       window.location = makeUrlNS('Special', 'Logout/' + title);
   447       window.location = makeUrlNS('Special', 'Logout/' + title);
   448     }
   448     }
   449 }
   449 }