|
2# 阿天
dz7\templates\default\discuz.htm 如果您的是原汁原味,那就在 165行(有裝xshow的大約在167行)- <a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost" title="{echo cutstr($forum[lastpost][subject], 30)} {lang forum_lastpost_by} {if $forum['lastpost']['author']}$forum['lastpost']['authorusername']{else}{lang anonymous}{/if} ">$forum[lastpost][dateline]</a>
複製代碼 替換為- <a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost" title="{echo cutstr($forum[lastpost][subject], 30)} {lang forum_lastpost_by} {if $forum['lastpost']['author']}$forum['lastpost']['authorusername']{else}{lang anonymous}{/if} ">{echo cutstr($forum[lastpost][subject], 32)}</a>
複製代碼 僅是將最後那段改成 {echo cutstr($forum[lastpost][subject], 32)} 就行了
補充:後面那數字「32」可以視您想顯示的字數下去調整哦!(所以不一定得32,看您想秀出多少個字...) |
|