User view pronoun after name

This commit is contained in:
Xu 2024-01-23 11:44:33 +01:00 committed by Igor Scheller
parent 67b24032a0
commit 7e26e20608
1 changed files with 3 additions and 5 deletions

View File

@ -580,13 +580,11 @@ function User_view(
return page_with_title( return page_with_title(
'<span class="icon-icon_angel"></span> ' '<span class="icon-icon_angel"></span> '
. (
(config('enable_pronoun') && $user_source->personalData->pronoun)
? '<small>' . htmlspecialchars($user_source->personalData->pronoun) . '</small> '
: ''
)
. htmlspecialchars($user_source->name) . htmlspecialchars($user_source->name)
. (config('enable_user_name') ? ' <small>' . $user_name . '</small>' : '') . (config('enable_user_name') ? ' <small>' . $user_name . '</small>' : '')
. ((config('enable_pronoun') && $user_source->personalData->pronoun)
? ' <small>(' . htmlspecialchars($user_source->personalData->pronoun) . ')</small> '
: '')
. user_info_icon($user_source), . user_info_icon($user_source),
[ [
msg(), msg(),