Smarty自动生成下拉菜单,并自动选择值的写法

<%html_options options=$stateOption selected=$filter.filter_replacement%>

$stateOption在程序端的写法:MooView::set ('stateOption', array('CHECK'=>'审核', 'BAN'=>'禁止', 'FILTER'=>'过滤'));

发表评论?

0 条评论。

发表评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据