From 5e65108fed968201c56db4db3d28cf416916d01d Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Fri, 9 Jan 2009 16:38:26 +0000 Subject: [PATCH] Optional params in table_header() added. --- includes/ui/ui_controls.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/ui/ui_controls.inc b/includes/ui/ui_controls.inc index 40bfc9a8..6e2c664a 100644 --- a/includes/ui/ui_controls.inc +++ b/includes/ui/ui_controls.inc @@ -208,11 +208,11 @@ function table_section_title($msg, $colspan=2) echo "$msg\n"; } -function table_header($labels) +function table_header($labels, $params='') { start_row(); foreach ($labels as $label) - labelheader_cell($label); + labelheader_cell($label, $params); end_row(); } //----------------------------------------------------------------------------------- -- 2.30.2