How can I add time to email's list into web interface

Issue #965 resolved
TOmi created an issue

How can I do it like in this image ?

time.jpg

Comments (2)

  1. Janos SUTO repo owner

    Edit view/theme/default/templates/search/helper.tpl. Add the column header (ie. 'TIME') to the table headers (you'll find it), and inside the tbody block, add the new column, eg.

    <td id="c13_r<?php print $i; ?>" class="resultcell date"><?php print $message['date2']; ?></td>
    

    and finally edit model/search/search.php, and locate this line:

    $m['date'] = date(DATE_TEMPLATE, $m['sent']);
    

    Add something similar:

    $m['date2'] = date('M:i', $m['sent']);
    
  2. Log in to comment