{combine_script id='common' load='footer' path='admin/themes/default/js/common.js'} {combine_script id='jquery.ui.slider' require='jquery.ui' load='footer' path='themes/default/js/ui/minified/jquery.ui.slider.min.js'} {combine_css path="themes/default/js/ui/theme/jquery.ui.slider.css"} {footer_script} jQuery(function($) { // slide $('.range').each(function(){ var cls=$(this).attr('class'); var elem=$(this).parent(); var input=elem.find('input'); var options={}; elem.append('
'); options.slide=function(event,ui){ elem.find('label span').empty().append(ui.value); input.val(ui.value); } options.value=input.val(); options.range='min'; options.min=$(this).data('min'); options.max=$(this).data('max'); elem.find('.uirange').slider(options); elem.find('label span').empty().append(input.val()); input.hide(); }); jQuery('.add-ip-allowed-form-toggle').click(function(e) { jQuery('.add-ip-allowed-form').toggle(); e.preventDefault(); }) }); {/footer_script} {html_style} {/html_style} {if isset ($ipbangest)} {/if} {if isset ($ipconfiggest)} {/if}