{require-css "userprofile"} {if $userprofileShowProfile}
{if $userprofileEditLink} {tr "edit profile"} {endif} {$userprofileName}

{tr "user profile"}

{if $userprofilePhotoUrl} {elseif $userprofileHomepage} {endif} {if $userprofileHomepage} {elseif $userprofilePhotoUrl} {endif} {foreach $userprofileContacts} {endforeach} {if $userprofileLocation} {endif} {if $userprofileBirthdate} {endif} {if $userprofileGender} {endif} {if $userprofileTitle} {endif} {if $userprofileAbout} {endif}
{tr
{tr "homepage"}   {$userprofileHomepage}
{$title} {if $link}{endif} {if $image}{$image}  {endif}{$value} {if $link}{endif}
{tr "location"} {$userprofileLocation}
{tr "birthday"} {$userprofileBirthdate}
{tr "gender"} {$userprofileGender}
{tr "user title"} {$userprofileTitle}
{tr "description"} {$userprofileAbout}

{tr "profile.forum activity"}

{if $userprofileLastPost} {endif}
{tr "registered on"} {$userprofileRegDate} {tr "group memberships"}
{tr "last online"} {$userprofileOnlineImage}  {$userprofileLastActivity} {$userprofileGroups}
{tr "users.posts"} {$userprofilePostCount}
{tr "last post"} {$userprofileLastPost}
{if or $userprofileSignature $userprofileAvatarUrl}

{tr "profile.post options"}

{if $userprofileSignature} {else} {endif} {if $userprofileAvatarUrl} {endif}
{tr "post signature"} {$userprofileSignature} {tr "avatar"} {tr
{endif} {if $userprofileExtraCount}

{tr "profile.further information"}

{foreach $userprofileExtra} {if $value} {endif} {endforeach}
{$name} {$value}
{endif}{-- userprofileExtra} {endif}{-- userprofileShowProfile} {if $userprofileShowEMail}

{tr "send mail to user"}

{tr "recipient"}: {$userprofileRcptName} {$userprofileRcptOnlineImg}
{tr "send email.message"}:
{tr "allow direct reply~"}
{endif}{-- userprofileShowEMail}