{if "$userwatch" eq "$user" } {include file='tiki-mytiki_bar.tpl'} {/if} {if $infoPublic eq 'y' || true}
{if $tiki_p_admin eq 'y' or $userinfo.object_id 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 $prefs['feature_display_my_to_others'] eq 'y'} {/if}
{* Content *}
{* User Information Tab *}

User Information

{if $userinfo['user_realName'] && $prefs['user_show_realnames'] == 'n'} {/if} {if $userinfo['user_realName'] && $prefs['user_show_realnames'] == 'y'} {/if} {if not empty($userinfo['user_country']) and $userinfo['user_country'] != 'Other'} {/if} {if $prefs.feature_community_gender eq 'y' and $gender neq 'Hidden' and $gender} {/if} {if $email_isPublic neq 'n' and $userinfo.email neq ''} {elseif $email_isPublic eq 'n' and $userinfo.email neq '' and $tiki_p_admin eq 'y'} {/if} {if $prefs.change_theme ne 'n'} {/if} {if $prefs.change_language eq 'y'} {/if} {if $userinfo['user_homepage']} {/if} {if $prefs.feature_score eq 'y'} {/if} {if $prefs.feature_wiki eq 'y' && $prefs.feature_wiki_userpage eq 'y' && (not empty($userinfo['user_page']) or $user == $userinfo.object_id)} {/if} {foreach $template_fields as $field} {/foreach}
{tr}Real Name{/tr} {$userinfo['user_realName']|escape}
{tr}Username:{/tr} {$userwatch|escape}
{tr}Country:{/tr} {$userwatch|countryflag} {tr}{$userinfo['user_country']|stringfix}{/tr}
{tr}Gender:{/tr} {tr}{$userinfo['user_gender']}{/tr}
{tr}Email:{/tr} {mailto address=$userinfo.email text=$scrambledEmail encode="javascript"}
{tr}Email:{/tr} {mailto address=$userinfo.email encode="javascript"} {tr}(non public){/tr}
{tr}Theme:{/tr} {$userinfo['user_style']}
{tr}Language:{/tr} {', '|implode:$userinfo['user_language']}
{tr}Homepage:{/tr} {$userinfo['user_homepage']|escape}
{tr}Score:{/tr} {$userinfo.score|star}{$userinfo.score}
{tr}Personal Wiki Page:{/tr} {if not empty($userinfo['user_page'])} {$prefs.feature_wiki_userpage_prefix}{$userinfo.object_id} {elseif $user == $userinfo.object_id} {$prefs.feature_wiki_userpage_prefix}{$userinfo.object_id} ? {else} {/if}
{tr}Last login:{/tr} {$userinfo.lastLogin|tiki_short_datetime}
{$field.label}: {$userinfo["tracker_field_`$field.permName`"]}
{* Wikis Tab *}

{tr}Wiki Pages{/tr}

{tr}This user has contributed to the following wiki pages:{/tr}

{wikiplugin _name="list"} {literal} {filter type="wiki page"} {filter exact="{/literal}{$userwatch}{literal}" field="contributors"} {ALTERNATE()}{tr}This user has not contributed to any wiki pages yet{/tr}.{ALTERNATE} {/literal} {/wikiplugin}
{* Blogs Tab *}

{tr}Blogs{/tr}

{tr}This user has contributed to the following blogs:{/tr}

{wikiplugin _name="list"} {literal} {filter type="blog post"} {filter exact="{/literal}{$userwatch}{literal}" field="contributors"} {ALTERNATE()}{tr}This user has not contributed any blog posts yet{/tr}.{ALTERNATE} {/literal} {/wikiplugin}
{* Galleries Tab *}

{tr}Files{/tr}

{tr}This user has contributed to the following files:{/tr}

{wikiplugin _name="list"} {literal} {filter type="file"} {filter multivalue="{/literal}{$userwatch}{literal}" field="contributors"} {ALTERNATE()}{tr}This user has not contributed any blog posts yet{/tr}.{ALTERNATE} {/literal} {/wikiplugin}
{* Trackers Tab *}

Tracker Items

{tr}This user has contributed to the following tracker items:{/tr}

{wikiplugin _name="list"} {literal} {filter type="trackeritem"} {filter exact="{/literal}{$userwatch}{literal}" field="contributors"} {ALTERNATE()}{tr}This user has not contributed to any tracker items yet{/tr}.{ALTERNATE} {/literal} {/wikiplugin}
{* Articles Tab *}

{tr}Articles{/tr}

{tr}This user has contributed to the following articles:{/tr}

{wikiplugin _name="list"} {literal} {filter type="article"} {filter exact="{/literal}{$userwatch}{literal}" field="contributors"} {ALTERNATE()}{tr}This user has not contributed to any articles yet{/tr}.{ALTERNATE} {/literal} {/wikiplugin}
{* Forum Posts Tab *}

{tr}Forum Threads{/tr}

{tr}This user has started to the following forum threads:{/tr}

{wikiplugin _name="list"} {literal} {filter type="forum post"} {filter field="parent_thread_id" exact="0"} {filter exact="{/literal}{$userwatch}{literal}" field="contributors"} {ALTERNATE()}{tr}This user has not contributed to any forums yet{/tr}.{ALTERNATE} {/literal} {/wikiplugin}
{* Friends *}
{if $user and $prefs.feature_messages eq 'y' and $tiki_p_messages eq 'y' and $userinfo['user_allowmsgs'] eq 'y'}
{tr}Send me a message{/tr} {if $prefs.feature_friends eq 'y'} {if $user neq $userinfo.object_id} {wikiplugin _name="friend" other_user="{$userinfo.object_id}" add_button_text="{tr}Add to Network{/tr}" remove_button_text="{tr}Remove from Network{/tr}"} {/wikiplugin} {/if} {/if}
{/if} {if $prefs.feature_friends eq 'y'} {if $user eq $userinfo.object_id}

{tr}Friendship Network{/tr}

{module module=friend_list nobox=y}
{/if}
{/if}
{else}{* infoPublic eq 'n' *}
{remarksbox type="info" title="Private"}{tr}The user has chosen to make his information private{/tr}{/remarksbox}
{/if} {jq} $('.tab_option').click(function(e){ e.preventDefault(); $('.tab_option').removeClass('active'); $('.profile-tab-content').hide(); $(this).addClass('active'); $($(this).data('target')).show(); }); {/jq}