zoukankan
html css js c++ java
帖子内容页面左侧信息栏修改教程
有很多童鞋问我下列图片中红框中 主题,听众,积分怎么修改城其他的?这里是可以的修改的,来我们来看下修改的过程。
<ignore_js_op>
1.我们首先知道这块代码文件在那里 emplatedefaultforumviewthread_node.htm
<div class="tns xg2">
<table cellspacing="0" cellpadding="0">
<th><p><a href="home.php?mod=space&uid=$post[authorid]&do=thread&view=me&from=space" class="xi2"><!--{echo dnumber($post[threads])}--></a></p>{lang threads}</th>
<th>
<!--{if helper_access::check_module('follow')}-->
<p><a href="home.php?mod=follow&do=follower&uid=$post[authorid]" class="xi2"><!--{echo dnumber($post[follower])}--></a></p>{lang follower}
<!--{else}-->
<p><a href="home.php?mod=space&uid=$post[authorid]&do=friend&view=me" class="xi2"><!--{echo dnumber($post[friends])}--></a></p>{lang friends}
<!--{/if}-->
</th>
<td><p><a href="home.php?mod=space&uid=$post[authorid]&do=profile" class="xi2"><!--{echo dnumber($post[credits])}--></a></p>{lang credits}</td>
</table>
</div>
复制代码
2.给你们解释下对应代码是什么
$post[threads]=主题
$post[follower]=听众数量
$post[credits]=总积分
3.这里如果想修改字的话 在语言包文件内 sourcelanguage
4.这里我们举个列子修改下
修改主题数为帖子数
<th><p><a href="home.php?mod=space&uid=$post[authorid]&do=thread&view=me&from=space" class="xi2"><!--{echo dnumber($post[posts])}--></a></p>{lang posts}</th>
复制代码
这里posts为帖子数,lang posts为语言 这里请注意修改的时候请结合语言包来修改。
修改总积分为金币
<td><p><a href="home.php?mod=space&uid=$post[authorid]&do=profile" class="xi2"><!--{echo dnumber($post[extcredits2])}--></a></p>$_G['setting']['extcredits'][2]['title']</td>
复制代码
这里extcredits2 为扩展积分 默认程序显示的为金钱 $_G['setting']['extcredits'][2]['title'] 这里的2为扩展积分 比如extcredits1 extcredits2 extcredits3 等等
如图:
<ignore_js_op>
大家手动的试试呗,有问题可以楼下跟帖,这里注意修改完成以后 后台更新下缓存,
特别注意修改之前请备份好原文件
查看全文
相关阅读:
50.Ext_数字输入框_Ext.form.NumberField
49.Ext.form.TextField()基本用法
48.EXt.Data.JsonReader()
47. Ext.form.Field.prototype.msgTarget
46. Ext中namespace的作用(转)
45. ExtJS ComboBox 下拉列表详细用法
44. Ext信息提示对话框
43. ExtJs控件属性配置详细
42.extjs Combobox动态加载数据问题,mode:local 还是remote
堆叠顺序
原文地址:https://www.cnblogs.com/alibabaidu/p/3534085.html
最新文章
crm工作机会实体
潜水JVM
采用大杀招QEMU调试Linux内核代码
hdu 4107当卡段树
自定义QT事件
qt软键盘输入
Qt全局热键(windows篇)
Q_INIT_RESOURCE宏
QT软键盘
QtSpeech会让Qt说话
热门文章
*.pro、*.pri、*.prf、*.prl等四种文件
QT显示输出及其桌面
QT线程(二)---线程同步
QT线程(一):线程类
NeHe OpenGL教程 第二十九课:Blt函数
NeHe OpenGL教程 第二十八课:贝塞尔曲面
NeHe OpenGL教程 第二十七课:影子
NeHe OpenGL教程 第二十六课:反射
NeHe OpenGL教程 第二十五课:变形
51. ExtJs4之Ext.util.JSON编码和解码JSON对象
Copyright © 2011-2022 走看看