请选择 进入手机版 | 继续访问电脑版

【悟空资源网】

 找回密码
 注册

QQ登录

dz论坛限制列表帖子标题字数

[复制链接]
发表于 2021-3-1 21:02:28 | 显示全部楼层 |阅读模式

1.jpg
template/default/forum
forumdisplay_list.htm 文件。
161行左右。

  1. <a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra"$thread[highlight]{if $thread['isgroup'] == 1 || $thread['forumstick']} target="_blank"{else} onclick="atarget(this)"{/if} class="s xst">$thread[subject]</a>
  2.                                                                                
复制代码
改成

  1. <a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra"$thread[highlight]{if $thread['isgroup'] == 1 || $thread['forumstick']} {else} onclick="atarget(this)"{/if} class="s xst" target="_blank">{echo cutstr($thread[subject],60,'')}</a>
复制代码
60是字符 自己看自己模版多少比较合适。
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|【悟空资源网】 ( 桂ICP备2022002215号-1 )

GMT+8, 2024-3-29 04:31 , Processed in 0.064889 second(s), 28 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2012 Comsenz Inc. Template by A3cn

返回顶部