equal
deleted
inserted
replaced
807 window.location = loc; |
807 window.location = loc; |
808 }, 9); |
808 }, 9); |
809 return false; |
809 return false; |
810 } |
810 } |
811 var loc = makeUrlNS('Special', 'Administration', 'module=' + namespace_list['Admin'] + 'PageManager&source=ajax&page_id=' + ajaxEscape(title)); |
811 var loc = makeUrlNS('Special', 'Administration', 'module=' + namespace_list['Admin'] + 'PageManager&source=ajax&page_id=' + ajaxEscape(title)); |
|
812 window.location = loc; |
|
813 } |
|
814 |
|
815 function ajaxAdminUser(username) |
|
816 { |
|
817 // IE <6 pseudo-compatibility |
|
818 if ( KILL_SWITCH ) |
|
819 return true; |
|
820 if ( auth_level < USER_LEVEL_ADMIN ) |
|
821 { |
|
822 ajaxPromptAdminAuth(function(k) { |
|
823 ENANO_SID = k; |
|
824 auth_level = USER_LEVEL_ADMIN; |
|
825 var loc = String(window.location + ''); |
|
826 window.location = append_sid(loc); |
|
827 var loc = makeUrlNS('Special', 'Administration', 'module=' + namespace_list['Admin'] + 'UserManager&src=get&user=' + ajaxEscape(username)); |
|
828 if ( (ENANO_SID + ' ').length > 1 ) |
|
829 window.location = loc; |
|
830 }, 9); |
|
831 return false; |
|
832 } |
|
833 var loc = makeUrlNS('Special', 'Administration', 'module=' + namespace_list['Admin'] + 'UserManager&src=get&user=' + ajaxEscape(username)); |
812 window.location = loc; |
834 window.location = loc; |
813 } |
835 } |
814 |
836 |
815 function ajaxDisableEmbeddedPHP() |
837 function ajaxDisableEmbeddedPHP() |
816 { |
838 { |