1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-31 17:01:28 +00:00

wip for flavor images

This commit is contained in:
Andrew Dolgov
2021-03-08 18:26:13 +03:00
parent cfb4882591
commit 76f5443080
9 changed files with 84 additions and 15 deletions

View File

@@ -292,9 +292,12 @@ class Article extends Handler_Protected {
static function _format_enclosures($id,
$always_display_enclosures,
$article_content,
$hide_images = false) {
$hide_images = false,
$enclosures = false) {
if ($enclosures === false)
$enclosures = self::_get_enclosures($id);
$enclosures = self::_get_enclosures($id);
$enclosures_formatted = "";
/*foreach ($enclosures as &$enc) {