Added missing default avatar placeholder
authorMarcel Werk <burntime@woltlab.com>
Wed, 9 Mar 2016 17:10:56 +0000 (18:10 +0100)
committerMarcel Werk <burntime@woltlab.com>
Wed, 9 Mar 2016 17:12:43 +0000 (18:12 +0100)
com.woltlab.wcf/templates/avatarEdit.tpl
com.woltlab.wcf/templates/messageQuoteList.tpl

index a2cd0c127b06f111bfc4bbec3f39cd8fdc0727c6..b5a31e7ac070c1b43c05d03a26162af1f9a3a165 100644 (file)
@@ -62,7 +62,7 @@
                                                        {@$__wcf->getUserProfileHandler()->getAvatar()->getImageTag(96)}
                                                {/if}
                                        {else}
-                                               <img src="{@$__wcf->getPath()}images/avatars/avatar-default.svg" alt="" class="userAvatarImage icon96" />
+                                               <img src="{@$__wcf->getPath()}images/avatars/avatar-default.svg" alt="" class="userAvatarImage" style="width: 96px; height: 96px" />
                                        {/if}
                                </dt>
                                <dd>
index a97cd898b7678a5d00c5a2bb5fd0f52dc196ef16..8ba78e106b1d491aca885efb46ceb5833a96b2fc 100644 (file)
@@ -7,7 +7,7 @@
                                        {if $userProfiles[$message->getUserID()]|isset}
                                                <a href="{link controller='User' object=$userProfiles[$message->getUserID()]}{/link}">{@$userProfiles[$message->getUserID()]->getAvatar()->getImageTag(32)}</a>
                                        {else}
-                                               <span>{*todo: insert default avatar*}</span>
+                                               <span><img src="{@$__wcf->getPath()}images/avatars/avatar-default.svg" alt="" class="userAvatarImage" style="width: 32px; height: 32px" /></span>
                                        {/if}
                                        
                                        <div class="messageHeaderBox">