diff options
-rw-r--r-- | inc/poche/Poche.class.php | 2 | ||||
-rw-r--r-- | themes/default/config.twig | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index ac66dfc9..a8a54ff0 100644 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -858,7 +858,7 @@ class Poche | |||
858 | 858 | ||
859 | public function generateFeeds($token, $user_id, $type = 'home') | 859 | public function generateFeeds($token, $user_id, $type = 'home') |
860 | { | 860 | { |
861 | $allowed_types = array('home', 'fav'); | 861 | $allowed_types = array('home', 'fav', 'archive'); |
862 | $config = $this->store->getConfigUser($user_id); | 862 | $config = $this->store->getConfigUser($user_id); |
863 | 863 | ||
864 | if (!in_array($type, $allowed_types) || | 864 | if (!in_array($type, $allowed_types) || |
diff --git a/themes/default/config.twig b/themes/default/config.twig index 7cf3fe9c..1d7fb562 100644 --- a/themes/default/config.twig +++ b/themes/default/config.twig | |||
@@ -36,6 +36,7 @@ | |||
36 | <ul> | 36 | <ul> |
37 | <li><a href="?feed&type=home&user_id={{ user_id }}&token={{ token }}" target="_blank">{% trans "unread feed" %}</a></li> | 37 | <li><a href="?feed&type=home&user_id={{ user_id }}&token={{ token }}" target="_blank">{% trans "unread feed" %}</a></li> |
38 | <li><a href="?feed&type=fav&user_id={{ user_id }}&token={{ token }}" target="_blank">{% trans "favorites feed" %}</a></li> | 38 | <li><a href="?feed&type=fav&user_id={{ user_id }}&token={{ token }}" target="_blank">{% trans "favorites feed" %}</a></li> |
39 | <li><a href="?feed&type=archive&user_id={{ user_id }}&token={{ token }}" target="_blank">{% trans "unread feed" %}</a></li> | ||
39 | </ul> | 40 | </ul> |
40 | {% endif %} | 41 | {% endif %} |
41 | 42 | ||