Commit 09a61c88 authored by Nigel McNie's avatar Nigel McNie
Browse files

Show profile icons beside names when displaying latest forum posts.

parent 4edd235b
......@@ -28,7 +28,10 @@
{foreach from=$foruminfo item=postinfo}
<div>
<h4><a href="{$WWWROOT}interaction/forum/topic.php?id={$postinfo->topic|escape}#post{$postinfo->id|escape}">{$postinfo->topicname|escape}</a></h4>
<div><a href="{$WWWROOT}user/view.php?id={$postinfo->poster|escape}">{$postinfo->poster|display_name|escape}</a></div>
<div>
<img src="{$WWWROOT}thumb.php?type=profileicon&amp;maxsize=20&amp;id={$postinfo->poster|escape}" alt="">
<a href="{$WWWROOT}user/view.php?id={$postinfo->poster|escape}">{$postinfo->poster|display_name|escape}</a>
</div>
<p>{$postinfo->body|str_shorten:100:true}</p>
</div>
{/foreach}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment