[horde] IMP (Dynamic) - Date in preview window does not show the time

Jan Schneider jan at horde.org
Sun Jul 17 11:27:07 UTC 2011


There is an IMP mailing list.

Zitat von Luis Felipe Marzagao <lfbm.andamentos at gmail.com>:

> Is it intended for imp to not display the time of the message in
> preview window when the msg isn't from the same day?
>
> I can't see why it would hurt to show the message's time in preview
> window, since there is a lot of space in there
>
> It's a useful information and this way the user wouldn't have to click
> two times on the message just to see the time it has arrived.
>
> I got a lot of complaining from users and solved the matter by
> changing line 206 of imp/lib/Views/ShowMessage.php from:
>
> 206:     $result['localdate'] =
> htmlspecialchars($imp_mailbox_ui->getDate($envelope->date));
>
> to:
>
> 206:     $result['localdate'] =
> htmlspecialchars($imp_mailbox_ui->getDate($envelope->date,
> IMP_Ui_Mailbox::DATE_FULL));
>
> But It's a hack, maybe an ungly one, I don't know.
>
> I'd like to hear from you.
>
> Thanks a lot.
> Luis Felipe
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org


Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list