Add a "today" column to the Staus Board

This commit is contained in:
2011-12-21 14:14:08 +00:00
parent 10001c5012
commit e527a7db8e
2 changed files with 10 additions and 12 deletions

View File

@@ -1,12 +1,6 @@
<?php
$services = StatusBoard_Service::all();
for ($i = 1; $i <= 6; ++$i){
$tbl_header_date[] = date("M. d", strtotime("-{$i}day"));
}
$this->smarty->assign('days', $tbl_header_date);
$this->smarty->assign('services', $services);
$this->smarty->assign('requested_page', $this->page);
?>