diff options
| author | 2018-02-19 09:36:18 -0500 | |
|---|---|---|
| committer | 2018-02-19 15:36:18 +0100 | |
| commit | 0936a6cdb2005e325d3be98e42897eb7a42541c7 (patch) | |
| tree | 328bac3a24a60c75e82428ea06f46a1df4799b5a /app/Models | |
| parent | c79b8fb46e25cd513799224b83cb93282c3a8e26 (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/Models')
| -rw-r--r-- | app/Models/ConfigurationSetter.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Models/ConfigurationSetter.php b/app/Models/ConfigurationSetter.php index 645ef644e..ad703dfc5 100644 --- a/app/Models/ConfigurationSetter.php +++ b/app/Models/ConfigurationSetter.php @@ -184,6 +184,10 @@ class FreshRSS_ConfigurationSetter { $data['mark_updated_article_unread'] = $this->handleBool($value); } + private function _show_nav_buttons(&$data, $value) { + $data['show_nav_buttons'] = $this->handleBool($value); + } + private function _display_categories(&$data, $value) { $data['display_categories'] = $this->handleBool($value); } |
