<tr class="<?php echo $style ?>" onmouseover="javascript:style.backgroundColor='<?php echo $css['.' . $style . '-hi']['background-color'] ?>'" onmouseout="javascript:style.backgroundColor='<?php echo $css['.' . $style]['background-color'] ?>'">
  <td align="center" nowrap="nowrap"><?php echo Nag::formatCompletion($task['completed']) ?></a></td>
  <td align="center" nowrap="nowrap"><?php echo $owner ?></td>
  <td align="center"><?php echo $task['priority'] ?></td>
  <td nowrap="nowrap"><?php echo Horde::link(Horde::addParameter($addurl, 'to_parameters', serialize(array('tasklist' => $task['tasklist_id'], 'task' => $task['task_id']))), _("Add link to task"), '', '', '', $task['desc']) ?><?php echo !empty($task['name']) ? htmlspecialchars($task['name']) : _("[none]") ?></a></td>
  <td nowrap="nowrap">
<?php if ($task['due'] > 0): ?>
     <?php if (empty($task['completed']) && $task['due'] < time()) { echo '<span class="overdue">' . strftime($conf['list']['date_format'], $task['due']) . '</span>';
       } else if ($task['due'] > 0) { echo strftime($conf['list']['date_format'], $task['due']); } ?>
<?php endif; ?>
  </td>
  <td><?php echo Nag::formatCategory($task['category'], $task['tasklist_id']) ?></td>
  <td><?php echo !empty($task['desc']) ? Horde::img('note.gif', _("Task Note")) : '&nbsp;' ?></td>
</tr>
