summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-06-09 11:17:45 +0000
committeralecpl <alec@alec.pl>2010-06-09 11:17:45 +0000
commit54759ce120c30882521946694b83646e9695395a (patch)
tree33a465485b69916109e2b6a9deb8985befcf6b90 /program/include
parentff38d0e55b5a36ae28a828c9f8d21ef6a553beae (diff)
- some improvements + added splitter in Identities
Diffstat (limited to 'program/include')
-rw-r--r--program/include/main.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index e8e92161d..f98e4311e 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -732,8 +732,9 @@ function rcube_table_output($attrib, $table_data, $a_show_cols, $id_col)
$table = new html_table(/*array('cols' => count($a_show_cols))*/);
// add table header
- foreach ($a_show_cols as $col)
- $table->add_header($col, Q(rcube_label($col)));
+ if (!$attrib['noheader'])
+ foreach ($a_show_cols as $col)
+ $table->add_header($col, Q(rcube_label($col)));
$c = 0;
if (!is_array($table_data))