Try harder to determine whether to show snippet in top article in overboard.
This commit is contained in:
parent
3c22f952df
commit
0fad3deec3
|
@ -375,9 +375,7 @@ function display_threads($threads, $oldest)
|
||||||
$display .= '<p class=np_ob_subject>';
|
$display .= '<p class=np_ob_subject>';
|
||||||
$display .= '<b><a href="' . $url . '"><span>' . headerDecode($target_head['subject']) . '</span></a></b></p>';
|
$display .= '<b><a href="' . $url . '"><span>' . headerDecode($target_head['subject']) . '</span></a></b></p>';
|
||||||
$display .= '<a href="thread.php?group=' . _rawurlencode($target_head['newsgroup']) . '">' . $target_head['newsgroup'] . '</a>';
|
$display .= '<a href="thread.php?group=' . _rawurlencode($target_head['newsgroup']) . '">' . $target_head['newsgroup'] . '</a>';
|
||||||
// RETRO - Determining whether to show snippet in each head may still have bugs
|
if((!isset($value[$target_head['msgid']]) || $result_count > 10) && isset($target_head['date'])) {
|
||||||
// meaning, it might show when it shouldn't or not when it should. Not sure yet.
|
|
||||||
if ($result_count > 1 && isset($target_head['date'])) {
|
|
||||||
$poster = get_poster_name(mb_decode_mimeheader($target_head['name']));
|
$poster = get_poster_name(mb_decode_mimeheader($target_head['name']));
|
||||||
$block = false;
|
$block = false;
|
||||||
foreach ($blocked_user_config as $bkey => $bvalue) {
|
foreach ($blocked_user_config as $bkey => $bvalue) {
|
||||||
|
|
Loading…
Reference in New Issue