1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-19 18:31:30 +00:00

combined unexpanded: respect 'SHOW_CONTENT_PREVIEW' preference

This commit is contained in:
Andrew Dolgov
2018-12-04 10:47:50 +03:00
parent 197e80add6
commit 0b8fef8262

View File

@@ -541,8 +541,10 @@ class Feeds extends Handler_Protected {
<img src=\"images/collapse.png\" onclick=\"return Article.cdmUnsetActive(event)\" <img src=\"images/collapse.png\" onclick=\"return Article.cdmUnsetActive(event)\"
title=\"" . __("Collapse article") . "\"/></span>"; title=\"" . __("Collapse article") . "\"/></span>";
if (get_pref('SHOW_CONTENT_PREVIEW')) {
$tmp_content .= "<span class='excerpt'>" . $line["content_preview"] . "</span>"; $tmp_content .= "<span class='excerpt'>" . $line["content_preview"] . "</span>";
} }
}
$tmp_content .= "</span>"; $tmp_content .= "</span>";