// update preferences tab

This commit is contained in:
Sarah Lorenzini
2013-08-01 16:26:02 +02:00
parent 5defc39def
commit 680497f1e3
9 changed files with 129 additions and 156 deletions
@@ -30,6 +30,7 @@ class AdminGeolocationControllerCore extends AdminController
{
parent::__construct();
$this->bootstrap = true;
$this->fields_options = array(
'geolocationConfiguration' => array(
'title' => $this->l('Geolocation by IP address'),
@@ -37,7 +38,7 @@ class AdminGeolocationControllerCore extends AdminController
'fields' => array(
'PS_GEOLOCATION_ENABLED' => array(
'title' => $this->l('Geolocation by IP address'),
'desc' => $this->l('This option allows you, among other things, to restrict access to your shop for certain countries. See below.'),
'hint' => $this->l('This option allows you, among other things, to restrict access to your shop for certain countries. See below.'),
'validation' => 'isUnsignedId',
'cast' => 'intval',
'type' => 'bool'