免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
返回列表 發帖

[教學] 细化主题操作记录

本帖最後由 无界 於 2016-4-15 03:30 編輯

使主题操作理由更详细,效果如图

QQ截图20160415032133.png
2016-4-15 03:26

QQ截图20160415032336.png
2016-4-15 03:26


修改方法:
打开viewthread_node模版找到
  1. <!--{if $lastmod['modaction']}--><div class="modact"><a href="misc.php?action=viewthreadmod&amp;tid=$tid" title="{lang thread_mod}" onclick="showWindow('viewthreadmod', this.href);return false;">{lang thread_mod_by}</a></div><!--{/if}-->
複製代碼
修改为:
  1. <!--{if $lastmod['modaction']}-->
  2. <div class="modact">
  3. <a href="misc.php?action=viewthreadmod&amp;tid=$tid" title="{lang thread_mod}" onclick="showWindow('viewthreadmod', this.href);return false;">本主题由 $lastmod[modusername] 于 $lastmod[moddateline]
  4. <!--{if $thread[highlight]}-->
  5. 设置高亮
  6. <!--{elseif $threadstamp}-->
  7. 添加图章
  8. <!--{/if}-->
  9. <!--{if $thread[highlight] && $threadstamp}-->
  10. 并 添加
  11. <!--{/if}-->
  12. <!--{if $threadstamp[text] == 精华}-->
  13. 精华
  14. <!--{elseif $threadstamp[text] == 热帖}-->
  15. 热帖
  16. <!--{elseif $threadstamp[text] == 美图}-->
  17. 美图
  18. <!--{elseif $threadstamp[text] == 优秀}-->
  19. 优秀
  20. <!--{elseif $threadstamp[text] == 置顶}-->
  21. 置顶
  22. <!--{elseif $threadstamp[text] == 推荐}-->
  23. 推荐
  24. <!--{elseif $threadstamp[text] == 原创}-->
  25. 原创
  26. <!--{elseif $threadstamp[text] == 版主推荐}-->
  27. 版主推荐
  28. <!--{elseif $threadstamp[text] == 爆料}-->
  29. 爆料
  30. <!--{/if}--> 图章
  31. </a>
  32. </div>
  33. <!--{/if}-->
複製代碼
即可
2

評分人數

這個代碼能令操作資料詳盡
真的很不錯啊

其實我覺得
若能將文字改變字體
又或添上色彩
那就能更盡善盡美了

TOP

回復 2# 繽紛色彩


    好提议

TOP

返回列表