开发人员不在我研究了好长时间才压研究出来的。
修改方法 修改默认模板
template\default\forum\viewthread_pay.htm
打开这个文件在这个文件的最上面增加一下代码就可以实现你说的效果- <div class="typeoption">
- <!--{if $threadsortshow['optionlist'] == 'expire'}-->
- {lang has_expired}
- <!--{else}-->
- <table summary="{lang threadtype_option}" cellpadding="0" cellspacing="0" class="cgtl mbm">
- <caption>$_G[forum][threadsorts][types][$_G[forum_thread][sortid]]</caption>
- <tbody>
- <!--{loop $threadsortshow['optionlist'] $option}-->
- <!--{if $option['type'] != 'info'}-->
- <tr>
- <th>$option[title]:</th>
- <td><!--{if $option['value']}-->$option[value] $option[unit]<!--{else}-->-<!--{/if}--></td>
- </tr>
- <!--{/if}-->
- <!--{/loop}-->
- </tbody>
- </table>
- <!--{/if}-->
- </div>
复制代码
懒人直接覆盖
付费主题显示分类信息教程.zip
(1.79 KB, 下载次数: 6)
|