{* $Id$ *} {capture assign="viewuser"}{$userwatch|escape:"url"}{/capture} {title url="tiki-user_information.php?view_user=$viewuser"}{tr}User Information{/tr}{/title} {if "$userwatch" eq "$user" } {include file='tiki-mytiki_bar.tpl'} {/if} {if $prefs.feature_tabs neq 'y' and $user and $prefs.feature_messages eq 'y' and $tiki_p_messages eq 'y' and $allowMsgs eq 'y'}
{button href="#message" class="btn btn-primary" _text="{tr}Send a message{/tr}"}
{/if} {tabset name="user_information"} {tab name="{tr}Basic Data{/tr}"} {if $infoPublic eq 'y'}

{$userinfo.login} {if $tiki_p_admin eq 'y' or $userinfo.login eq $user} {if $tiki_p_admin eq 'y'} {icon name='group' align="right" alt="{tr}Assign Group{/tr}"} {/if} {icon name='wrench' align="right" alt="{tr}Change user preferences{/tr}"} {/if}

{if $avatar}
{tr}Profile picture{/tr} ({tr}User Icon{/tr}):
{if $userinfo.login eq $user}{/if} {$avatar} {if $userinfo.login eq $user}{/if}
{if isset($user_picture_id)}
{wikiplugin _name="img" fileId="$user_picture_id"}{/wikiplugin}
{/if}
{/if} {if $realName}
{tr}Real Name:{/tr}
{$realName|escape}
{/if} {if $prefs.feature_community_gender eq 'y' and $gender neq 'Hidden' and $gender}
{tr}Gender:{/tr}
{tr}{$gender}{/tr}
{/if} {if $email_isPublic neq 'n' and $userinfo.email neq ''}
{tr}Email:{/tr}
{mailto address=$userinfo.email text=$scrambledEmail encode="javascript"}
{elseif $email_isPublic eq 'n' and $userinfo.email neq '' and $tiki_p_admin eq 'y'}
{tr}Email:{/tr}
{mailto address=$userinfo.email encode="javascript"} {tr}(non public){/tr}
{/if} {if !empty($country) and $country != 'Other'}
{tr}Country:{/tr}
{$userinfo.login|countryflag} {tr}{$country|stringfix}{/tr}
{/if} {if $prefs.change_theme ne 'n'}
{tr}Theme:{/tr}
{$user_style}
{/if} {if $prefs.change_language eq 'y'}
{tr}Language:{/tr}
{$user_language}
{/if} {if $homePage}
{tr}Homepage:{/tr}
{/if} {if $prefs.feature_score eq 'y'}
{tr}Score:{/tr}
{$userinfo.score|star}{$userinfo.score}
{/if} {if $prefs.feature_wiki eq 'y' && $prefs.feature_wiki_userpage eq 'y' && ($userPage_exists or $user == $userinfo.login)}
{tr}Personal Wiki Page:{/tr}
{if $userPage_exists} {$prefs.feature_wiki_userpage_prefix}{$userinfo.login} {elseif $user == $userinfo.login} {$prefs.feature_wiki_userpage_prefix}{$userinfo.login} ? {else} {/if}
{/if}
{tr}Last login:{/tr}
{$userinfo.lastLogin|tiki_short_datetime}
{* Custom database fields *} {section name=ir loop=$customfields} {if $customfields[ir].show}
{$customfields[ir].label}:
{$customfields[ir].value}
{/if} {/section}
{if $prefs.feature_friends eq 'y'}

{tr}Friendship Network{/tr}

{if $user eq $userinfo.login}

{tr}Your relationship with other users{/tr}

{module module=friend_list nobox=y} {else}

{tr}Relationship of this user to you{/tr}

