From 228d7adfdb90c3fdd179f80fbfde565eb06e0cec Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 15 Jun 2023 12:47:47 +0200 Subject: Fix slider views (#5469) * Fix slider titles And fix full-page view of category configuration. FIx https://github.com/FreshRSS/FreshRSS/pull/5449#issuecomment-1590021947 * Fix user queries and user management Implement https://github.com/FreshRSS/FreshRSS/pull/5469#issuecomment-1591957935 --- app/Controllers/userController.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app/Controllers/userController.php') diff --git a/app/Controllers/userController.php b/app/Controllers/userController.php index 9906ae6bd..90eb44800 100644 --- a/app/Controllers/userController.php +++ b/app/Controllers/userController.php @@ -620,8 +620,13 @@ class FreshRSS_user_Controller extends FreshRSS_ActionController { Minz_Error::error(404); } + if (Minz_Request::paramBoolean('ajax')) { + $this->view->_layout(null); + } + $this->view->username = $username; $this->view->details = $this->retrieveUserDetails($username); + FreshRSS_View::prependTitle($username . ' · ' . _t('gen.menu.user_management') . ' · '); } /** @return array{'feed_count':int,'article_count':int,'database_size':int,'language':string,'mail_login':string,'enabled':bool,'is_admin':bool,'last_user_activity':string,'is_default':bool} */ -- cgit v1.2.3