|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
打开 /include/arc.archives.class.php 文件
找到
- $this->PreNext['pre']="上一篇:{$preRow['title']}";
在其上面添加
- $preRow['title']=cn_substr($preRow['title'],30);
找到
- $this->PreNext['next']="下一篇:{$nextRow['title']}";
在其上面添加
- $nextRow['title']=cn_substr($nextRow['title'],30);
解析:只需修改后来添加代码中的30即可,30的意思就是30个字节,GBK的话是15个汉字,UTF8的话是10个汉字。这个可以根据实际情况,自行设定。
|
|