diff --git a/modules/poll.module b/modules/poll.module
index 2597a249833..ba6a0250a60 100644
--- a/modules/poll.module
+++ b/modules/poll.module
@@ -91,9 +91,10 @@ function poll_help() {
foreground ? $theme->foreground : "#000000";
+ $clrempty = $theme->background ? $theme->background : "#ffffff";
$p = round($val * 100);
return "
" . ($p ? " | " : "") . ($p < 100 ? " | ":"") . "
";
}
diff --git a/modules/poll/poll.module b/modules/poll/poll.module
index 2597a249833..ba6a0250a60 100644
--- a/modules/poll/poll.module
+++ b/modules/poll/poll.module
@@ -91,9 +91,10 @@ function poll_help() {
foreground ? $theme->foreground : "#000000";
+ $clrempty = $theme->background ? $theme->background : "#ffffff";
$p = round($val * 100);
return "" . ($p ? " | " : "") . ($p < 100 ? " | ":"") . "
";
}
diff --git a/themes/example/example.theme b/themes/example/example.theme
index b09563474fe..20e56717363 100644
--- a/themes/example/example.theme
+++ b/themes/example/example.theme
@@ -10,6 +10,9 @@
*********************************************************************/
class Theme {
+ // General colorset that can be used for this theme
+ var $foreground = "#000000";
+ var $background = "#FFFFFF";
function header() {
?>
diff --git a/themes/goofy/goofy.theme b/themes/goofy/goofy.theme
index 9bb7d817a52..2deb0bf52d2 100644
--- a/themes/goofy/goofy.theme
+++ b/themes/goofy/goofy.theme
@@ -12,6 +12,10 @@
*********************************************************************/
class Theme {
+ // General colorset that can be used for this theme
+ var $foreground = "#000000";
+ var $background = "#FFFFFF";
+
function header() {
?>
diff --git a/themes/jeroen/jeroen.theme b/themes/jeroen/jeroen.theme
index f9b8a8c0da3..4f879a766d8 100644
--- a/themes/jeroen/jeroen.theme
+++ b/themes/jeroen/jeroen.theme
@@ -10,7 +10,10 @@
*********************************************************************/
class Theme {
-
+ // General colorset that can be used for this theme
+ var $foreground = "#000000";
+ var $background = "#E7E7E7";
+
/*
I am going to use some colors throughout this theme:
#000000 : black used for all links and the table in every box you'll see, I use it to create the thin black border around each.
diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme
index dbc438d65da..67746ab24a9 100644
--- a/themes/marvin/marvin.theme
+++ b/themes/marvin/marvin.theme
@@ -13,6 +13,10 @@
class Theme {
var $link = "#666699";
+ // General colorset that can be used for this theme
+ var $foreground = "#000000";
+ var $background = "#EAEAEA";
+
function header() {
?>
diff --git a/themes/unconed/unconed.theme b/themes/unconed/unconed.theme
index 137c05a3650..08ea6fe3c04 100644
--- a/themes/unconed/unconed.theme
+++ b/themes/unconed/unconed.theme
@@ -11,6 +11,9 @@
*********************************************************************/
class Theme {
+ var $foreground = "#000000";
+ var $background = "#FFFFFF";
+
var $link = "#000000";
var $themename = "unconed";
diff --git a/themes/yaroon/yaroon.theme b/themes/yaroon/yaroon.theme
index 7c3f1e05dd0..61a01587857 100644
--- a/themes/yaroon/yaroon.theme
+++ b/themes/yaroon/yaroon.theme
@@ -10,7 +10,9 @@
*********************************************************************/
class Theme {
-
+ var $foreground = "#000000";
+ var $background = "#F0F0F0";
+
function header() {
global $PHP_SELF, $REQUEST_URI, $cid, $id;