<?php 
 return array (
  'base' => 
  array (
    'id' => 
    array (
      'name' => 'id',
      'type' => 'hidden',
      'size' => 10,
      'zh' => '编号',
    ),
    'username' => 
    array (
      'name' => 'username',
      'type' => '',
      'size' => 30,
      'arrRules' => 
      array (
        0 => 
        array (
          'type' => 'require',
          'msg' => '用户名必须填写',
        ),
        1 => 
        array (
          'type' => 'unique',
        ),
        2 => 
        array (
          'type' => 'reg',
          'reg' => '/\\w{3,6}/i',
          'msg' => '用户名不合法',
        ),
      ),
      'tips' => '用户名为字符',
      'zh' => '用户名',
    ),
    'password' => 
    array (
      'name' => 'password',
      'type' => 'password',
      'size' => 30,
      'arrRules' => 
      array (
        0 => 
        array (
          'type' => 'require',
          'msg' => '密码必须填写',
        ),
      ),
      'zh' => '密码',
    ),
    'email' => 
    array (
      'name' => 'email',
      'type' => 'text',
      'size' => 30,
      'arrRules' => 
      array (
        0 => 
        array (
          'type' => 'require',
          'msg' => '邮箱必须填写',
        ),
        1 => 
        array (
          'type' => 'email',
          'msg' => '邮箱格式不正确',
        ),
      ),
      'zh' => '邮箱',
    ),
    'avatar' => 
    array (
      'name' => 'avatar',
      'type' => 'image',
      'size' => 30,
      'zh' => '头像',
    ),
    'birthday' => 
    array (
      'name' => 'birthday',
      'type' => 'date',
      'arrRules' => 
      array (
        0 => 
        array (
          'type' => 'require',
          'msg' => '密码必须填写',
        ),
      ),
      'zh' => '生日',
    ),
    'status' => 
    array (
      'name' => 'status',
      'type' => 'select',
      'size' => 10,
      'rawOption' => '0:禁用,1:正常,2:审核中',
      'options' => 
      array (
        0 => '禁用',
        1 => '正常',
        2 => '审核中',
      ),
      'arrRules' => 
      array (
        0 => 
        array (
          'type' => 'require',
        ),
      ),
      'tips' => '禁用则不显示',
      'zh' => '状态',
      'show_text' => 'status_text',
    ),
    'create_time' => 
    array (
      'name' => 'create_time',
      'type' => 'time',
      'zh' => '创建时间',
    ),
    'flag' => 
    array (
      'name' => 'flag',
      'type' => 'select',
      'size' => 30,
      'function' => 'tpl_function=img()',
      'rawOption' => 'function=flag_options()',
      'options' => 
      array (
        'function' => 'flag_options()',
      ),
      'arrRules' => 
      array (
        0 => 
        array (
          'type' => 'require',
        ),
      ),
      'zh' => '标记',
      'show_text' => 'flag_text',
    ),
    'intro' => 
    array (
      'name' => 'intro',
      'type' => 'editor',
      'row' => 10,
      'zh' => '用户介绍',
    ),
    'resume' => 
    array (
      'name' => 'resume',
      'type' => 'file',
      'size' => 30,
      'zh' => '简历',
    ),
  ),
  'edit' => 
  array (
    'id' => 
    array (
    ),
    'username' => 
    array (
    ),
    'password' => 
    array (
    ),
    'email' => 
    array (
    ),
    'avatar' => 
    array (
    ),
    'birthday' => 
    array (
    ),
    'status' => 
    array (
    ),
    'flag' => 
    array (
    ),
    'intro' => 
    array (
    ),
    'resume' => 
    array (
    ),
  ),
  'list' => 
  array (
    'id' => 
    array (
    ),
    'username' => 
    array (
    ),
    'email' => 
    array (
    ),
    'birthday' => 
    array (
    ),
    'status' => 
    array (
    ),
    'create_time' => 
    array (
    ),
  ),
  'search' => 
  array (
    'id' => 
    array (
    ),
    'username' => 
    array (
    ),
    'email' => 
    array (
    ),
    'birthday' => 
    array (
    ),
    'status' => 
    array (
    ),
  ),
  'add' => 
  array (
    'username' => 
    array (
    ),
    'password' => 
    array (
    ),
    'email' => 
    array (
    ),
    'avatar' => 
    array (
    ),
    'birthday' => 
    array (
    ),
    'status' => 
    array (
    ),
    'flag' => 
    array (
    ),
    'intro' => 
    array (
    ),
    'resume' => 
    array (
    ),
  ),
  'tableInfo' => 
  array (
    'sort' => 
    array (
      0 => 'add',
      1 => 'export',
      2 => 'showMenu',
    ),
    'action' => '编辑:id,查看用户浏览记录:id',
    'property' => 'lock-birthday',
    'title' => '用户表',
    'name' => 'user',
  ),
);