From: Janusz Dobrowolski Date: Fri, 9 Jan 2009 16:38:26 +0000 (+0000) Subject: Optional params in table_header() added. X-Git-Tag: v2.4.2~19^2~1637 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=5e65108fed968201c56db4db3d28cf416916d01d;p=fa-stable.git Optional params in table_header() added. --- 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(); } //-----------------------------------------------------------------------------------