diff --git a/html/inc/util.inc b/html/inc/util.inc index 9f2723feae..b2c3d5123b 100644 --- a/html/inc/util.inc +++ b/html/inc/util.inc @@ -496,9 +496,10 @@ function row_heading_array($x, $attrs=null, $class='bg-primary') { echo "\n"; } -function row_heading($x) { - echo ''.$x.' - '; +function row_heading($x, $class='bg-primary') { + echo sprintf('%s + ', $class, $x + ); } function random_string() {