From c82a496eeae14a26416e9e030f48ea84425fb508 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Tue, 22 Nov 2011 22:09:22 +0000 Subject: [PATCH] // --- controllers/admin/AdminProfilesController.php | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/controllers/admin/AdminProfilesController.php b/controllers/admin/AdminProfilesController.php index 0922d2b4e..a6169a5e9 100644 --- a/controllers/admin/AdminProfilesController.php +++ b/controllers/admin/AdminProfilesController.php @@ -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(