* change name and adjust code format for custom fields.

This commit is contained in:
chenfeiCF
2016-04-29 15:23:15 +08:00
parent 0fc6a0da81
commit 38dbf6e28a
30 changed files with 64 additions and 63 deletions
+2 -2
View File
@@ -445,7 +445,7 @@ class user extends control
/* Set custom. */
foreach(explode(',', $this->config->user->customBatchCreateFields) as $field) $customFields[$field] = $this->lang->user->$field;
$this->view->customFields = $customFields;
$this->view->showFields = $this->config->user->custom->batchcreate;
$this->view->showFields = $this->config->user->custom->batchCreateFields;
$title = $this->lang->company->common . $this->lang->colon . $this->lang->user->batchCreate;
$position[] = $this->lang->user->batchCreate;
@@ -518,7 +518,7 @@ class user extends control
/* Set custom. */
foreach(explode(',', $this->config->user->customBatchEditFields) as $field) $customFields[$field] = $this->lang->user->$field;
$this->view->customFields = $customFields;
$this->view->showFields = $this->config->user->custom->batchedit;
$this->view->showFields = $this->config->user->custom->batchEditFields;
$this->view->title = $this->lang->company->common . $this->lang->colon . $this->lang->user->batchEdit;
$this->view->position[] = $this->lang->user->batchEdit;