XM外汇平台

0.18 Point
. 欧元点差

0.45 Point
. 黄金点差

平台特点:

FCA监管,银联出入金,888杠杆,新客户赠50美金试用金.

[网站专区] DiscuZ!X32论坛内容页标题居中显示

[复制链接]
admin 发表于 2016-2-5 01:52:56 | 显示全部楼层 |阅读模式
查看: 5796|回复: 0
DiscuZ论坛内容页标题居中显示.jpg


找到\template\default\forum\viewthread.htm文件Ctrl+F查找下面这段代码红色字体
<td class="plc ptm pbn vwthd">
修改成这样:
<td align="center" class="plc ptm pbn vwthd">
保存上传,更新缓存!





原文件代码:
<td class="plc ptm pbn vwthd">

                                <!--{if !IS_ROBOT}-->


                                        <div class="y">


                                                <!--{if $post['invisible'] == 0}--><a href="forum.php?mod=viewthread&action=printable&tid=$_G[tid]" title="{lang thread_printable}" target="_blank"><img src="{IMGDIR}/print.png" alt="{lang thread_printable}" class="vm" /></a>


                                                <!--{/if}-->


                                                <a href="forum.php?mod=redirect&goto=nextoldset&tid=$_G[tid]" title="{lang last_thread}"><img src="{IMGDIR}/thread-prev.png" alt="{lang last_thread}" class="vm" /></a>


                                                <a href="forum.php?mod=redirect&goto=nextnewset&tid=$_G[tid]" title="{lang next_thread}"><img src="{IMGDIR}/thread-next.png" alt="{lang next_thread}" class="vm" /></a>                                        </div>


                                <!--{/if}-->


                                <!--{if $_G['setting']['close_leftinfo_userctrl']}-->


                                        <span class="xg1 side_btn">


                                        <!--{if !$close_leftinfo}-->


                                                <a title="{lang collapse_the_left}" class="btn_s_close" href="javascript:;"><img src="{IMGDIR}/control_l.png" alt="{lang collapse_the_left}" class="vm" /></a>


                                        <!--{else}-->


                                                <a title="{lang open_the_left}" class="btn_s_open" href="javascript:;"><img src="{IMGDIR}/control_r.png" alt="{lang open_the_left}" class="vm" /></a>


                                        <!--{/if}-->
                                        </span>


                                <!--{/if}-->


                                <h1 class="ts">


                                        <!--{if $_G['forum_thread']['typeid'] && $_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}-->


                                                <!--{if !IS_ROBOT && ($_G['forum']['threadtypes']['listable'] || $_G['forum']['status'] == 3)}-->


                                                        <a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=typeid&typeid=$_G[forum_thread][typeid]">[{$_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}]</a>


                                                <!--{else}-->


                                                        [{$_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}]


                                                <!--{/if}-->


                                        <!--{/if}-->


                                        <!--{if $threadsorts && $_G['forum_thread']['sortid']}-->


                                                <a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$_G[forum_thread][sortid]">[{$_G['forum']['threadsorts']['types'][$_G['forum_thread']['sortid']]}]</a>


                                        <!--{/if}-->


                                        <span id="thread_subject">$_G[forum_thread][subject]</span>


                                </h1>


                                <span class="xg1">


                                        <!--{if $_G['forum_thread'][displayorder] == -2}-->({lang moderating})


                                        <!--{elseif $_G['forum_thread'][displayorder] == -3}-->({lang have_ignored})


                                        <!--{elseif $_G['forum_thread'][displayorder] == -4}-->({lang draft})


                                                <!--{if $post['first'] && $post['invisible'] == -3}-->


                                                        <a class="psave" href="forum.php?mod=misc&action=pubsave&tid=$_G[tid]">{lang published}</a>


                                                <!--{/if}-->


                                        <!--{/if}-->


                                        <!--{if $_G['setting']['threadhidethreshold'] && $_G['forum_thread']['hidden'] >= $_G['setting']['threadhidethreshold']}-->                                                


                                                <!--{if $_G['forum_thread']['authorid'] == $_G['uid']}--><a class="psave" id="hiderecover" title="{lang hiderecover_tips}" href="forum.php?mod=misc&action=hiderecover&tid=$_G[tid]&formhash={FORMHASH}">{lang hidden}</a><!--{else}-->({lang hidden})<!--{/if}-->


                                                


                                        <!--{/if}-->


                                        <!--{if $_G['forum_thread']['recommendlevel']}-->


                                                 <img src="{IMGDIR}/recommend_$_G['forum_thread']['recommendlevel'].gif" alt="" title="{lang thread_recommend} $_G['forum_thread'][recommends]" />


                                        <!--{/if}-->


                                        <!--{if $_G['forum_thread'][heatlevel]}-->


                                                 <img src="{IMGDIR}/hot_$_G['forum_thread'][heatlevel].gif" alt="" title="{lang heats}: $_G['forum_thread']['heats']" />


                                        <!--{/if}-->


                                        <!--{if $_G['forum_thread']['closed'] == 1}-->


                                                 <img src="{IMGDIR}/locked.gif" alt="{lang close}" title="{lang close}" class="vm" />


                                        <!--{/if}-->


                                        <a href="forum.php?mod=viewthread&tid=$_G[tid]$fromuid" {if $fromuid}title="{lang share_url_copy_comment}"{/if}>[{lang share_url_copy}]</a>                                </span>


                                <!--{hook/viewthread_title_extra}-->                  </td>




回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ| 小黑屋|手机版|Archiver|【领汇网】

GMT+8, 2026-3-23 00:36 , Processed in 0.200435 second(s), 26 queries .

【领汇网】© 小小网站领汇人生点滴.           ICP证:粤ICP备15007435号

© 2019-2020 lh321.com.版权所有  DZ! X32

快速回复 返回顶部 返回列表