id === $GLOBALS["currentUser"]?->id && $user->hasPermission(UserPermissions::EDIT_OWN_USER)) || $GLOBALS["currentUser"]?->hasPermission(UserPermissions::EDIT_OTHER_USER); $isOwnProfile = $user->id === $GLOBALS["currentUser"]?->id; $sUserPossessive = ""; if ($isOwnProfile) $sUserPossessive = "Your posts"; else $sUserPossessive = "%display_name%'s posts"; $dateJoined = DateTime::createFromImmutable($user->created); $dateJoined->setTime(0, 0, 0, 0); $emailPending = $isOwnProfile && $user->pendingEmail !== null; ?>

$user->displayName, ]) ?>

0): ?>

$_formError]); } ?>
" method="post" enctype="multipart/form-data">
profilePicture); $_checkbox_disabled_class = $_checkbox_disabled ? " disabled text-muted" : ""; ?>

$_formError]); } ?>
" method="post">