Commit | Line | Data |
---|---|---|
a821cb93 AE |
1 | {if $unknownUser|isset} |
2 | <p>{lang}wcf.user.unknownUser{/lang}</p> | |
3 | {else} | |
4 | <div class="box128 userProfilePreview"> | |
5 | <a href="{link controller='User' object=$user}{/link}" title="{$user->username}">{@$user->getAvatar()->getImageTag(128)}</a> | |
320f4a6d | 6 | |
a821cb93 | 7 | <div class="userInformation"> |
bf45af6e | 8 | {include file='userInformation' disableUserInformationButtons=true} |
a821cb93 AE |
9 | |
10 | {if $user->canViewOnlineStatus() && $user->getLastActivityTime()} | |
11 | <dl class="plain inlineDataList userStats"> | |
12 | <dt>{lang}wcf.user.usersOnline.lastActivity{/lang}</dt> | |
13 | <dd>{@$user->getLastActivityTime()|time}{if $user->getCurrentLocation()}, {@$user->getCurrentLocation()}{/if}</dd> | |
14 | </dl> | |
15 | {/if} | |
16 | ||
17 | {hascontent} | |
18 | <dl class="plain inlineDataList userFields"> | |
19 | {content} | |
c88b5414 | 20 | {if $__wcf->getSession()->getPermission('user.profile.canViewUserProfile') && $user->isAccessible('canViewProfile')} |
d2fbf646 MW |
21 | {if $user->occupation} |
22 | <dt>{lang}wcf.user.option.occupation{/lang}</dt> | |
23 | <dd>{$user->occupation}</dd> | |
24 | {/if} | |
25 | {if $user->hobbies} | |
26 | <dt>{lang}wcf.user.option.hobbies{/lang}</dt> | |
27 | <dd>{$user->hobbies}</dd> | |
28 | {/if} | |
a821cb93 AE |
29 | {/if} |
30 | {event name='userFields'} | |
31 | {/content} | |
32 | </dl> | |
33 | {/hascontent} | |
34 | </div> | |
320f4a6d | 35 | </div> |
a821cb93 | 36 | {/if} |