<div class="contentItemMetaContent">
<div class="contentItemMetaAuthor">
- {if $article->userID}
- {user object=$article->getUserProfile()}
- {else}
- {$article->username}
- {/if}
+ {user object=$article->getUserProfile()}
</div>
<div class="contentItemMetaTime">
{@$article->time|time}
<div>
<div class="containerHeadline">
<h3>
- {if $userProfile->userID}
- {user object=$userProfile}
- {else}
- {$userProfile->username}
- {/if}
+ {user object=$userProfile}
</h3>
{if MODULE_USER_RANK}
{if $userProfile->getUserTitle()}
<small>{@$boxComment->getExcerpt(50)}</small>
</div>
<div>
- <small>{if $boxComment->userID}{user object=$boxComment->getUserProfile()}{else}{$boxComment->username}{/if} <span class="separatorLeft">{@$boxComment->time|time}</span></small>
+ <small>{user object=$boxComment->getUserProfile()} <span class="separatorLeft">{@$boxComment->time|time}</span></small>
</div>
</li>
{/foreach}
data-responses="{@$comment->responses}" data-last-response-time="{if $commentLastResponseTime|empty}{@$comment->getLastResponseTime()}{else}{@$commentLastResponseTime}{/if}" data-is-disabled="{@$comment->isDisabled}"
>
<div class="box48{if $__wcf->getUserProfileHandler()->isIgnoredUser($comment->userID)} ignoredUserContent{/if}">
- {if $comment->userID}
- {user object=$comment->getUserProfile() type='avatar48' title=$comment->getUserProfile()->username}
- {else}
- {@$comment->getUserProfile()->getAvatar()->getImageTag(48)}
- {/if}
+ {user object=$comment->getUserProfile() type='avatar48'}
<div class="commentContentContainer" itemprop="comment" itemscope itemtype="http://schema.org/Comment">
<div class="commentContent">
{else}
<li class="commentResponse jsCommentResponse" data-response-id="{@$response->responseID}" {@$__wcf->getReactionHandler()->getDataAttributes('com.woltlab.wcf.comment.response', $response->responseID)} data-can-edit="{if $response->isEditable()}true{else}false{/if}" data-can-delete="{if $response->isDeletable()}true{else}false{/if}" data-user-id="{@$response->userID}">
<div class="box32{if $__wcf->getUserProfileHandler()->isIgnoredUser($response->userID)} ignoredUserContent{/if}">
- {if $response->userID}
- {user object=$response->getUserProfile() type='avatar48' title=$response->getUserProfile()->username}
- {else}
- {@$response->getUserProfile()->getAvatar()->getImageTag(32)}
- {/if}
+ {user object=$response->getUserProfile() type='avatar48'}
<div class="commentContent commentResponseContent" itemprop="comment" itemscope itemtype="http://schema.org/Comment">
<meta itemprop="dateCreated" content="{@$response->time|date:'c'}">
</h2>
<ul class="messageHeaderMetaData">
- <li>
- {if $userProfiles[$message->getUserID()]|isset}
- {user object=$userProfiles[$message->getUserID()]}
- {else}
- <span class="username">{$message->getUsername()}</span>
- {/if}
- </li>
+ <li>{if $userProfiles[$message->getUserID()]|isset}{user object=$userProfiles[$message->getUserID()]}{else}<span class="username">{$message->getUsername()}</span>{/if}</li>
<li><span class="messagePublicationTime">{@$message->getTime()|time}</span></li>
{event name='messageHeaderMetaData'}
<section class="messageContent">
<header class="messageHeader">
<div class="box32 messageHeaderWrapper">
- {if $article->getUserProfile()->userID}
- {user object=$article->getUserProfile() type='avatar32' ariaHidden='true'}
- {else}
- <span>{@$article->getUserProfile()->getAvatar()->getImageTag(32)}</span>
- {/if}
+ {user object=$article->getUserProfile() type='avatar32' ariaHidden='true'}
<div class="messageHeaderBox">
<h2 class="messageTitle">
</h2>
<ul class="messageHeaderMetaData">
- <li>
- {if $article->getUserProfile()->userID}
- {user object=$article->getUserProfile() class='username'}
- {else}
- {$article->getUserProfile()->username}
- {/if}
- </li>
+ <li>{user object=$article->getUserProfile() class='username'}</li>
<li><span class="messagePublicationTime">{@$article->time|time}</span></li>
{event name='messageHeaderMetaData'}
<section class="messageContent">
<header class="messageHeader">
<div class="box32 messageHeaderWrapper">
- {if $message->userID}
- {user object=$message->getUserProfile() type='avatar32' ariaHidden='true'}
- {else}
- <span>{@$message->getUserProfile()->getAvatar()->getImageTag(32)}</span>
- {/if}
+ {user object=$message->getUserProfile() type='avatar32' ariaHidden='true'}
<div class="messageHeaderBox">
<h2 class="messageTitle">
</h2>
<ul class="messageHeaderMetaData">
- <li>
- {if $message->userID}
- {user object=$message->getUserProfile() class='username'}
- {else}
- {$message->getUsername()}
- {/if}
- </li>
+ <li>{user object=$message->getUserProfile() class='username'}</li>
<li><span class="messagePublicationTime">{@$message->getTime()|time}</span></li>
{event name='messageHeaderMetaData'}
<h2 class="sectionTitle">{lang}wcf.moderation.report.reportedBy{/lang}</h2>
<div class="box32">
- {if $reportUser->userID}
- {user object=$reportUser type='avatar32' title=$reportUser->username}
- {else}
- <span>{@$reportUser->getAvatar()->getImageTag(32)}</span>
- {/if}
+ {user object=$reportUser type='avatar32'}
<div>
<div class="containerHeadline">
<h3>
- {if $reportUser->userID}
- {user object=$reportUser}
- {else}
- {lang}wcf.user.guest{/lang}
- {/if}
-
+ {user object=$reportUser}
<small class="separatorLeft">{@$queue->time|time}</small>
</h3>
</div>
{foreach from=$eventList item=event}
<li>
<div class="box48{if $__wcf->getUserProfileHandler()->isIgnoredUser($event->getUserProfile()->userID)} ignoredUserContent{/if}">
- {user object=$event->getUserProfile() type='avatar48' title=$event->getUserProfile()->username ariaHidden='true'}
+ {user object=$event->getUserProfile() type='avatar48' ariaHidden='true'}
<div>
<div class="containerHeadline">
{assign var=_messageCustomIcon value=$customIcons[$_messageObjectHash]}
{if $_messageCustomIcon === ''}
{if $message->getUserProfile()}
- {if $message->getUserProfile()->userID}
- {user object=$message->getUserProfile() type='avatar48' title=$message->getUserProfile()->username ariaHidden='true'}
- {else}
- <p>{@$message->getUserProfile()->getAvatar()->getImageTag(48)}</p>
- {/if}
+ {user object=$message->getUserProfile() type='avatar48' ariaHidden='true'}
{else}
<p><span class="icon icon48 fa-file-o"></span></p>
{/if}
{if $message->getUserProfile() || $message->getTime() || $message->getContainerTitle()}
<ul class="inlineList dotSeparated">
{if $message->getUserProfile()}
- <li>
- {if $message->getUserProfile()->userID}
- {user object=$message->getUserProfile()}
- {else}
- {$message->getUserProfile()->username}
- {/if}
- </li>
+ <li>{user object=$message->getUserProfile()}</li>
{/if}
{if $message->getTime()}
<li><small>{@$message->getTime()|time}</small></li>
{foreach from=$users item=user}
<li data-object-id="{@$user->userID}">
<div class="box48">
- {user object=$user type='avatar48' title=$user->username ariaHidden='true'}
+ {user object=$user type='avatar48' ariaHidden='true'}
<div class="details userInformation">
<div class="containerHeadline">
<li data-object-id="{@$user->userID}">
<div class="box48">
- {user object=$user type='avatar48' title=$user->username ariaHidden='true'}
+ {user object=$user type='avatar48' ariaHidden='true'}
<div class="details userInformation">
{include file='userInformation'}
{foreach from=$likeList item=like}
<li>
<div class="box48">
- {user object=$like->getUserProfile() type='avatar48' title=$like->getUserProfile()->username ariaHidden='true'}
+ {user object=$like->getUserProfile() type='avatar48' ariaHidden='true'}
<div>
<div class="containerHeadline">