Removed obsolete code
authorMarcel Werk <burntime@woltlab.com>
Sun, 10 Jul 2016 22:11:51 +0000 (00:11 +0200)
committerMarcel Werk <burntime@woltlab.com>
Sun, 10 Jul 2016 22:12:39 +0000 (00:12 +0200)
com.woltlab.wcf/templates/authorSidebarBox.tpl
com.woltlab.wcf/templates/messageSidebar.tpl

index a311e52a8e40dcbc556543e86aee19acf2e26b7d..b2ce6b48bdc208c486850a242a721e1db83e31a7 100644 (file)
@@ -4,7 +4,7 @@
                
                <div>
                        <div class="containerHeadline">
-                               <h3>{if $userProfile->userID}<a href="{link controller='User' object=$userProfile}{/link}" rel="author">{$userProfile->username}</a>{else}{$userProfile->username}{/if}</h3>
+                               <h3>{if $userProfile->userID}<a href="{link controller='User' object=$userProfile}{/link}">{$userProfile->username}</a>{else}{$userProfile->username}{/if}</h3>
                                {if MODULE_USER_RANK}
                                        {if $userProfile->getUserTitle()}
                                                <p><span class="badge userTitleBadge{if $userProfile->getRank() && $userProfile->getRank()->cssClassName} {@$userProfile->getRank()->cssClassName}{/if}">{$userProfile->getUserTitle()}</span></p>
index a08425f9402d0ca9963cba6e7c7e37377c4e0c38..162982c825a2313c3c41d8578ae7d02490d678ed 100644 (file)
@@ -2,7 +2,7 @@
        {assign var=__messageSidebarJavascript value=true}
 {/if}
 
-<aside class="messageSidebar{if MESSAGE_SIDEBAR_ENABLE_ONLINE_STATUS && $userProfile->isOnline()} userOnline{/if} {if $userProfile->userID}member{else}guest{/if}"{if $userProfile->userID} itemscope itemtype="http://data-vocabulary.org/Person"{/if}>
+<aside class="messageSidebar{if MESSAGE_SIDEBAR_ENABLE_ONLINE_STATUS && $userProfile->isOnline()} userOnline{/if} {if $userProfile->userID}member{else}guest{/if}">
        <div class="messageAuthor">
                {event name='messageAuthor'}
                
                        
                        {if $userProfile->getAvatar()}
                                <div class="userAvatar">
-                                       {capture assign='__userAvatar'}{@$userProfile->getAvatar()->getImageTag(128)}{/capture}
-                                       <a href="{link controller='User' object=$userProfile->getDecoratedObject()}{/link}">{@'<img'|str_replace:'<img itemprop="photo"':$__userAvatar}</a>
+                                       <a href="{link controller='User' object=$userProfile->getDecoratedObject()}{/link}">{@$userProfile->getAvatar()->getImageTag(128)}</a>
                                        
                                        {if MESSAGE_SIDEBAR_ENABLE_ONLINE_STATUS && $userProfile->isOnline()}<span class="badge green badgeOnline" title="{lang}wcf.user.online.title{/lang}">{lang}wcf.user.online{/lang}</span>{/if}
                                </div>
                        {/if}
                        
                        <div class="messageAuthorContainer">
-                               <a href="{link controller='User' object=$userProfile->getDecoratedObject()}{/link}" class="username userLink" data-user-id="{@$userProfile->userID}" rel="author">
-                                       <span itemprop="name">{if MESSAGE_SIDEBAR_ENABLE_USER_ONLINE_MARKING}{@$userProfile->getFormattedUsername()}{else}{$username}{/if}</span>
+                               <a href="{link controller='User' object=$userProfile->getDecoratedObject()}{/link}" class="username userLink" data-user-id="{@$userProfile->userID}">
+                                       <span>{if MESSAGE_SIDEBAR_ENABLE_USER_ONLINE_MARKING}{@$userProfile->getFormattedUsername()}{else}{$username}{/if}</span>
                                </a>
                                {if $userProfile->banned}<span class="icon icon16 fa-lock jsTooltip jsUserBanned" title="{lang user=$userProfile}wcf.user.banned{/lang}"></span>{/if}
                                
@@ -30,7 +29,7 @@
                        {if MODULE_USER_RANK}
                                {if $userProfile->getUserTitle()}
                                        <div class="userTitle">
-                                               <span class="badge userTitleBadge{if $userProfile->getRank() && $userProfile->getRank()->cssClassName} {@$userProfile->getRank()->cssClassName}{/if}" itemprop="title">{$userProfile->getUserTitle()}</span>
+                                               <span class="badge userTitleBadge{if $userProfile->getRank() && $userProfile->getRank()->cssClassName} {@$userProfile->getRank()->cssClassName}{/if}">{$userProfile->getUserTitle()}</span>
                                        </div>
                                {/if}
                                {if $userProfile->getRank() && $userProfile->getRank()->rankImage}
@@ -76,7 +75,7 @@
                                                                        {assign var='__formattedUserOption' value=$userProfile->getFormattedUserOption($__sidebarUserOption)}
                                                                        {if $__formattedUserOption}
                                                                                <dt>{lang}wcf.user.option.{$__sidebarUserOption}{/lang}</dt>
-                                                                               <dd{if $__sidebarUserOption == 'location'} itemprop="locality"{/if}>{@$__formattedUserOption}</dd>
+                                                                               <dd>{@$__formattedUserOption}</dd>
                                                                        {/if}
                                                                {/if}
                                                        {/foreach}