improved printing: progressbar is now printed as percent value

This commit is contained in:
Ralf Becker 2006-03-26 22:19:24 +00:00
parent 9a6649a931
commit 37cb5095d5

View File

@ -824,7 +824,7 @@ class html
{
return $title;
}
return '<div title="'.$title.'" '.$options.
return '<div class="onlyPrint">'.$title.'</div><div class="noPrint" title="'.$title.'" '.$options.
' style="height: '.$height.'; width: '.$width.'; border: 1px solid black; padding: 1px; text-align: left;'.
(stristr($options,'onclick="') ? ' cursor: pointer; cursor: hand;' : '').'">'."\n\t".
'<div style="height: '.$height.'; width: '.$percent.'%; background: '.$color.';"></div>'."\n</div>\n";