12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <?php
- return array
- (
- 'list' => array
- (
- 'field' => array
- (
- 'name',
- 'key',
- 'type',
- 'method',
- 'cdate',
- 'status' => array
- (
- 'type' => 'switch',
- 'show' => '{status}',
- 'active_value' => 1,
- 'inactive_value' => 2,
- ),
- ),
- 'button' => array
- (
- '新增' => 'add',
- ),
- 'data_button' => array
- (
- '设置' => 'edit',
- ),
- 'search' => array
- (
- 'name',
- 'key',
- 'status',
- )
- ),
- 'update' => array
- (
- 'tab' => array
- (
- '基本设置' => 'name,key,content,type,msg/template_code',
- '功能设置' => 'method,msg/template_sms,msg/template_email',
- ),
- 'field' => array
- (
- 'name',
- 'key',
- 'content' => array
- (
- 'type' => 'textarea',
- 'autosize' => array('minRows' => 2),
- 'desc' => '变量用大括号包含即可,如:{name}',
- ),
- 'type' => 'radio',
- 'msg/template_code' => array
- (
- 'name' => '验证码设置',
- 'where' => array('template_id' => 'id'),
- 'default' => array(array()),
- # 默认使用表格形式展示,可以改成每行展示
- 'type' => 'line',
- ),
-
- 'method' => 'checkbox',
- 'msg/template_sms' => array
- (
- 'name' => '短信设置',
- 'where' => array('template_id' => 'id'),
- 'default' => array(array()),
- # 默认使用表格形式展示,可以改成每行展示
- 'type' => 'line',
- ),
- 'msg/template_email' => array
- (
- 'name' => '邮件设置',
- 'where' => array('template_id' => 'id'),
- 'default' => array(array()),
- # 默认使用表格形式展示,可以改成每行展示
- 'type' => 'line',
- ),
- ),
- 'control' => array
- (
- 'msg/template_code' => array
- (
- 'type' => 2,
- ),
- 'msg/template_sms' => array
- (
- 'method' => array('sms'),
- ),
- 'msg/template_email' => array
- (
- 'method' => array('email'),
- ),
- ),
- ),
- );
|