- user: remove unnecessary code which has been included in the password widget.
This commit is contained in:
@@ -10,7 +10,6 @@ declare(strict_types=1);
|
||||
*/
|
||||
namespace zin;
|
||||
|
||||
jsVar('passwordStrengthList', $lang->user->passwordStrengthList);
|
||||
jsVar('batchCreateCount', $config->user->batchCreate);
|
||||
|
||||
$visibleFields = array();
|
||||
@@ -27,7 +26,6 @@ foreach(explode(',', $config->user->create->requiredFields) as $field)
|
||||
|
||||
formBatchPanel
|
||||
(
|
||||
h::import($config->webRoot . 'js/md5.js', 'js'),
|
||||
set::headingClass('user-batchcreate-heading'),
|
||||
set::title($lang->user->batchCreate),
|
||||
on::change('[data-name="new"]', 'toggleNew'),
|
||||
|
||||
@@ -18,7 +18,6 @@ $items['visions']['items'] = $visionList;
|
||||
|
||||
formBatchPanel
|
||||
(
|
||||
h::import($config->webRoot . 'js/md5.js', 'js'),
|
||||
set::customFields(array('list' => $customFields, 'show' => explode(',', $showFields), 'key' => 'batchEditFields')),
|
||||
set::title($lang->user->batchEdit),
|
||||
set::mode('edit'),
|
||||
|
||||
@@ -10,9 +10,6 @@ declare(strict_types=1);
|
||||
*/
|
||||
namespace zin;
|
||||
|
||||
import('/js/md5.js', 'js');
|
||||
|
||||
jsVar('passwordStrengthList', $lang->user->passwordStrengthList);
|
||||
jsVar('roleGroup', $roleGroup);
|
||||
|
||||
$visionList = $this->user->getVisionList();
|
||||
|
||||
@@ -19,7 +19,6 @@ modalHeader
|
||||
|
||||
formPanel
|
||||
(
|
||||
h::import($config->webRoot . 'js/md5.js', 'js'),
|
||||
formGroup
|
||||
(
|
||||
set::label($lang->user->verifyPassword),
|
||||
|
||||
@@ -10,10 +10,6 @@ declare(strict_types=1);
|
||||
*/
|
||||
namespace zin;
|
||||
|
||||
import('/js/md5.js', 'js');
|
||||
|
||||
jsVar('passwordStrengthList', $lang->user->passwordStrengthList);
|
||||
|
||||
$contacts = array();
|
||||
if(!empty($config->user->contactField))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user