From 942103092545e0bd90802cccd4eab303ef172158 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 9 Mar 2020 20:36:24 +0100 Subject: Option to show/hide favicons (#2821) * Option to show/hide favicons #fix https://github.com/FreshRSS/FreshRSS/issues/2819 * Also for subscription list --- app/layout/aside_feed.phtml | 3 ++- app/views/helpers/index/normal/entry_header.phtml | 4 +++- app/views/index/global.phtml | 2 +- app/views/index/reader.phtml | 3 ++- app/views/subscription/index.phtml | 3 ++- config-user.default.php | 1 + 6 files changed, 11 insertions(+), 5 deletions(-) diff --git a/app/layout/aside_feed.phtml b/app/layout/aside_feed.phtml index cdc8b8e16..4c01b4694 100644 --- a/app/layout/aside_feed.phtml +++ b/app/layout/aside_feed.phtml @@ -94,7 +94,8 @@ - ✇ name() ?> + show_favicons): ?>✇ + name() ?> diff --git a/app/views/helpers/index/normal/entry_header.phtml b/app/views/helpers/index/normal/entry_header.phtml index 2bc51e54c..3b8aafbb2 100644 --- a/app/views/helpers/index/normal/entry_header.phtml +++ b/app/views/helpers/index/normal/entry_header.phtml @@ -27,7 +27,9 @@ ?>
  • ✇ feed->name() ?>
  • + ?>
  • + show_favicons): ?>✇ + feed->name() ?>
  • entry->title() ?>id(); ?>
  • - ✇ + show_favicons): ?>✇ name() ?>
  • diff --git a/app/views/index/reader.phtml b/app/views/index/reader.phtml index ee9e19327..c982c1132 100644 --- a/app/views/index/reader.phtml +++ b/app/views/index/reader.phtml @@ -48,7 +48,8 @@ $content_width = FreshRSS_Context::$user_conf->content_width; isFavorite() ? 'starred' : 'non-starred') ?> - ✇ name() ?> + show_favicons): ?>✇ + name() ?>

    title() ?>

    diff --git a/app/views/subscription/index.phtml b/app/views/subscription/index.phtml index da7593a8d..736a582d2 100644 --- a/app/views/subscription/index.phtml +++ b/app/views/subscription/index.phtml @@ -98,7 +98,8 @@ data-feed-id="id() ?>" dropzone="move"> - ✇ name() ?> + show_favicons): ?>✇ + name() ?> '3', 'rss_view' => '4', ), + 'show_favicons' => true, 'topline_read' => true, 'topline_favorite' => true, 'topline_display_authors' => false, -- cgit v1.2.3