aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers
diff options
context:
space:
mode:
authorGravatar Matt DeMoss <demoss.matt@gmail.com> 2018-02-19 09:36:18 -0500
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2018-02-19 15:36:18 +0100
commit0936a6cdb2005e325d3be98e42897eb7a42541c7 (patch)
tree328bac3a24a60c75e82428ea06f46a1df4799b5a /app/Controllers
parentc79b8fb46e25cd513799224b83cb93282c3a8e26 (diff)
Option to hide nav_entries (#1764)
* put nav_entries in a div so they can be hidden, add config option, no labels yet * add English text for hide_nav_entries, choose better name * Update conf.php add comma to last item * hide nav_entries by optionally not rendering in normal.phtml * fix logic, remove containing div * apply phpcbf to ConfigurationSetter.php * Make navigation buttons options positive And add TODOs for i18n, and add default config.
Diffstat (limited to 'app/Controllers')
-rwxr-xr-xapp/Controllers/configureController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php
index 2c7739c55..d34b5d59d 100755
--- a/app/Controllers/configureController.php
+++ b/app/Controllers/configureController.php
@@ -55,6 +55,7 @@ class FreshRSS_configure_Controller extends Minz_ActionController {
FreshRSS_Context::$user_conf->bottomline_date = Minz_Request::param('bottomline_date', false);
FreshRSS_Context::$user_conf->bottomline_link = Minz_Request::param('bottomline_link', false);
FreshRSS_Context::$user_conf->html5_notif_timeout = Minz_Request::param('html5_notif_timeout', 0);
+ FreshRSS_Context::$user_conf->show_nav_buttons = Minz_Request::param('show_nav_buttons', false);
FreshRSS_Context::$user_conf->save();
Minz_Session::_param('language', FreshRSS_Context::$user_conf->language);