Added avatars for unknown users

This commit is contained in:
Marcin Kurczewski 2013-10-27 20:46:00 +01:00
parent b55a8f1dce
commit 3f3024d6ac
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,5 @@
#sidebar { #sidebar {
width: 200px; width: 224px;
line-height: 1.33em; line-height: 1.33em;
font-size: 90%; font-size: 90%;
} }
@ -49,6 +49,9 @@ embed {
#sidebar .uploader img { #sidebar .uploader img {
vertical-align: middle; vertical-align: middle;
margin: 0 0.5em 0 0; margin: 0 0.5em 0 0;
width: 16px;
height: 16px;
background-image: url('http://www.gravatar.com/avatar/0?f=y&d=mm&s=16');
} }
i.icon-prev { i.icon-prev {

View file

@ -55,6 +55,7 @@
</span> </span>
<?php else: ?> <?php else: ?>
<span class="value" title="[unknown user]"> <span class="value" title="[unknown user]">
<img src="<?php echo \Chibi\UrlHelper::absoluteUrl('/media/img/pixel.gif') ?>" alt="[unknown user]"/>
[unknown user] [unknown user]
</span> </span>
<?php endif ?> <?php endif ?>