//added bulk action for enable or disable item

This commit is contained in:
vAugagneur
2012-06-04 12:00:09 +00:00
parent 79d7996c65
commit b9e27705df
11 changed files with 147 additions and 37 deletions
@@ -39,14 +39,14 @@ class AdminCountriesControllerCore extends AdminController
$this->requiredDatabase = true;
$this->context = Context::getContext();
$this->bulk_actions = array('delete' => array(
'text' => $this->l('Delete selected'),
'confirm' => $this->l('Delete selected items?')),
'affectzone' => array(
'text' => $this->l('Assign to a new zone'))
);
$this->bulk_actions = array(
'delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?')),
'enableSelection' => array('text' => $this->l('Enable selection')),
'disableSelection' => array('text' => $this->l('Disable selection')),
'affectzone' => array('text' => $this->l('Assign to a new zone'))
);
$this->fieldImageSettings = array(
'name' => 'logo',
'dir' => 'st'