diff options
| author | 2020-03-09 20:36:24 +0100 | |
|---|---|---|
| committer | 2020-03-09 20:36:24 +0100 | |
| commit | 942103092545e0bd90802cccd4eab303ef172158 (patch) | |
| tree | 1ed52d84ca5be2e32312c6251e6385987d89e223 /app/views/helpers/index/normal | |
| parent | 51edbc1578fe49b281b39d91451d2b9df0092028 (diff) | |
Option to show/hide favicons (#2821)
* Option to show/hide favicons
#fix https://github.com/FreshRSS/FreshRSS/issues/2819
* Also for subscription list
Diffstat (limited to 'app/views/helpers/index/normal')
| -rw-r--r-- | app/views/helpers/index/normal/entry_header.phtml | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ ?></li><?php } } - ?><li class="item website"><a href="<?= _url('index', 'index', 'get', 'f_' . $this->feed->id()) ?>"><img class="favicon" src="<?= $this->feed->favicon() ?>" alt="✇" /> <span><?= $this->feed->name() ?></span></a></li> + ?><li class="item website"><a href="<?= _url('index', 'index', 'get', 'f_' . $this->feed->id()) ?>"> + <?php if (FreshRSS_Context::$user_conf->show_favicons): ?><img class="favicon" src="<?= $this->feed->favicon() ?>" alt="✇" /><?php endif; ?> + <span><?= $this->feed->name() ?></span></a></li> <li class="item title" dir="auto"><a target="_blank" rel="noreferrer" href="<?= $this->entry->link() ?>"><?= $this->entry->title() ?><?php if ($topline_display_authors): ?><span class="author"><?php |
