{$val['fieldorder']} |
{$val['fieldname']} |
{php}
switch($val['fieldname']){
case 'id':
echo 'id';
break;
case 'name':
echo '分类名称';
break;
case 'sortid':
echo '上级id';
break;
case 'idpath':
echo '分类路径';
break;
case 'order':
echo '分类排序';
break;
default:
echo getformconfig(0,$modelid,0,$val['fieldname'],'aliases');
break;
}
{/php} |
{$val['fieldtype']} |
{$val['fieldlength']} |
{php $sysarray=array('id','name','pid','idpath','order');}
{if in_array($val['fieldname'],$sysarray) }
√ |
系统字段禁止配置 |
{else}
X |
表单配置 |
{/if}
{/foreach}