From 0504fc6766c3128c8d39f10a0b9d4bae3d1db1c7 Mon Sep 17 00:00:00 2001 From: maTh <1645099+math-GH@users.noreply.github.com> Date: Thu, 16 Nov 2023 13:18:33 +0100 Subject: Added: Display option for "My labels" (#5884) * configs * Update entry_bottom.phtml * i18n strings * fix phpstand found error * reuse existing i18n string --------- Co-authored-by: math-gh <> --- app/Controllers/configureController.php | 4 +++- app/Models/UserConfiguration.php | 1 + app/views/configure/display.phtml | 9 +++++++-- app/views/helpers/index/normal/entry_bottom.phtml | 7 +++---- 4 files changed, 14 insertions(+), 7 deletions(-) (limited to 'app') diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php index ccdad1baf..dab653ac9 100644 --- a/app/Controllers/configureController.php +++ b/app/Controllers/configureController.php @@ -34,7 +34,8 @@ class FreshRSS_configure_Controller extends FreshRSS_ActionController { * - display of read action in footer * - display of favorite action in footer * - display of sharing action in footer - * - display of tags in footer + * - display of article tags in footer + * - display of my Labels in footer * - display of date in footer * - display of open action in footer * - html5 notification timeout (default: 0) @@ -59,6 +60,7 @@ class FreshRSS_configure_Controller extends FreshRSS_ActionController { FreshRSS_Context::$user_conf->bottomline_favorite = Minz_Request::paramBoolean('bottomline_favorite'); FreshRSS_Context::$user_conf->bottomline_sharing = Minz_Request::paramBoolean('bottomline_sharing'); FreshRSS_Context::$user_conf->bottomline_tags = Minz_Request::paramBoolean('bottomline_tags'); + FreshRSS_Context::$user_conf->bottomline_myLabels = Minz_Request::paramBoolean('bottomline_myLabels'); FreshRSS_Context::$user_conf->bottomline_date = Minz_Request::paramBoolean('bottomline_date'); FreshRSS_Context::$user_conf->bottomline_link = Minz_Request::paramBoolean('bottomline_link'); FreshRSS_Context::$user_conf->show_nav_buttons = Minz_Request::paramBoolean('show_nav_buttons'); diff --git a/app/Models/UserConfiguration.php b/app/Models/UserConfiguration.php index 47d0fac49..1eceaab99 100644 --- a/app/Models/UserConfiguration.php +++ b/app/Models/UserConfiguration.php @@ -13,6 +13,7 @@ declare(strict_types=1); * @property bool $bottomline_read * @property bool $bottomline_sharing * @property bool $bottomline_tags + * @property bool $bottomline_myLabels * @property string $content_width * @property-read int $default_state * @property string $default_view diff --git a/app/views/configure/display.phtml b/app/views/configure/display.phtml index 1e8e82bdb..131583408 100644 --- a/app/views/configure/display.phtml +++ b/app/views/configure/display.phtml @@ -188,8 +188,9 @@