From: cajus Date: Mon, 13 Jun 2005 12:06:04 +0000 (+0000) Subject: Move background color to white X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fd956099c0fe727c793608feb77cc81338d3fcc4;p=gosa.git Move background color to white git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@698 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/functions.inc b/include/functions.inc index f6bb3307f..d6ddf0694 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -21,7 +21,7 @@ /* Configuration file location */ define ("CONFIG_DIR", "/etc/gosa"); define ("CONFIG_TEMPLATE_DIR", "../contrib/"); -define ("HELP_BASEDIR", "../doc/guide/admin/"); +define ("HELP_BASEDIR", "/home/cajus/"); /* Define globals for revision comparing */ $svn_path = '$HeadURL$'; @@ -1724,6 +1724,7 @@ function progressbar($percentage,$width=100,$height=15,$showvalue=false) $color = dechex($percentage+150); $color2 = dechex(150 - $percentage); + $bgcolor= $showvalue?"FFFFFF":"DDDDDD"; $progress = (int)(($percentage /100)*$width); @@ -1738,7 +1739,7 @@ function progressbar($percentage,$width=100,$height=15,$showvalue=false) padding:1px;\">
10)&&($showvalue)){ - $str.= " + $str.= " ".$percentage."% "; } $str.= "
"; - + return($str); }