Smarty接收后截断操作
如php
const login_info="this is my blog,you are tight";
html接收太长,显示10个,后面用....代替
{$smarty.const.login_info | truncate:10:"...."}
如php
const login_info="this is my blog,you are tight";
html接收太长,显示10个,后面用....代替
{$smarty.const.login_info | truncate:10:"...."}