aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/configureController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-08-25 13:25:27 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-08-25 13:25:27 +0200
commitb780a2329b5f4b37ad7fb0453544a410d0f48416 (patch)
tree318fad9b73ec698b0f8b5c89dc8ec465cdad438f /app/controllers/configureController.php
parent31a6a13268023a2db5eba2445ee6c7db4a6d9623 (diff)
New option onread_jump_next
Added a new option to automatically jump to the next sibling (category or feed) when hitting the button "mark as read".
Diffstat (limited to 'app/controllers/configureController.php')
-rwxr-xr-xapp/controllers/configureController.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/configureController.php b/app/controllers/configureController.php
index 6396dbfeb..02a20365c 100755
--- a/app/controllers/configureController.php
+++ b/app/controllers/configureController.php
@@ -155,6 +155,7 @@ class configureController extends ActionController {
$view = Request::param ('default_view', 'all');
$auto_load_more = Request::param ('auto_load_more', 'no');
$display = Request::param ('display_posts', 'no');
+ $onread_jump_next = Request::param ('onread_jump_next', 'yes');
$lazyload = Request::param ('lazyload', 'no');
$sort = Request::param ('sort_order', 'low_to_high');
$old = Request::param ('old_entries', 3);
@@ -173,6 +174,7 @@ class configureController extends ActionController {
$this->view->conf->_defaultView ($view);
$this->view->conf->_autoLoadMore ($auto_load_more);
$this->view->conf->_displayPosts ($display);
+ $this->view->conf->_onread_jump_next ($onread_jump_next);
$this->view->conf->_lazyload ($lazyload);
$this->view->conf->_sortOrder ($sort);
$this->view->conf->_oldEntries ($old);
@@ -194,6 +196,7 @@ class configureController extends ActionController {
'default_view' => $this->view->conf->defaultView (),
'auto_load_more' => $this->view->conf->autoLoadMore (),
'display_posts' => $this->view->conf->displayPosts (),
+ 'onread_jump_next' => $this->view->conf->onread_jump_next (),
'lazyload' => $this->view->conf->lazyload (),
'sort_order' => $this->view->conf->sortOrder (),
'old_entries' => $this->view->conf->oldEntries (),