- 積分
- 878
- 威望
- 878
- 金錢
- 757
- 最後登錄
- 2015-7-11
|
你好!
在/templates/default/forumdisplay.htm找- <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>
複製代碼 替成- <td class="author">
- <div style="width:40px; float:left;"><img src="你的UC網址/avatar.php?uid=$thread[authorid]&size=small" class="ava_border" width="30px" height="30px" 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>
複製代碼 在/templates/default/css_common.htm最底加上- td.author { width: 160px; text-align: left; }
複製代碼 更新緩存 |
|