From 2bc9c97d3096c5a8df415c28aeb67a3c84ac15e6 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 20 Nov 2014 23:23:16 +0100 Subject: Rename theme clearbright to bright --- pyload/webui/themes/bright/js/render/base.min.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 pyload/webui/themes/bright/js/render/base.min.js (limited to 'pyload/webui/themes/bright/js/render/base.min.js') diff --git a/pyload/webui/themes/bright/js/render/base.min.js b/pyload/webui/themes/bright/js/render/base.min.js new file mode 100644 index 000000000..1ba1d73f9 --- /dev/null +++ b/pyload/webui/themes/bright/js/render/base.min.js @@ -0,0 +1,3 @@ +{% autoescape true %} +var LoadJsonToContent,clear_captcha,humanFileSize,load_captcha,on_captcha_click,parseUri,root,set_captcha,submit_captcha;root=this;humanFileSize=function(f){var c,d,e,b;d=new Array("B","KiB","MiB","GiB","TiB","PiB");b=Math.log(f)/Math.log(1024);e=Math.floor(b);c=Math.pow(1024,e);if(f===0){return"0 B"}else{return Math.round(f*100/c)/100+" "+d[e]}};parseUri=function(){var b,c,g,e,d,f,a;b=$("add_links").value;g=new RegExp("(ht|f)tp(s?)://[a-zA-Z0-9-./?=_&%#]+[<| |\"|'|\r|\n|\t]{1}","g");d=b.match(g);if(d===null){return}e="";for(f=0,a=d.length;f