From 959b77c3fa9b602cf50722c0c2b5aa2c08b59e99 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Sat, 9 Jun 2001 19:31:34 +0000 Subject: - Added $theme->foreground and $theme->background vars to provide some general usable colors outside of a theme. - Updated poll.module to use the new $theme color variables --- modules/poll/poll.module | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'modules/poll') diff --git a/modules/poll/poll.module b/modules/poll/poll.module index 2597a2498..ba6a0250a 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 ? "":"") . "
  
"; } -- cgit v1.2.3