<td width="100" align="right"><?php echo sprintf('%.2f', $row['task_log_hours']); ?> </td> <td width="100"><?php echo $row['task_log_costcode']; ?> </td> <td><?php echo str_replace("\n", '<br/>', $row['task_log_description']); ?> </td> <td> <?php if ($perms->checkModuleItem('tasks', 'delete', $row['task_id']) && $mylog) { showIconLink('images/delete_log.gif', 'js:doDeleteTaskLog(' . $row['task_log_id'] . ')', 'Delete'); } else { echo '<img src="images/nodel_log.gif" title="No delete">'; } ?> </td> </tr> <?php $hrs += (double) $row['task_log_hours']; } } ?> <tr bgcolor="white" valign="top"> <td colspan="4" align="right"><?php echo $AppUI->_('Total Hours'); ?>
echo '<tr>' . '<td>' . $title . '</td>' . '<td align="right">'; if ($ticket_type == 'Staff Followup' || $ticket_type == 'Client Followup' || $ticket_type == 'Staff Comment') { if ($canEdit) { showIconLink('images/discuss_edit.gif', 'index.php?m=ticketsmith&a=followup&ticket=' . $ticket, $AppUI->_("Post followup (emails client)")); echo ' '; showIconLink('images/discuss_private.gif', 'index.php?m=ticketsmith&a=comment&ticket=' . $ticket, $AppUI->_('Post internal comment')); echo ' '; showIconLink('images/discuss_return.gif', 'index.php?m=ticketsmith&a=view&ticket=' . $ticket_parent, $AppUI->_('Return to parent')); } else { showIconLink('images/discuss_return.gif', 'index.php?m=ticketsmith&a=view&ticket=' . $ticket_parent, $AppUI->_('Return to parent')); } } else { if ($canEdit) { showIconLink('images/discuss_edit.gif', 'index.php?m=ticketsmith&a=followup&ticket=' . $ticket, $AppUI->_("Post followup (emails client)")); echo ' '; showIconLink('images/discuss_private.gif', 'index.php?m=ticketsmith&a=comment&ticket=' . $ticket, $AppUI->_('Post internal comment')); } } echo '</td>'; echo '</table>'; ?> </th> </tr> <?php /* start form */ /* get ticket */ $ticket_info = query2hash("SELECT * FROM tickets WHERE ticket = {$ticket}"); echo '<input type="hidden" name="orig_assignment" value="' . $ticket_info['assignment'] . '"/>'; echo '<input type="hidden" name="author" value="' . $ticket_info['author'] . '"/>'; echo '<input type="hidden" name="priority" value="' . $ticket_info['priority'] . '"/>';
} ?> <td width="100%"> </td> <td nowrap="nowrap"> <?php showIconLink('images/project_members.gif', 'js:doShowMembers()', 'Members'); echo ' '; if ($canViewReport) { showIconLink('images/project_report.gif', "?m=projects&a=reports&project_id={$project_id}", 'Report'); echo ' '; } if ($canEdit) { showIconLink('images/project_edit.gif', "index.php?m=projects&a=addedit&project_id={$project_id}", 'Edit'); echo ' '; showIconLink('images/project_control.gif', 'js:doShowControl()', 'Manage', 'id="idControler"'); echo ' '; } ?> </td> </tr> </table> <table border="0" cellpadding="0" cellspacing="4" width="100%" class="subinfopanel"> <tr style="background-color: white"> <td width="50%" valign="top" style="background-color: white"> <table width="100%" border="0" cellpadding="2" cellspacing="0" class="list"> <tr><td colspan="6"><b><?php echo $AppUI->_('Date'); ?> :</b></td></tr> <tr class="second">
<table width='100%' border='0' cellpadding='3' cellspacing='0' class="infopanel"> <tr> <td width="100%"> <?php echo ' '; showIconLink('images/todo.png', '?m=tasks&a=todo&user_id=' . $user_id, 'My Todo'); echo ' '; if (dPgetParam($_GET, 'pinned') == 1) { showIconLink('images/unpinned_list.png', '?m=tasks', 'All tasks'); } else { showIconLink('images/pinned_list.png', '?m=tasks&pinned=1', 'My Pinned tasks'); } echo ' '; showIconLink('images/' . $in . 'active_tasks.png', '?m=tasks&inactive=toggle', 'Show ' . $in . 'active tasks'); echo ' '; showIconLink('images/user_tasks.png', '?m=tasks&a=tasksperuser', 'Show tasks per user'); ?> </td> <td nowrap="nowrap"><?php echo $AppUI->_('View'); ?> :</td> <td nowrap="nowrap"> <?php echo arraySelect($filters, 'f', 'size="1" class="text" onChange="filterChanged(this)"', $f, true); ?> </td> </tr> </table> <?php