[imp] IMP (Dynamic) - Date in preview window does not show the time
Jan Schneider
jan at horde.org
Tue Jul 19 09:19:44 UTC 2011
Zitat von Luis Felipe Marzagao/Andamentos <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
I agree.
> 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.
Please create a ticket.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the imp
mailing list