From 7e26e206085c66fb44d82a49bcb615d8508f5fe7 Mon Sep 17 00:00:00 2001 From: Xu Date: Tue, 23 Jan 2024 11:44:33 +0100 Subject: [PATCH] User view pronoun after name --- includes/view/User_view.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/includes/view/User_view.php b/includes/view/User_view.php index c6422187..06661e2f 100644 --- a/includes/view/User_view.php +++ b/includes/view/User_view.php @@ -580,13 +580,11 @@ function User_view( return page_with_title( ' ' - . ( - (config('enable_pronoun') && $user_source->personalData->pronoun) - ? '' . htmlspecialchars($user_source->personalData->pronoun) . ' ' - : '' - ) . htmlspecialchars($user_source->name) . (config('enable_user_name') ? ' ' . $user_name . '' : '') + . ((config('enable_pronoun') && $user_source->personalData->pronoun) + ? ' (' . htmlspecialchars($user_source->personalData->pronoun) . ') ' + : '') . user_info_icon($user_source), [ msg(),