<tr id="row<?php echo $h->uid ?>" class="<?php echo $bg ?>" onmouseover="javascript:style.backgroundColor='<?php echo $css['.' . $bg . '-hi']['background-color'] ?>'" onmouseout="javascript:style.backgroundColor='<?php echo $css['.' . $bg]['background-color'] ?>'">
  <td nowrap="nowrap">
    <input id="check<?php echo $h->uid ?>" type="checkbox" name="indices[]" value="<?php echo $h->uid; if ($search_mbox) echo IMP_IDX_SEP . $message['mbox']; ?>" /><label for="<?php echo $h->uid ?>"><?php echo $status ?></label>
  </td>
  <td nowrap="nowrap" <?php if (!empty($msg['color'])) echo 'bgcolor="' . $msg['color'] . '"'; ?>><?php echo $msg['number'] ?></td>
  <td nowrap="nowrap"><?php echo $styledat; ?>&nbsp;</td>
  <td nowrap="nowrap"><?php echo $from_link ?>&nbsp;</td>
<?php if ($preview_tooltip): ?>
  <td><?php echo substr(Horde::linkTooltip($target, $msg['fullsubject'], '', '', '', $msg['preview']), 0, -1) . ' id="subject' . $h->uid . '">' . $stylesub ?></a></td>
<?php else: ?>
  <td><?php echo substr(Horde::link($target, $msg['fullsubject']), 0, -1) . ' id="subject' . $h->uid . '">' . $stylesub ?></a><?php echo (!empty($msg['preview']) ? '<br /><small>' . $msg['preview'] . '</small>' : '') ?></td>
<?php endif; ?>
  <td align="right"><?php echo $msg['size']; ?></td>
</tr>
