<?php
/**
 * The config file of user module of ZDOO.
 *
 * @copyright   Copyright 2009-2018 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv12.html)
 * @author      Chunsheng Wang <chunsheng@cnezsoft.com>
 * @package     user 
 * @version     $Id: config.php 4029 2016-08-26 06:50:41Z liugang $
 * @link        http://www.zdoo.com
 */
$config->user->require = new stdclass();
$config->user->require->create = 'account,realname,join';
$config->user->require->edit   = 'realname';

$config->user->retainAccount = array('guest', 'default');

$config->user->batchCreateCount = 10;

$config->user->defaultGroup = 0;

$config->user->templateFields   = array('account', 'realname', 'password', 'gender', 'dept', 'role', 'join', 'email');
$config->user->excelCustomWidth = array('account' => 15, 'realname' => 15, 'password' => 15, 'gender' => 10, 'dept' => 15, 'role' => 15, 'email' => 15);
$config->user->listFields       = array('gender', 'dept', 'role');

$config->user->requireCompany = false;

if(!isset($config->excel)) $config->excel = new stdclass();
if(!isset($config->excel->dateFields)) $config->excel->dateFields = array();
$config->excel->dateFields[] = 'join';
