理论上 7.2也可以使用
修改方法:
css_append.htm 添加
- .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
查找:
- <!--{if $whosonlinestatus}-->
复制代码
上面添加
- <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的话 只需要将上面的代码替换为
- <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改小一点就可以了。
|
上一篇: 在快速回复栏左侧加一个游客注册或登录提醒 For discuz 7.2下一篇: 在发表回复后和回帖后跳转到最后一页 中间加 Ctrl+Enter快速发表的提示 For discuz7.2
|