HEX
Server: nginx/1.22.1
System: Linux VM-16-9-centos 3.10.0-1160.99.1.el7.x86_64 #1 SMP Wed Sep 13 14:19:20 UTC 2023 x86_64
User: www (1001)
PHP: 7.3.31
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/oa.sanjiangapp.com/app/crm/leads/config.php
<?php
/**
 * The config file of leads 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      Tingting Dai <daitingting@xirangit.com>
 * @package     leads 
 * @version     $Id$
 * @link        http://www.zdoo.com
 */
$config->leads = new stdclass();
$config->leads->require = new stdclass();
$config->leads->require->create = 'realname, origin';
$config->leads->require->edit   = 'realname, origin';

$config->leads->applyLimitList['5']   = 5;
$config->leads->applyLimitList['10']  = 10;
$config->leads->applyLimitList['20']  = 20;
$config->leads->applyLimitList['30']  = 30;
$config->leads->applyLimitList['40']  = 40;
$config->leads->applyLimitList['50']  = 50;
$config->leads->applyLimitList['60']  = 60;
$config->leads->applyLimitList['70']  = 70;
$config->leads->applyLimitList['80']  = 80;
$config->leads->applyLimitList['90']  = 90;
$config->leads->applyLimitList['100'] = 100;

$config->leads->applyRemainList['5']  = 5;
$config->leads->applyRemainList['10'] = 10;
$config->leads->applyRemainList['15'] = 15;
$config->leads->applyRemainList['20'] = 20;
$config->leads->applyRemainList['25'] = 25;
$config->leads->applyRemainList['30'] = 30;

$config->leads->editor = new stdclass();
$config->leads->editor->assign = array('id' => 'comment', 'tools' => 'simple');
$config->leads->editor->ignore = array('id' => 'comment', 'tools' => 'simple');
$config->leads->editor->view   = array('id' => 'comment,lastComment', 'tools' => 'simple');

global $lang, $app;
$app->loadLang('contact', 'crm');
$config->leads->search['module'] = 'leads';

$config->leads->search['fields']['realname']      = $lang->contact->realname;
$config->leads->search['fields']['origin']        = $lang->contact->origin;
$config->leads->search['fields']['company']       = $lang->contact->company;
$config->leads->search['fields']['phone']         = $lang->contact->phone;
$config->leads->search['fields']['mobile']        = $lang->contact->mobile;
$config->leads->search['fields']['email']         = $lang->contact->email;
$config->leads->search['fields']['qq']            = $lang->contact->qq;
$config->leads->search['fields']['contactedDate'] = $lang->contact->contactedDate;
$config->leads->search['fields']['nextDate']      = $lang->contact->nextDate;
$config->leads->search['fields']['ignoredBy']     = $lang->leads->ignoredBy;
$config->leads->search['fields']['id']            = $lang->contact->id;

$config->leads->search['params']['realname']      = array('operator' => 'include', 'control' => 'input', 'values' => '');
$config->leads->search['params']['origin']        = array('operator' => 'include', 'control' => 'input', 'values' => '');
$config->leads->search['params']['company']       = array('operator' => 'include', 'control' => 'input', 'values' => '');
$config->leads->search['params']['phone']         = array('operator' => 'include', 'control' => 'input', 'values' => '');
$config->leads->search['params']['mobile']        = array('operator' => 'include', 'control' => 'input', 'values' => '');
$config->leads->search['params']['email']         = array('operator' => 'include', 'control' => 'input', 'values' => '');
$config->leads->search['params']['qq']            = array('operator' => 'include', 'control' => 'input', 'values' => '');
$config->leads->search['params']['contactedDate'] = array('operator' => '>=', 'control' => 'input',  'values' => '', 'class' => 'date');
$config->leads->search['params']['nextDate']      = array('operator' => '>=', 'control' => 'input',  'values' => '', 'class' => 'date');
$config->leads->search['params']['ignoredBy']     = array('operator' => '=',  'control' => 'select', 'values' => 'users');
$config->leads->search['params']['id']            = array('operator' => '=',  'control' => 'input',  'values' => '');