Skip to content

Commit

Permalink
* Show avatars in PM templates, even on mobile-friendly skins. That's…
Browse files Browse the repository at this point in the history
…, err... Just the way I'm envisioning it. This styling thing still needs work, I know, I know... (PersonalMessage.template.php)
  • Loading branch information
Nao committed May 3, 2014
1 parent 6825418 commit ddaddb7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/html/PersonalMessage.template.php
Expand Up @@ -222,7 +222,10 @@ function loadLabelChoices()
<div>', implode('</div>
<div>', $message['member']['group_badges']), '</div>
</li>';
}

if (!$message['member']['is_guest'])
{
// Show avatars, images, etc.?
if (!empty($settings['show_avatars']) && empty($options['hide_avatars']) && !empty($message['member']['avatar']['image']))
echo '
Expand All @@ -231,7 +234,10 @@ function loadLabelChoices()
', $message['member']['avatar']['image'], '
</a>
</li>';
}

if (!$message['member']['is_guest'] && !$is_mobile)
{
// Show how many posts they have made.
if (!isset($context['disabled_fields']['posts']))
echo '
Expand Down

0 comments on commit ddaddb7

Please sign in to comment.