[+] BO : #PSFV-94 - AdminContact is now an AdminController
This commit is contained in:
@@ -25,10 +25,7 @@
|
|||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
include_once(_PS_ADMIN_DIR_.'/../classes/AdminTab.php');
|
class AdminContactController extends AdminController
|
||||||
include_once(_PS_ADMIN_DIR_.'/tabs/AdminPreferences.php');
|
|
||||||
|
|
||||||
class AdminContact extends AdminPreferences
|
|
||||||
{
|
{
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
@@ -93,12 +90,13 @@ class AdminContact extends AdminPreferences
|
|||||||
if (!isset($fields[$key]))
|
if (!isset($fields[$key]))
|
||||||
$fields[$key] = $formFields[$key];
|
$fields[$key] = $formFields[$key];
|
||||||
|
|
||||||
$this->optionsList = array(
|
$this->options = array(
|
||||||
'general' => array(
|
'general' => array(
|
||||||
'title' => $this->l('Contact details'),
|
'title' => $this->l('Contact details'),
|
||||||
'icon' => 'tab-contact',
|
'icon' => 'tab-contact',
|
||||||
'class' => 'width3',
|
'class' => 'width3',
|
||||||
'fields' => $fields,
|
'fields' => $fields,
|
||||||
|
'submit' => array('title' => $this->l(' Save '), 'class' => 'button')
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user