修改方法:
css_append.htm 添加
1 2 3 |
.legend { border: 1px solid {WRAPBORDERCOLOR}; background: {SPECIALBG}; padding: 5px; margin: 0 auto 10px; line-height: 31px; } .legend label { padding: 0 10px; } .legend img { vertical-align: middle; margin-right: 10px; } |
打开forumdisplay.htm
查找:
1 |
<!--{if $whosonlinestatus}--> |
上面添加
1 2 3 4 5 6 7 8 9 10 11 12 |
<div class="legend"> 帖子图例: <label><img src="{IMGDIR}/pin_1.gif" alt="总置顶" />总置顶</label> <label><img src="{IMGDIR}/pin_2.gif" alt="区置顶" />区置顶</label> <label><img src="{IMGDIR}/pin_3.gif" alt="版置顶" />版置顶</label> <label><img src="{IMGDIR}/folder_new.gif" alt="{lang thread_newposts}" />{lang thread_newposts}</label> <label><img src="{IMGDIR}/folder_common.gif" alt="{lang thread_nonewpost}" />{lang thread_nonewpost}</label> <label><img src="{IMGDIR}/folder_hot.gif" alt="{lang thread_more_replies}" />{lang thread_more_replies}</label> <label><img src="{IMGDIR}/folder_lock.gif" alt="{lang thread_closed}" />{lang thread_closed}</label> <label><img src="{IMGDIR}/digest_1.gif" alt="精华帖" />精华帖</label> <label><img src="{IMGDIR}/pollsmall.gif" alt="投票帖" />投票帖</label> </div> |
7.2的话 只需要将上面的代码替换为
1 2 3 4 5 6 7 8 9 10 11 12 |
<div class="legend"> 帖子图例: <label><img src="{IMGDIR}/pin_1.gif" alt="总置顶" />总置顶</label> <label><img src="{IMGDIR}/pin_2.gif" alt="区置顶" />区置顶</label> <label><img src="{IMGDIR}/pin_3.gif" alt="版置顶" />版置顶</label> <label><img src="{IMGDIR}/folder_new.gif" alt="{lang thread_newposts}" />{lang thread_newposts}</label> <label><img src="{IMGDIR}/folder_common.gif" alt="{lang thread_nonewpost}" />{lang thread_nonewpost}</label> <label><img src="{IMGDIR}/hot_1.gif" alt="{lang thread_more_replies}" />{lang thread_more_replies}</label> <label><img src="{IMGDIR}/folder_lock.gif" alt="{lang thread_closed}" />{lang thread_closed}</label> <label><img src="{IMGDIR}/digest_1.gif" alt="精华帖" />精华帖</label> <label><img src="{IMGDIR}/pollsmall.gif" alt="投票帖" />投票帖</label> </div> |
因论坛整体宽度不同,如果出现换行情况,.legend label { padding: 0 10px; }将10px改小一点就可以了
文章评论
@免费资源部落:还在玩,bbs.234du.com就是用你推荐的redhat空间,我感觉7比X2.5简单多了。
现在还在玩7吗?
@免费资源部落:被我删了,正在搞图片站呢,论坛一个人弄不来。
怎么论坛打不开了?