From e4bd8881520fad27eea803a6ea79de4557e84d7b Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Tue, 16 Feb 2010 00:44:10 +0000 Subject: [PATCH] attempt to fix css progress bar text alignment but no great success git-svn-id: http://www.observium.org/svn/observer/trunk@866 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/functions.inc.php | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/html/includes/functions.inc.php b/html/includes/functions.inc.php index 4673db15f..3cf379181 100644 --- a/html/includes/functions.inc.php +++ b/html/includes/functions.inc.php @@ -1,10 +1,15 @@
-
-
".$left_text."
-
".$right_text."
"; +function print_percentage_bar ($width, $height, $percent, $left_text, $left_colour, $left_background, $right_text, $right_colour, $right_background) +{ + $output = ' +
+
+
+
'.$left_text.'
+
'.$right_text.'
+
+
'; return $output; }