Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display the whole date and time hovering over the date #206

Merged
merged 1 commit into from
Nov 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions webui/model/search/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,7 @@ private function get_meta_data($ids = array(), $sortorder = '') {
$m['shortsubject'] = make_short_string($m['subject'], MAX_CGI_FROM_SUBJ_LEN);

$m['date'] = date(DATE_TEMPLATE, $m['sent']);
$m['preview_date'] = date(DATE_PREVIEW_TEMPLATE, $m['sent']);
$m['size'] = nice_size($m['size']);

in_array($m['from'], $session->get("emails")) ? $m['yousent'] = 1 : $m['yousent'] = 0;
Expand Down
2 changes: 1 addition & 1 deletion webui/templates/search/helper.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<?php } ?>
<td id="c2_r<?php print $i; ?>" class="auto-width"><?php print ($page*$page_len) + $i + 1; ?></td>
<?php if(FULL_GUI) { ?>
<td id="c3_r<?php print $i; ?>"><?php print $message['date']; ?></td>
<td id="c3_r<?php print $i; ?>"><span title="<?php print $message['preview_date']; ?>"><?php print $message['date']; ?></span></td>
<td id="c4_r<?php print $i; ?>"><?php if($message['from'] != $message['shortfrom']) { ?><span title="<?php print $message['from']; ?>"><?php print $message['shortfrom']; ?></span><?php } else { print $message['from']; } ?></td>
<td id="c5_r<?php print $i; ?>"><?php if(count($message['to']) > 1) { ?><span title="<?php print implode("\n", $message['to']); ?>"><?php print $message['shortto']; ?>&nbsp;<i class="muted icon-group"></i></span><?php } else { print $message['shortto']; } ?></td>

Expand Down