diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-01-18 20:19:31 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-01-18 20:19:31 +0000 |
commit | c50eaee48e11d948dd0cbb495da0953d40a30a51 (patch) | |
tree | 37d29a957883e4a1180cf6f3e041e31767e79a7c | |
parent | 719b7f0936a475a5b1d6f9f57ee7e84c7e071fbf (diff) | |
download | pfsense-c50eaee48e11d948dd0cbb495da0953d40a30a51.zip pfsense-c50eaee48e11d948dd0cbb495da0953d40a30a51.tar.gz |
Replace nervecenter nifty corner code with RELENG_1 metallic code.
Suggested-by: DSH
-rw-r--r-- | usr/local/www/themes/nervecenter/javascript/niftyjsCode.js | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/usr/local/www/themes/nervecenter/javascript/niftyjsCode.js b/usr/local/www/themes/nervecenter/javascript/niftyjsCode.js index beb97ab..8e76d46 100644 --- a/usr/local/www/themes/nervecenter/javascript/niftyjsCode.js +++ b/usr/local/www/themes/nervecenter/javascript/niftyjsCode.js @@ -78,16 +78,14 @@ if(!el.passed){ } el.passed=true; } - + function AddTop(el,bk,color,bc,cn){ var i,lim=4,d=CreateEl("b"); if(cn.indexOf("s")>=0) lim=2; if(bc) d.className="artop"; else d.className="rtop"; -if (dontUseCustomBGColor) { - d.style.backgroundColor=bk; -} +d.style.backgroundColor=bk; for(i=1;i<=lim;i++){ var x=CreateEl("b"); x.className=cn + i; @@ -105,9 +103,7 @@ var i,lim=4,d=CreateEl("b"); if(cn.indexOf("s")>=0) lim=2; if(bc) d.className="artop"; else d.className="rtop"; -if (dontUseCustomBGColor) { - d.style.backgroundColor=bk; -} +d.style.backgroundColor=bk; for(i=lim;i>0;i--){ var x=CreateEl("b"); x.className=cn + i; |