From: anuko Date: Tue, 26 Dec 2017 20:03:43 +0000 (+0000) Subject: Alignment fix. X-Git-Tag: timetracker_1.19-1~1432 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=94b8b32ce9a0578c7c3f365b744174000a6f378b;p=timetracker.git Alignment fix. --- diff --git a/week.php b/week.php index a3f30cbc..e237bc71 100644 --- a/week.php +++ b/week.php @@ -209,6 +209,7 @@ if ($user->canManageTeam()) { $table = new Table('week_durations'); // $table->setIAScript('markModified'); // TODO: write a script to mark table or particular cells as modified. $table->setTableOptions(array('width'=>'100%','cellspacing'=>'1','cellpadding'=>'3','border'=>'0')); +$table->setHeaderOptions(array('align'=>'center')); // TODO: use a class and CSS instead, perhaps a separate class for footer. $table->setRowOptions(array('valign'=>'top','class'=>'tableHeader')); $table->setData($dataArray); // $durations_with_labels); // Add columns to table.