1、打开 forumdisplay 模板,找到:
[CSS] 纯文本查看 复制代码 <td class="author">
<cite>
<!--{if $thread['authorid'] && $thread['author']}-->
<a href="space.php?uid=$thread[authorid]">$thread[author]</a>
<!--{else}-->
<!--{if $forum['ismoderator']}-->
<a href="space.php?uid=$thread[authorid]">{lang anonymous}</a>
<!--{else}-->
{lang anonymous}
<!--{/if}-->
<!--{/if}-->
</cite>
<em>$thread[dateline]</em>
</td>
修改为:
[CSS] 纯文本查看 复制代码 <td class="author">
<div style="float:left;width:28px;padding-top:4px;">
<img src="http://你的论坛地址/uc_server/avatar.php?uid=$thread[authorid]&size=small" class="ava_border" width="25px" height="25px" style="border:1px solid #ccc; padding:2px; margin:0px; background-color:#fff;" />
</div>
<div style="float:left;padding:2px 0px 0px 6px;">
<cite>
<!--{if $thread['authorid'] && $thread['author']}-->
<a href="space.php?uid=$thread[authorid]">$thread[author]</a>
<!--{else}-->
<!--{if $forum['ismoderator']}-->
<a href="space.php?uid=$thread[authorid]">{lang anonymous}</a>
<!--{else}-->
{lang anonymous}
<!--{/if}-->
<!--{/if}-->
</cite>
<em>$thread[dateline]</em>
</div>
</td>
2、打开 css_common 模板,在最下面添加:
[CSS] 纯文本查看 复制代码 td.author { width: 150px; text-align: left; }
|