<li>
<span class="icon icon16 fa-user"></span>
- {if $conversation->userID}
- {user object=$conversation->getUserProfile()}
- {else}
- {$conversation->username}
- {/if}
+ {user object=$conversation->getUserProfile()}
</li>
<li>
{foreach from=$participants item=participant}
<li class="jsParticipant{if !$participant->userID || $participant->hideConversation == 2 || $participant->leftAt > 0} conversationLeft{/if}">
<div class="box24">
- {if $participant->userID}
- {user object=$participant type='avatar24'}
- {else}
- <span>{@$participant->getAvatar()->getImageTag(24)}</span>
- {/if}
+ {user object=$participant type='avatar24' ariaHidden='true' tabindex='-1'}
<div>
<p>
- {if $participant->userID}
- {user object=$participant}
- {else}
- <span>{$participant->username}</span>
- {/if}
+ {user object=$participant}
{if $participant->isInvisible}<small>({lang}wcf.conversation.invisible{/lang})</small>{/if}
{if $participant->userID && ($conversation->userID == $__wcf->getUser()->userID) && ($participant->userID != $__wcf->getUser()->userID) && $participant->hideConversation != 2 && $participant->leftAt == 0}
<a href="#" class="jsDeleteButton jsTooltip jsOnly" title="{lang}wcf.conversation.participants.removeParticipant{/lang}" data-confirm-message-html="{lang __encode=true}wcf.conversation.participants.removeParticipant.confirmMessage{/lang}" data-object-id="{@$participant->userID}"><span class="icon icon16 fa-times"></span></a>
</aside>
<ul class="inlineList dotSeparated small messageGroupInfo">
- <li class="messageGroupAuthor">{if $conversation->userID}{user object=$conversation->getUserProfile()}{else}{$conversation->username}{/if}</li>
+ <li class="messageGroupAuthor">{user object=$conversation->getUserProfile()}</li>
<li class="messageGroupTime">{@$conversation->time|time}</li>
<li class="messageGroupEditLink jsOnly"><a href="#" class="jsConversationInlineEditor">{lang}wcf.global.button.edit{/lang}</a></li>
{event name='messageGroupInfo'}
<div>
<p>
- {if $conversation->lastPosterID}
- {user object=$conversation->getLastPosterProfile()}
- {else}
- {$conversation->lastPoster}
- {/if}
+ {user object=$conversation->getLastPosterProfile()}
</p>
<small>{@$conversation->lastPostTime|time}</small>
</div>
{implode from=$conversation->getParticipantSummary() item=participant}<a href="{$participant->getLink()}" class="userLink{if $participant->hideConversation == 2} conversationLeft{/if}" data-object-id="{@$participant->userID}">{$participant->username}</a>{/implode}
{if $participantSummaryCount < $conversation->participants}{lang}wcf.conversation.participants.other{/lang}{/if}
{else}
- {if $conversation->getOtherParticipantProfile()->userID}
- {user object=$conversation->getOtherParticipantProfile()}
- {else}
- {$conversation->getOtherParticipantProfile()->username}
- {/if}
+ {user object=$conversation->getOtherParticipantProfile()}
{/if}
{else}
- {if $conversation->userID}
- {user object=$conversation->getUserProfile()}
- {else}
- {$conversation->username}
- {/if}
+ {user object=$conversation->getUserProfile()}
{/if}
</span>
<div class="messageContent">
<div class="messageHeader">
<div class="box32 messageHeaderWrapper">
- {user object=$modificationLogEntry->getUserProfile() type='avatar32' ariaHidden='true'}
+ {user object=$modificationLogEntry->getUserProfile() type='avatar32' ariaHidden='true' tabindex='-1'}
<div class="messageHeaderBox">
<h2 class="messageTitle">
<div class="box48">
{if $message->getUserProfile()->getAvatar()}
- {user object=$message->getUserProfile() type='avatar48' ariaHidden='true'}
+ {user object=$message->getUserProfile() type='avatar48' ariaHidden='true' tabindex='-1'}
{/if}
<div>
<div 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' tabindex='-1'}
<div class="messageHeaderBox">
<h2 class="messageTitle">{if $message->getConversation()->canRead()}<a href="{@$message->getLink()}">{$message->getTitle()}</a>{else}{$message->getTitle()}{/if}</h2>
<ul class="messageHeaderMetaData">
- <li>
- {if $message->userID}
- {user object=$message->getUserProfile() class='username'}
- {else}
- <span class="username">{$message->getUsername()}</span>
- {/if}
- </li>
+ <li>{user object=$message->getUserProfile() class='username'}</li>
<li><span class="messagePublicationTime">{@$message->getTime()|time}</span></li>
{event name='messageHeaderMetaData'}