v1.2.0 Released
This commit is contained in:
@@ -242,12 +242,6 @@ class AdminEmployeesControllerCore extends AdminController
|
||||
'name' => 'lastname',
|
||||
'required' => true
|
||||
),
|
||||
array(
|
||||
'type' => 'html',
|
||||
'name' => 'employee_avatar',
|
||||
'html_content' => '<div id="employee-thumbnail"><a href="http://www.prestashop.com/forums/index.php?app=core&module=usercp" target="_blank" style="background-image:url('.$obj->getImage().')"></a></div>
|
||||
<div class="alert alert-info">'.sprintf($this->l('Your avatar in PrestaShop 1.6.x is your profile picture on %1$s. To change your avatar, log in to PrestaShop.com with your email %2$s and follow the on-screen instructions.'), '<a href="http://www.prestashop.com/forums/index.php?app=core&module=usercp" class="alert-link" target="_blank">PrestaShop.com</a>', $obj->email).'</div>',
|
||||
),
|
||||
array(
|
||||
'type' => 'text',
|
||||
'class'=> 'fixed-width-xxl',
|
||||
@@ -265,15 +259,7 @@ class AdminEmployeesControllerCore extends AdminController
|
||||
'type' => 'change-password',
|
||||
'label' => $this->l('Password'),
|
||||
'name' => 'passwd'
|
||||
);
|
||||
|
||||
if (Tab::checkTabRights(Tab::getIdFromClassName('AdminModulesController'))) {
|
||||
$this->fields_form['input'][] = array(
|
||||
'type' => 'prestashop_addons',
|
||||
'label' => 'PrestaShop Addons',
|
||||
'name' => 'prestashop_addons',
|
||||
);
|
||||
}
|
||||
);
|
||||
} else {
|
||||
$this->fields_form['input'][] = array(
|
||||
'type' => 'password',
|
||||
@@ -286,7 +272,7 @@ class AdminEmployeesControllerCore extends AdminController
|
||||
$this->fields_form['input'] = array_merge($this->fields_form['input'], array(
|
||||
array(
|
||||
'type' => 'switch',
|
||||
'label' => $this->l('Subscribe to PrestaShop newsletter'),
|
||||
'label' => $this->l('Subscribe to Qloapps newsletter'),
|
||||
'name' => 'optin',
|
||||
'required' => false,
|
||||
'is_bool' => true,
|
||||
@@ -302,7 +288,7 @@ class AdminEmployeesControllerCore extends AdminController
|
||||
'label' => $this->l('No')
|
||||
)
|
||||
),
|
||||
'hint' => $this->l('PrestaShop can provide you with guidance on a regular basis by sending you tips on how to optimize the management of your store which will help you grow your business. If you do not wish to receive these tips, you can disable this option.')
|
||||
'hint' => $this->l('Qloapps can provide you with guidance on a regular basis by sending you tips on how to optimize the management of your store which will help you grow your business. If you do not wish to receive these tips, you can disable this option.')
|
||||
),
|
||||
array(
|
||||
'type' => 'default_tab',
|
||||
|
||||
Reference in New Issue
Block a user