From b780a2329b5f4b37ad7fb0453544a410d0f48416 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 25 Aug 2013 13:25:27 +0200 Subject: 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". --- app/controllers/configureController.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/controllers/configureController.php') 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 (), -- cgit v1.2.3