summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-01-18 20:19:31 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-01-18 20:19:31 +0000
commitc50eaee48e11d948dd0cbb495da0953d40a30a51 (patch)
tree37d29a957883e4a1180cf6f3e041e31767e79a7c /usr
parent719b7f0936a475a5b1d6f9f57ee7e84c7e071fbf (diff)
downloadpfsense-c50eaee48e11d948dd0cbb495da0953d40a30a51.zip
pfsense-c50eaee48e11d948dd0cbb495da0953d40a30a51.tar.gz
Replace nervecenter nifty corner code with RELENG_1 metallic code.
Suggested-by: DSH
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/themes/nervecenter/javascript/niftyjsCode.js10
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;
OpenPOWER on IntegriCloud