A free, self-hostable news aggregator…
Revert delete favorite button
Alexis Degrugillierbdd7b7b13e6f
diff --git a/app/i18n/en.php b/app/i18n/en.phpindex 01f31eca7..b41fb4281 100644--- a/app/i18n/en.php+++ b/app/i18n/en.php@@ -27,6 +27,7 @@ return array ('subscription_management' => 'Subscriptions management','main_stream' => 'Main stream','all_feeds' => 'All feeds',+ 'favorite_feeds' => 'Favourites (%d)','not_read' => '%d unread','not_reads' => '%d unread',diff --git a/app/i18n/fr.php b/app/i18n/fr.phpindex 299d4d242..e7d61f313 100644--- a/app/i18n/fr.php+++ b/app/i18n/fr.php@@ -27,6 +27,7 @@ return array ('subscription_management' => 'Gestion des abonnements','main_stream' => 'Flux principal','all_feeds' => 'Tous les flux',+ 'favorite_feeds' => 'Favoris (%d)','not_read' => '%d non lu','not_reads' => '%d non lus',diff --git a/app/layout/aside_flux.phtml b/app/layout/aside_flux.phtmlindex 0542e6b66..817dae676 100644--- a/app/layout/aside_flux.phtml+++ b/app/layout/aside_flux.phtml@@ -28,6 +28,15 @@</div></li>+ <li>+ <div class="category favorites<?php echo $this->get_c == 's' ? ' active' : ''; ?>">+ <a data-unread="<?php echo formatNumber($this->nb_favorites['unread']); ?>" class="btn<?php echo $this->get_c == 's' ? ' active' : ''; ?>" href="<?php $arUrl['params']['get'] = 's'; echo Minz_Url::display($arUrl); ?>">+ <?php echo FreshRSS_Themes::icon('bookmark'); ?>+ <?php echo Minz_Translate::t('favorite_feeds', formatNumber($this->nb_favorites['all'])); ?>+ </a>+ </div>+ </li>+<?phpforeach ($this->cat_aside as $cat) {$feeds = $cat->feeds ();