Add date interval to short_headers (right).
This commit is contained in:
parent
cfc4b35892
commit
d0f2f02b06
@ -492,6 +492,18 @@
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
/* short header Date: */
|
||||
.short_header_date_interval_with_subject {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
margin-right: 0;
|
||||
text-decoration: none;
|
||||
float: right;
|
||||
color: var(--color-highlight);
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
/* short header Newsgroups: */
|
||||
.short_header_newsgroups {
|
||||
margin-top: 0;
|
||||
|
@ -643,12 +643,15 @@ function show_header_short($head, $group, $local_poster = false)
|
||||
echo '</script> ';
|
||||
|
||||
if (isset($OVERRIDES['short_header_show_from_in_subject']) && $OVERRIDES['short_header_show_from_in_subject'] == true) {
|
||||
|
||||
echo '<span class="short_header_date_with_subject">';
|
||||
echo '<span class="short_header_date_title_with_subject">';
|
||||
echo 'Date: ';
|
||||
echo '</span>';
|
||||
echo $displaydate;
|
||||
echo '</span>';
|
||||
echo '<br><span class="short_header_date_interval_with_subject">';
|
||||
echo 'posted: ' . get_date_interval(date("D, j M Y H:i T", $head->date));
|
||||
echo '</span></span>';
|
||||
}
|
||||
|
||||
if (isset($head->followup) && ($article_show["Followup"]) && ($head->followup != "")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user