美化贴子楼层
修改viewthread.htm
找
- <a href="###" class="bold" onclick="window.clipboardData.setData('text','{$boardurl}viewthread.php?tid=$tid&page=$page#pid$post[pid]')">#$post[number]</a>
复制代码
替换为
- <span class="bold">
- <!--{if $post['number']==1}-->
- <a href="###" class="bold" onclick="window.clipboardData.setData('text','{$boardurl}viewthread.php?tid=$tid&page=$page#pid$post[pid]')"><font color=blue>【楼主】</font></a>
- <!--{elseif $post['number']==2}-->
- <a href="###" class="bold" onclick="window.clipboardData.setData('text','{$boardurl}viewthread.php?tid=$tid&page=$page#pid$post[pid]')"><font color=blue>【沙发】</font></a>
- <!--{elseif $post['number']==3}-->
- <a href="###" class="bold" onclick="window.clipboardData.setData('text','{$boardurl}viewthread.php?tid=$tid&page=$page#pid$post[pid]')"><font color=blue>【板凳】</font></a>
- <!--{elseif $post['number']==4}-->
- <a href="###" class="bold" onclick="window.clipboardData.setData('text','{$boardurl}viewthread.php?tid=$tid&page=$page#pid$post[pid]')"><font color=blue>【地毯】</font></a>
- <!--{else}-->
- <a href="###" class="bold" onclick="window.clipboardData.setData('text','{$boardurl}viewthread.php?tid=$tid&page=$page#pid$post[pid]')"><font color=blue>【第 $post['number'] 楼】</font></a>
- <!--{/if}-->
- </span>
复制代码 |