This commit is contained in:
vAugagneur
2011-11-22 22:09:22 +00:00
parent c5c108bf57
commit c82a496eea
+14 -3
View File
@@ -35,11 +35,22 @@ class AdminProfilesControllerCore extends AdminController
$this->lang = true;
$this->addRowAction('edit');
$this->addRowAction('delete');
$this->bulk_actions = array('delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?')));
$this->addRowActionSkipList('delete', array(1));
$this->bulk_actions = array(
'delete' => array('text' => $this->l('Delete selected'),
'confirm' => $this->l('Delete selected items?'))
);
$this->fieldsDisplay = array(
'id_profile' => array('title' => $this->l('ID'), 'align' => 'center', 'width' => 25),
'name' => array('title' => $this->l('Name'), 'width' => 200));
'id_profile' => array(
'title' => $this->l('ID'),
'align' => 'center',
'width' => 25
),
'name' => array('title' => $this->l('Name'), 'width' => 200)
);
$this->identifier = 'id_profile';
$this->fields_form = array(