diff options
author | ayvis <ayvis.infra@gmail.com> | 2014-03-26 00:25:32 +0100 |
---|---|---|
committer | ayvis <ayvis.infra@gmail.com> | 2014-03-26 00:25:32 +0100 |
commit | 354ecfbc9eb6c90fb493984fb17b1ca81d9ea343 (patch) | |
tree | f5fb4ea9d21292f50fccda74328a467141543902 /usr/local/www/themes | |
parent | 07130afe2b5dd906d9f9b39585c355a07af006f9 (diff) | |
download | pfsense-354ecfbc9eb6c90fb493984fb17b1ca81d9ea343.zip pfsense-354ecfbc9eb6c90fb493984fb17b1ca81d9ea343.tar.gz |
javascript normalization
Diffstat (limited to 'usr/local/www/themes')
18 files changed, 36 insertions, 36 deletions
diff --git a/usr/local/www/themes/_corporate/javascript/niftyjsCode.js b/usr/local/www/themes/_corporate/javascript/niftyjsCode.js index 8093a48..75ef8b0 100644 --- a/usr/local/www/themes/_corporate/javascript/niftyjsCode.js +++ b/usr/local/www/themes/_corporate/javascript/niftyjsCode.js @@ -3,7 +3,7 @@ if(!document.getElementById || !document.createElement) return(false); isXHTML=/html\:/.test(document.getElementsByTagName('body')[0].nodeName); if(Array.prototype.push==null){Array.prototype.push=function(){ - this[this.length]=arguments[0]; return(this.length);}} + this[this.length]=arguments[0]; return(this.length);};} return(true); } @@ -30,7 +30,7 @@ else if(opt && opt.indexOf("smooth")>=0){ if(opt && opt.indexOf("small")>=0) cn+="s"; prefixt=cn; prefixb=cn; -if(wich.indexOf("all")>=0){t=true;b=true} +if(wich.indexOf("all")>=0){t=true;b=true;} else if(wich.indexOf("top")>=0) t="true"; else if(wich.indexOf("tl")>=0){ t="true"; diff --git a/usr/local/www/themes/_corporate/loader.js b/usr/local/www/themes/_corporate/loader.js index 79c484c..4512d5e 100644 --- a/usr/local/www/themes/_corporate/loader.js +++ b/usr/local/www/themes/_corporate/loader.js @@ -7,9 +7,9 @@ var cond = ''; // BROWSER? if (browser == '') { if (navigator.appName.indexOf('Microsoft') != -1) - browser = 'IE' + browser = 'IE'; else if (navigator.appName.indexOf('Netscape') != -1) - browser = 'Netscape' + browser = 'Netscape'; else browser = 'IE'; } diff --git a/usr/local/www/themes/code-red/javascript/niftyjsCode.js b/usr/local/www/themes/code-red/javascript/niftyjsCode.js index 8e76d46..e71ea14 100755..100644 --- a/usr/local/www/themes/code-red/javascript/niftyjsCode.js +++ b/usr/local/www/themes/code-red/javascript/niftyjsCode.js @@ -3,7 +3,7 @@ if(!document.getElementById || !document.createElement) return(false); isXHTML=/html\:/.test(document.getElementsByTagName('body')[0].nodeName); if(Array.prototype.push==null){Array.prototype.push=function(){ - this[this.length]=arguments[0]; return(this.length);}} + this[this.length]=arguments[0]; return(this.length);};} return(true); } @@ -30,7 +30,7 @@ else if(opt && opt.indexOf("smooth")>=0){ if(opt && opt.indexOf("small")>=0) cn+="s"; prefixt=cn; prefixb=cn; -if(wich.indexOf("all")>=0){t=true;b=true} +if(wich.indexOf("all")>=0){t=true;b=true;} else if(wich.indexOf("top")>=0) t="true"; else if(wich.indexOf("tl")>=0){ t="true"; diff --git a/usr/local/www/themes/code-red/loader.js b/usr/local/www/themes/code-red/loader.js index 42bff85..7f67dc0 100755..100644 --- a/usr/local/www/themes/code-red/loader.js +++ b/usr/local/www/themes/code-red/loader.js @@ -7,9 +7,9 @@ var cond = ''; // BROWSER? if (browser == '') { if (navigator.appName.indexOf('Microsoft') != -1) - browser = 'IE' + browser = 'IE'; else if (navigator.appName.indexOf('Netscape') != -1) - browser = 'Netscape' + browser = 'Netscape'; else browser = 'IE'; } diff --git a/usr/local/www/themes/metallic/javascript/niftyjsCode.js b/usr/local/www/themes/metallic/javascript/niftyjsCode.js index 8093a48..75ef8b0 100644 --- a/usr/local/www/themes/metallic/javascript/niftyjsCode.js +++ b/usr/local/www/themes/metallic/javascript/niftyjsCode.js @@ -3,7 +3,7 @@ if(!document.getElementById || !document.createElement) return(false); isXHTML=/html\:/.test(document.getElementsByTagName('body')[0].nodeName); if(Array.prototype.push==null){Array.prototype.push=function(){ - this[this.length]=arguments[0]; return(this.length);}} + this[this.length]=arguments[0]; return(this.length);};} return(true); } @@ -30,7 +30,7 @@ else if(opt && opt.indexOf("smooth")>=0){ if(opt && opt.indexOf("small")>=0) cn+="s"; prefixt=cn; prefixb=cn; -if(wich.indexOf("all")>=0){t=true;b=true} +if(wich.indexOf("all")>=0){t=true;b=true;} else if(wich.indexOf("top")>=0) t="true"; else if(wich.indexOf("tl")>=0){ t="true"; diff --git a/usr/local/www/themes/metallic/loader.js b/usr/local/www/themes/metallic/loader.js index 9538aba..9b435d5 100644 --- a/usr/local/www/themes/metallic/loader.js +++ b/usr/local/www/themes/metallic/loader.js @@ -7,9 +7,9 @@ var cond = ''; // BROWSER? if (browser == '') { if (navigator.appName.indexOf('Microsoft') != -1) - browser = 'IE' + browser = 'IE'; else if (navigator.appName.indexOf('Netscape') != -1) - browser = 'Netscape' + browser = 'Netscape'; else browser = 'IE'; } diff --git a/usr/local/www/themes/nervecenter/javascript/niftyjsCode.js b/usr/local/www/themes/nervecenter/javascript/niftyjsCode.js index 8e76d46..e71ea14 100644 --- a/usr/local/www/themes/nervecenter/javascript/niftyjsCode.js +++ b/usr/local/www/themes/nervecenter/javascript/niftyjsCode.js @@ -3,7 +3,7 @@ if(!document.getElementById || !document.createElement) return(false); isXHTML=/html\:/.test(document.getElementsByTagName('body')[0].nodeName); if(Array.prototype.push==null){Array.prototype.push=function(){ - this[this.length]=arguments[0]; return(this.length);}} + this[this.length]=arguments[0]; return(this.length);};} return(true); } @@ -30,7 +30,7 @@ else if(opt && opt.indexOf("smooth")>=0){ if(opt && opt.indexOf("small")>=0) cn+="s"; prefixt=cn; prefixb=cn; -if(wich.indexOf("all")>=0){t=true;b=true} +if(wich.indexOf("all")>=0){t=true;b=true;} else if(wich.indexOf("top")>=0) t="true"; else if(wich.indexOf("tl")>=0){ t="true"; diff --git a/usr/local/www/themes/nervecenter/loader.js b/usr/local/www/themes/nervecenter/loader.js index 70549e9..491e874 100644 --- a/usr/local/www/themes/nervecenter/loader.js +++ b/usr/local/www/themes/nervecenter/loader.js @@ -7,9 +7,9 @@ var cond = ''; // BROWSER? if (browser == '') { if (navigator.appName.indexOf('Microsoft') != -1) - browser = 'IE' + browser = 'IE'; else if (navigator.appName.indexOf('Netscape') != -1) - browser = 'Netscape' + browser = 'Netscape'; else browser = 'IE'; } diff --git a/usr/local/www/themes/pfsense-dropdown/javascript/niftyjsCode.js b/usr/local/www/themes/pfsense-dropdown/javascript/niftyjsCode.js index 8093a48..75ef8b0 100644 --- a/usr/local/www/themes/pfsense-dropdown/javascript/niftyjsCode.js +++ b/usr/local/www/themes/pfsense-dropdown/javascript/niftyjsCode.js @@ -3,7 +3,7 @@ if(!document.getElementById || !document.createElement) return(false); isXHTML=/html\:/.test(document.getElementsByTagName('body')[0].nodeName); if(Array.prototype.push==null){Array.prototype.push=function(){ - this[this.length]=arguments[0]; return(this.length);}} + this[this.length]=arguments[0]; return(this.length);};} return(true); } @@ -30,7 +30,7 @@ else if(opt && opt.indexOf("smooth")>=0){ if(opt && opt.indexOf("small")>=0) cn+="s"; prefixt=cn; prefixb=cn; -if(wich.indexOf("all")>=0){t=true;b=true} +if(wich.indexOf("all")>=0){t=true;b=true;} else if(wich.indexOf("top")>=0) t="true"; else if(wich.indexOf("tl")>=0){ t="true"; diff --git a/usr/local/www/themes/pfsense-dropdown/loader.js b/usr/local/www/themes/pfsense-dropdown/loader.js index c6847ee..e8612db 100644 --- a/usr/local/www/themes/pfsense-dropdown/loader.js +++ b/usr/local/www/themes/pfsense-dropdown/loader.js @@ -7,9 +7,9 @@ var cond = ''; // BROWSER? if (browser == '') { if (navigator.appName.indexOf('Microsoft') != -1) - browser = 'IE' + browser = 'IE'; else if (navigator.appName.indexOf('Netscape') != -1) - browser = 'Netscape' + browser = 'Netscape'; else browser = 'IE'; } diff --git a/usr/local/www/themes/pfsense/javascript/niftyjsCode.js b/usr/local/www/themes/pfsense/javascript/niftyjsCode.js index 8093a48..75ef8b0 100644 --- a/usr/local/www/themes/pfsense/javascript/niftyjsCode.js +++ b/usr/local/www/themes/pfsense/javascript/niftyjsCode.js @@ -3,7 +3,7 @@ if(!document.getElementById || !document.createElement) return(false); isXHTML=/html\:/.test(document.getElementsByTagName('body')[0].nodeName); if(Array.prototype.push==null){Array.prototype.push=function(){ - this[this.length]=arguments[0]; return(this.length);}} + this[this.length]=arguments[0]; return(this.length);};} return(true); } @@ -30,7 +30,7 @@ else if(opt && opt.indexOf("smooth")>=0){ if(opt && opt.indexOf("small")>=0) cn+="s"; prefixt=cn; prefixb=cn; -if(wich.indexOf("all")>=0){t=true;b=true} +if(wich.indexOf("all")>=0){t=true;b=true;} else if(wich.indexOf("top")>=0) t="true"; else if(wich.indexOf("tl")>=0){ t="true"; diff --git a/usr/local/www/themes/pfsense/loader.js b/usr/local/www/themes/pfsense/loader.js index 1d75541..2fc9b78 100644 --- a/usr/local/www/themes/pfsense/loader.js +++ b/usr/local/www/themes/pfsense/loader.js @@ -7,9 +7,9 @@ var cond = ''; // BROWSER? if (browser == '') { if (navigator.appName.indexOf('Microsoft') != -1) - browser = 'IE' + browser = 'IE'; else if (navigator.appName.indexOf('Netscape') != -1) - browser = 'Netscape' + browser = 'Netscape'; else browser = 'IE'; } diff --git a/usr/local/www/themes/pfsense_ng/javascript/niftyjsCode.js b/usr/local/www/themes/pfsense_ng/javascript/niftyjsCode.js index 8e76d46..e71ea14 100644 --- a/usr/local/www/themes/pfsense_ng/javascript/niftyjsCode.js +++ b/usr/local/www/themes/pfsense_ng/javascript/niftyjsCode.js @@ -3,7 +3,7 @@ if(!document.getElementById || !document.createElement) return(false); isXHTML=/html\:/.test(document.getElementsByTagName('body')[0].nodeName); if(Array.prototype.push==null){Array.prototype.push=function(){ - this[this.length]=arguments[0]; return(this.length);}} + this[this.length]=arguments[0]; return(this.length);};} return(true); } @@ -30,7 +30,7 @@ else if(opt && opt.indexOf("smooth")>=0){ if(opt && opt.indexOf("small")>=0) cn+="s"; prefixt=cn; prefixb=cn; -if(wich.indexOf("all")>=0){t=true;b=true} +if(wich.indexOf("all")>=0){t=true;b=true;} else if(wich.indexOf("top")>=0) t="true"; else if(wich.indexOf("tl")>=0){ t="true"; diff --git a/usr/local/www/themes/pfsense_ng/loader.js b/usr/local/www/themes/pfsense_ng/loader.js index 646a6cd..ee215f3 100644 --- a/usr/local/www/themes/pfsense_ng/loader.js +++ b/usr/local/www/themes/pfsense_ng/loader.js @@ -7,9 +7,9 @@ var cond = ''; // BROWSER? if (browser == '') { if (navigator.appName.indexOf('Microsoft') != -1) - browser = 'IE' + browser = 'IE'; else if (navigator.appName.indexOf('Netscape') != -1) - browser = 'Netscape' + browser = 'Netscape'; else browser = 'IE'; } diff --git a/usr/local/www/themes/pfsense_ng_fs/javascript/niftyjsCode.js b/usr/local/www/themes/pfsense_ng_fs/javascript/niftyjsCode.js index 8e76d46..e71ea14 100644 --- a/usr/local/www/themes/pfsense_ng_fs/javascript/niftyjsCode.js +++ b/usr/local/www/themes/pfsense_ng_fs/javascript/niftyjsCode.js @@ -3,7 +3,7 @@ if(!document.getElementById || !document.createElement) return(false); isXHTML=/html\:/.test(document.getElementsByTagName('body')[0].nodeName); if(Array.prototype.push==null){Array.prototype.push=function(){ - this[this.length]=arguments[0]; return(this.length);}} + this[this.length]=arguments[0]; return(this.length);};} return(true); } @@ -30,7 +30,7 @@ else if(opt && opt.indexOf("smooth")>=0){ if(opt && opt.indexOf("small")>=0) cn+="s"; prefixt=cn; prefixb=cn; -if(wich.indexOf("all")>=0){t=true;b=true} +if(wich.indexOf("all")>=0){t=true;b=true;} else if(wich.indexOf("top")>=0) t="true"; else if(wich.indexOf("tl")>=0){ t="true"; diff --git a/usr/local/www/themes/pfsense_ng_fs/loader.js b/usr/local/www/themes/pfsense_ng_fs/loader.js index 4620b66..c8ebe60 100644 --- a/usr/local/www/themes/pfsense_ng_fs/loader.js +++ b/usr/local/www/themes/pfsense_ng_fs/loader.js @@ -8,9 +8,9 @@ var cond = ''; if (browser == '') { if (navigator.appName.indexOf('Microsoft') != -1) - browser = 'IE' + browser = 'IE'; else if (navigator.appName.indexOf('Netscape') != -1) - browser = 'Netscape' + browser = 'Netscape'; else browser = 'IE'; } diff --git a/usr/local/www/themes/the_wall/javascript/niftyjsCode.js b/usr/local/www/themes/the_wall/javascript/niftyjsCode.js index 8e76d46..e71ea14 100644 --- a/usr/local/www/themes/the_wall/javascript/niftyjsCode.js +++ b/usr/local/www/themes/the_wall/javascript/niftyjsCode.js @@ -3,7 +3,7 @@ if(!document.getElementById || !document.createElement) return(false); isXHTML=/html\:/.test(document.getElementsByTagName('body')[0].nodeName); if(Array.prototype.push==null){Array.prototype.push=function(){ - this[this.length]=arguments[0]; return(this.length);}} + this[this.length]=arguments[0]; return(this.length);};} return(true); } @@ -30,7 +30,7 @@ else if(opt && opt.indexOf("smooth")>=0){ if(opt && opt.indexOf("small")>=0) cn+="s"; prefixt=cn; prefixb=cn; -if(wich.indexOf("all")>=0){t=true;b=true} +if(wich.indexOf("all")>=0){t=true;b=true;} else if(wich.indexOf("top")>=0) t="true"; else if(wich.indexOf("tl")>=0){ t="true"; diff --git a/usr/local/www/themes/the_wall/loader.js b/usr/local/www/themes/the_wall/loader.js index 66e6d7f..20ecfbb 100644 --- a/usr/local/www/themes/the_wall/loader.js +++ b/usr/local/www/themes/the_wall/loader.js @@ -8,9 +8,9 @@ var cond = ''; // BROWSER? if (browser == '') { if (navigator.appName.indexOf('Microsoft') != -1) - browser = 'IE' + browser = 'IE'; else if (navigator.appName.indexOf('Netscape') != -1) - browser = 'Netscape' + browser = 'Netscape'; else browser = 'IE'; } |