aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/userController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-06-15 12:47:47 +0200
committerGravatar GitHub <noreply@github.com> 2023-06-15 12:47:47 +0200
commit228d7adfdb90c3fdd179f80fbfde565eb06e0cec (patch)
tree449368813c0ee49e50db55a560dee6e4ffc9cca5 /app/Controllers/userController.php
parent644427b9b1a0cf525b84f4a2aac2d6a5a2f55045 (diff)
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
Diffstat (limited to 'app/Controllers/userController.php')
-rw-r--r--app/Controllers/userController.php5
1 files changed, 5 insertions, 0 deletions
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} */