diff --git a/Rocksolid_Light/rocksolid/lib/message.inc.php b/Rocksolid_Light/rocksolid/lib/message.inc.php index 6cadb34..f7ec64f 100644 --- a/Rocksolid_Light/rocksolid/lib/message.inc.php +++ b/Rocksolid_Light/rocksolid/lib/message.inc.php @@ -480,7 +480,7 @@ function show_header($head, $group, $local_poster = false) function show_header_short($head, $group, $local_poster = false) { - global $article_show, $text_header, $file_article, $attachment_show; + global $article_show, $text_header, $file_article, $file_thread, $attachment_show; global $file_attachment, $anonym_address, $CONFIG; if (isset($_COOKIE['tzo'])) { $offset = $_COOKIE['tzo']; @@ -511,17 +511,31 @@ function show_header_short($head, $group, $local_poster = false) $displaydate = $ts->format($text_header["date_format"]) . "
\n"; } unset($ts); + echo '
'; + + $ngroups = preg_replace("/\,|\ /", "\t", $head->newsgroups); + $ngroups = explode("\t", $ngroups); + echo " "; + foreach ($ngroups as $onegroup) { + if ($s = get_section_by_group($onegroup)) { + echo ' ' . $onegroup . " "; + } else { + echo " ".$onegroup." "; + } + } + echo "
"; + if ($article_show["trigger_headers"]) { - echo '
'; echo ''; echo '
' . display_full_headers($head->number, $group, $head->name, $head->from) . '
'; - if ($local_poster) { - echo " by: " . $displayname . " - " . $displaydate; - } else { - echo " by: " . $displayname . " - " . $displaydate; - } - echo '
'; } + if ($local_poster) { + echo " by: " . $displayname . " - " . $displaydate; + } else { + echo " by: " . $displayname . " - " . $displaydate; + } + echo '
'; + if ((isset($attachment_show)) && ($attachment_show == true) && (isset($head->content_type[1]))) { echo '
'; echo $text_header["attachments"];