From: Matteo Nastasi (mop) Date: Mon, 25 May 2009 12:19:47 +0000 (+0000) Subject: sidebanner2 and poll typo fixed X-Git-Tag: 3.0.0~104 X-Git-Url: http://mop.ddnsfree.com/gitweb/?p=brisk.git;a=commitdiff_plain;h=e3dee295c72fc8cd5f7f607f94e713b1208a610b sidebanner2 and poll typo fixed --- diff --git a/web/commons.js b/web/commons.js index 1b2ea87..454152a 100644 --- a/web/commons.js +++ b/web/commons.js @@ -903,7 +903,11 @@ function topbanner_cb() function sidebanner_init() { setInterval(sidebanner_cb, 666); -; +} + +function sidebanner2_init() +{ + setInterval(sidebanner2_cb, 666); } function sidebanner_cb() @@ -919,6 +923,19 @@ function sidebanner_cb() // console.log("A: "+a+" B: "+b); } +function sidebanner2_cb() +{ + var a, b; + + a = $('sidebanner2').style.backgroundColor; + b = $('sidebanner2').style.borderLeftColor; + + $('sidebanner2').style.backgroundColor = b; + $('sidebanner2').style.borderColor = a+" "+a+" "+a+" "+a; + + // console.log("A: "+a+" B: "+b); +} + function langtolng(lang) { diff --git a/web/index.php b/web/index.php index 5890590..d800f1a 100644 --- a/web/index.php +++ b/web/index.php @@ -44,17 +44,17 @@ if (DEBUGGING == "local" && $_SERVER['REMOTE_ADDR'] != '127.0.0.1') { log_load("index.php"); -function pool_dom() { - GLOBAL $G_with_pool; +function poll_dom() { + GLOBAL $G_with_poll; - // $G_with_pool = TRUE; - $G_with_pool = FALSE; + // $G_with_poll = TRUE; + $G_with_poll = FALSE; - if ($G_with_pool) { + if ($G_with_poll) { return sprintf('
- -