summaryrefslogtreecommitdiff
path: root/app/Models/Configuration.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-08-23 20:55:08 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-08-23 20:55:08 +0200
commit17cf6fae6b7d5219f26341dc2829fe6f103e4aab (patch)
treef3bef008a1befcd9c1a20562c99f30f5a9532c98 /app/Models/Configuration.php
parente3bb80de17c79cf32a2e3a606f216aebf48f92e5 (diff)
parent3f0e9f70d244da84d917b3093665730ca245e483 (diff)
Merge branch 'dev' of github.com:marienfressinaud/FreshRSS into dev
Diffstat (limited to 'app/Models/Configuration.php')
-rw-r--r--app/Models/Configuration.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Models/Configuration.php b/app/Models/Configuration.php
index 2f47312c0..4c804a9fb 100644
--- a/app/Models/Configuration.php
+++ b/app/Models/Configuration.php
@@ -17,6 +17,7 @@ class FreshRSS_Configuration {
'default_view' => FreshRSS_Entry::STATE_NOT_READ,
'auto_load_more' => true,
'display_posts' => false,
+ 'display_categories' => false,
'hide_read_feeds' => true,
'onread_jump_next' => true,
'lazyload' => true,
@@ -142,6 +143,9 @@ class FreshRSS_Configuration {
public function _display_posts ($value) {
$this->data['display_posts'] = ((bool)$value) && $value !== 'no';
}
+ public function _display_categories ($value) {
+ $this->data['display_categories'] = ((bool)$value) && $value !== 'no';
+ }
public function _hide_read_feeds($value) {
$this->data['hide_read_feeds'] = (bool)$value;
}