diff options
| author | 2022-07-17 22:54:24 +0200 | |
|---|---|---|
| committer | 2022-07-17 22:54:24 +0200 | |
| commit | b2e46d62154faf28c3c17e2b775c47d11e38ee56 (patch) | |
| tree | 69df7287cdc30cee103cdeed43f5a43bbfb086af /app/Models/ConfigurationSetter.php | |
| parent | 954fcef9e26ce1d9e4e5ad83749e4ee9c894f716 (diff) | |
Improved: Article header (#4101)
* First draft for normal view
* Revert changes on the entry header
* Update normal.phtml
* Update normal.phtml
* RTL CSS
* CSS fixes
* Better tags style
* fix
* Update swage.scss
* fix
* Update swage.scss
* fixed .content header
* font-size in rem
* improved template
* dropdown menu if more than 7 tags
* configuration: show tags in topline
* Simplify loop logic
* Minor space
* config tags via reading (i18n still missed)
* fixed the whitespaces
* optimizations
* optimize header+footer
* Update normal.phtml
* fix css
* new config: show author+date in footer
* config feed name display
* improve HTML
* fix whitespaces
* i18n
* i18n: German translations
* fix i18n German
* fixed: uncouple from bottomline config
* reverted: tobline_tags
* equalities
* fixed: author in footer
* fixed data-leave-validation
* improved max numbers i18n label
* Config works now also in the reader view
* fix: footer border
* reader view: style article-header-topline
* fixed whitespace
* i18n fr
* Minor i18n fr
* Fix mistake i18n fr
* i18n fr more precise expression
* Fix JavaScript
* removed the link icon in the title
* clean CSS
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/Models/ConfigurationSetter.php')
| -rw-r--r-- | app/Models/ConfigurationSetter.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/Models/ConfigurationSetter.php b/app/Models/ConfigurationSetter.php index 336a93351..c822bcf4d 100644 --- a/app/Models/ConfigurationSetter.php +++ b/app/Models/ConfigurationSetter.php @@ -189,6 +189,23 @@ class FreshRSS_ConfigurationSetter { $data['display_categories'] = $value; } + private function show_tags(&$data, $value) { + $data['show_tags'] = $value; + } + + private function show_tags_max(&$data, $value) { + $value = intval($value); + $data['show_tags_max'] = $value >= 0 ? $value : 0; + } + + private function _show_author_date(&$data, $value) { + $data['show_author_date'] = $value; + } + + private function _show_feed_name(&$data, $value) { + $data['show_feed_name'] = $value; + } + private function _display_posts(&$data, $value) { $data['display_posts'] = $this->handleBool($value); } |
