摘要:
如php const login_info="this is my blog,you are tight"; html接收太长,显示10个,后面用....代替 {$smarty.const.login_info | truncate:10:"...."} 阅读全文
摘要:
如在php中const login_time=time(); 在html中接收 {$smarty.const.login_time | date.format: '%Y-%m-%d'} 就会显示出时间的格式了; 阅读全文