equal
deleted
inserted
replaced
96 * @param int The security level to authenticate at - see http://docs.enanocms.org/Help:Appendix_B |
96 * @param int The security level to authenticate at - see http://docs.enanocms.org/Help:Appendix_B |
97 */ |
97 */ |
98 |
98 |
99 window.ajaxLoginInit = function(call_on_finish, user_level) |
99 window.ajaxLoginInit = function(call_on_finish, user_level) |
100 { |
100 { |
101 load_component(['messagebox', 'flyin', 'jquery', 'jquery-ui', 'l10n', 'crypto']); |
101 load_component(['messagebox', 'flyin', 'fadefilter', 'jquery', 'jquery-ui', 'l10n', 'crypto']); |
102 |
102 |
103 logindata = {}; |
103 logindata = {}; |
104 |
104 |
105 var title = ( user_level > USER_LEVEL_MEMBER ) ? $lang.get('user_login_ajax_prompt_title_elev') : $lang.get('user_login_ajax_prompt_title'); |
105 var title = ( user_level > USER_LEVEL_MEMBER ) ? $lang.get('user_login_ajax_prompt_title_elev') : $lang.get('user_login_ajax_prompt_title'); |
106 logindata.mb_object = new MessageBox(MB_OKCANCEL | MB_ICONLOCK, title, ''); |
106 logindata.mb_object = new MessageBox(MB_OKCANCEL | MB_ICONLOCK, title, ''); |