{jq} $('#friendship').load("tiki-user-info?username={{$userinfo.login}} .friendship"); $('#addfriend').load("tiki-user-info?username={{$userinfo.login}} .add-friend"); {/jq} {/if} {/if} {else}{* infoPublic eq 'n' *}
{remarksbox type="info" title="Private"}{tr}The user has chosen to make his information private{/tr}{/remarksbox}
{/if} {/tab} {if $prefs.user_tracker_infos and $infoPublic eq "y"} {tab name="{tr}Additional Information{/tr}"}

{tr}Additional Information{/tr} – {$userinfo.login}

{foreach item=itemField from=$userItem.field_values} {if $itemField.value ne '' or !empty($itemField.categs) or !empty($itemField.links)}
{$itemField.name}:
{trackeroutput field=$itemField item=$itemField}
{/if} {/foreach}
{/tab} {/if} {if $prefs.feature_display_my_to_others eq 'y' and $infoPublic eq "y"} {tab name="{tr}User Contribution{/tr}"}
{if ($user_pages|@count > 0) or ($user_blogs|@count > 0) or ($user_blog_posts|@count > 0) or ($user_articles|@count > 0) or ($user_forum_comments|@count > 0) or ($user_forum_topics|@count > 0) or ($user_items|@count > 0)}

{tr}User{/tr} {$userinfo.login|userlink}

{tr}has contributed to the following content{/tr}…

{else}

{tr}User{/tr} {$userinfo.login|userlink}

{tr}has not contributed to any content yet{/tr}

{/if} {if $user_pages|@count > 0}

{tr}Wiki Pages{/tr}

{section name=ix loop=$user_pages}
{$user_pages[ix].pageName|truncate:40:"(...)"|escape}
{/section}
{/if} {if $user_blogs|@count > 0}

{tr}Blogs{/tr}

{section name=ix loop=$user_blogs}
{$user_blogs[ix].title|escape}
{/section}
{/if} {if $user_blog_posts|@count > 0}

{tr}Blogs Posts{/tr}

{section name=ix loop=$user_blog_posts}
{$user_blog_posts[ix].title|escape}
{/section}
{/if} {if $user_articles|@count > 0}

{tr}Articles{/tr}

{section name=ix loop=$user_articles}
{$user_articles[ix].title|escape}
{/section}
{/if} {if $user_forum_comments|@count > 0}

{tr}Forum comments{/tr}

{section name=ix loop=$user_forum_comments}
{$user_forum_comments[ix].title|escape}
{/section}
{/if} {if $user_forum_topics|@count > 0}

{tr}Forum topics{/tr}

{section name=ix loop=$user_forum_topics}
{$user_forum_topics[ix].title|escape}
{/section}
{/if} {if $user_items|@count > 0}

{tr}User Items{/tr}

{section name=ix loop=$user_items}
{$user_items[ix].name|escape} : {$user_items[ix].value|escape}
{/section}
{/if}
{/tab} {/if} {if $prefs.feature_actionlog eq 'y' and $prefs.user_who_viewed_my_stuff eq 'y' and !empty($user) and ($prefs.user_who_viewed_my_stuff_show_others eq 'y' or $user eq $userinfo.login or $tiki_p_admin eq "y") and $infoPublic eq "y"} {tab name="{tr}Who Looks at Items?{/tr}"}

{if $user eq $userinfo.login}{tr}Who Looks at Your Items?{/tr}{else}{tr}Who Looks at His or Her Items?{/tr}{/if}

{section name=ix loop=$whoviewed}
{$whoviewed[ix].user|userlink} - {$whoviewed[ix].lastViewed|tiki_short_datetime}
{/section}
{/tab} {/if} {if $user and $prefs.feature_messages eq 'y' and $tiki_p_messages eq 'y' and $allowMsgs eq 'y'} {tab name="{tr}Send a message{/tr}"}
{if $sent} {$message} {else}

{tr}Send a message!{/tr}

{ticket}

{tr}The following message will be sent to user{/tr} {$userinfo.login|userlink}…

{/if}
{/tab} {/if} {/tabset}