- use long date format in print mode (#1485191)
| | |
| | | CHANGELOG RoundCube Webmail |
| | | --------------------------- |
| | | |
| | | 2008/07/21 (alec) |
| | | ---------- |
| | | - use long date format in print mode (#1485191) |
| | | |
| | | 2008/07/18 (alec) |
| | | ---------- |
| | | - Updated TinyMCE to version 3.1.0.1 |
| | |
| | | // month name (long) |
| | | else if ($format{$i}=='F') |
| | | $out .= rcube_label('long'.strtolower(date('M', $timestamp))); |
| | | else if ($format{$i}=='x') |
| | | $out .= strftime('%x %X', $timestamp); |
| | | else |
| | | $out .= date($format{$i}, $timestamp); |
| | | } |
| | |
| | | */ |
| | | function rcmail_message_headers($attrib, $headers=NULL) |
| | | { |
| | | global $IMAP, $OUTPUT, $MESSAGE; |
| | | global $IMAP, $OUTPUT, $MESSAGE, $PRINT_MODE, $CONFIG; |
| | | static $sa_attrib; |
| | | |
| | | // keep header table attrib |
| | |
| | | continue; |
| | | |
| | | if ($hkey=='date' && !empty($headers[$hkey])) |
| | | { |
| | | if ($PRINT_MODE) |
| | | $header_value = format_date($headers[$hkey], $CONFIG['date_long'] ? $CONFIG['date_long'] : 'x'); |
| | | else |
| | | $header_value = format_date($headers[$hkey]); |
| | | } |
| | | else if (in_array($hkey, array('from', 'to', 'cc', 'bcc', 'reply-to'))) |
| | | $header_value = Q(rcmail_address_string($headers[$hkey], NULL, $attrib['addicon']), 'show'); |
| | | else |