为x2.5版本帖子下选擇中加回@好友按鈕及更改门户首页板块调动的链接样式(静态)
加回@好友按鈕
\template\default\forum\viewthread_node.htm
搜索- <!--{if $_G['group']['raterange'] && $post['authorid']}-->
- <a href="javascript:;" id="ak_rate" onclick="showWindow('rate', 'https://www.discuz.1314study.com/forum.php?mod=misc&action=rate&tid=$_G[tid]&pid=$post[pid]', 'get', -1);return false;" title="{echo count($postlist[$post[pid]][totalrate]);} {lang people_score}"><i><img src="{IMGDIR}/agree.gif" alt="{lang rate}" />{lang rate}</i></a>
- <!--{/if}-->
复制代码 在下增加- <a href="misc.php?mod=invite&action=thread&id=$_G[tid]" onclick="showWindow('invite', this.href, 'get', 0);"><i><img src="{IMGDIR}/activitysmall.gif" alt="{lang invite}" />{lang at_friend}</i></a>
复制代码 沒有演示图啦,有用过x2的朋友都知道是什么样子的了 |
上一篇: Discuz X2.5 希望这个360的模板能支持宽屏方式下一篇: Discuz X2.5门户首页板块调动的链接静态化修改
|