$header .= " " . $time_set->format("%Y"); break; case 'all': $header = $AppUI->_("All activities"); break; } if (isset($sdate)) { $start_date = $sdate->getTime(); } if (isset($edate)) { $end_date = $edate->getTime(); } $rowTasks = CUtils::getTasksForThisPeriod($tasksId); $rowTasks2 = CUtils::getTasksForThisPeriod($tasksId); if ($rowTasks2) { $rowUsers = CUtils::getAllAssignedUsers($rowTasks2); } ?> <!-- Build activity view header --> <table width="100%" class="motitle" cellspacing="0" cellpading="3" border="0"> <tr> <?php //Show prev/next arrows for all but 'all' view if ($vw != all) { $alt = $AppUI->_('Previous ' . $vw); $ago -= 1; echo '<td align="left"> <a href="index.php?m=activity&a=reporting&vw=' . $vw . '&ago=' . $ago . '" title="' . $alt . '"> <img border=0 width=16 height=16 src="./images/prev.gif" alt=' . $alt . '/> </a>