From 50ba6bbe07b0bb86eb07e3212ba2e22cb2878cf2 Mon Sep 17 00:00:00 2001 From: ORelio Date: Mon, 30 Aug 2021 10:58:06 +0200 Subject: UI: Add optional thumbnail and summary on feed items (#3805) * UI: Add optional thumbnail and summary on feed items Implements #561 * UI: Thumbnail: Own column, Custom size, Lazy load * UI: Thumbnail: Remove unnecessary CSS rule Remove rule already defined in base theme, no override needed * CSS lint + RTL * Improve thumbail and summary generation * Support img alt * Missing htmlspecialchars Co-authored-by: Alexandre Alapetite --- app/views/helpers/index/normal/entry_header.phtml | 25 +++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'app/views/helpers/index/normal') diff --git a/app/views/helpers/index/normal/entry_header.phtml b/app/views/helpers/index/normal/entry_header.phtml index 7ab2ff70b..784a440a0 100644 --- a/app/views/helpers/index/normal/entry_header.phtml +++ b/app/views/helpers/index/normal/entry_header.phtml @@ -1,9 +1,12 @@ topline_read; $topline_favorite = FreshRSS_Context::$user_conf->topline_favorite; + $topline_thumbnail = FreshRSS_Context::$user_conf->topline_thumbnail; + $topline_summary = FreshRSS_Context::$user_conf->topline_summary; $topline_display_authors = FreshRSS_Context::$user_conf->topline_display_authors; $topline_date = FreshRSS_Context::$user_conf->topline_date; $topline_link = FreshRSS_Context::$user_conf->topline_link; + $lazyload = FreshRSS_Context::$user_conf->lazyload; ?>