12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <?php
- return array
- (
- # 表名
- 'name' => 'config',
- # 显示给用户看的名称
- 'lang' => '基本配置',
- 'order' => 1,
- # 数据结构
- 'struct' => array
- (
- 'id' => array
- (
- 'type' => 'int-11',
- 'name' => '系统ID',
- 'default' => '',
- 'desc' => '',
- 'match' => 'is_numeric',
- ),
-
- 'hr1' => array
- (
- 'name' => '通用设置',
- 'class' => '',//本项必须填写
- 'attr' => '',
- ),
-
-
- 'name' => array
- (
- 'type' => 'varchar-32',
- 'name' => '站点名称',
- 'default' => '',
- 'desc' => '请输入站点名称',
- 'match' => 'is_string',
- 'update' => 'text',
- ),
-
- 'info' => array
- (
- 'type' => 'text-255',
- 'name' => '站点名称',
- 'default' => '',
- 'desc' => '请输入站点名称',
- 'match' => 'option',
- 'update' => 'textarea',
- ),
- 'logo' => array
- (
- 'type' => 'varchar-150',
- 'name' => 'logo图片',
- 'default' => '',
- 'desc' => 'logo图片',
- 'match' => 'option',
- 'update' => 'image',
- 'key' => '1',
- 'place' => '150',
- ),
- 'foot' => array
- (
- 'type' => 'text-255',
- 'name' => '底部联系信息',
- 'default' => '',
- 'desc' => '底部联系信息',
- 'match' => 'option',
- 'update' => 'editor',
- ),
- 'cdate' => array
- (
- 'type' => 'int-11',
- 'name' => '录入时间',
- 'match' => array('is_numeric', time()),
- 'desc' => '',
- # 只有insert时才生效
- 'insert' => true,
- ),
- ),
- 'default' => array
- (
- 'col' => 'name,info,cdate',
- 'value' => array
- (
- '"读道文旅在线服务","读道文旅在线服务",' . time(),
- ),
- ),
- 'manage' => array
- (
- # 后台管理不要列表页
- 'list' => 'update',
- ),
- );
|