//Update usage of row list actions

This commit is contained in:
dSevere
2011-10-17 12:52:18 +00:00
parent b7e48b27f2
commit 8a3bd72ff5
11 changed files with 32 additions and 24 deletions
@@ -389,6 +389,4 @@ class AdminAddressesControllerCore extends AdminController
parent::initContent();
}
}
}
+3 -2
View File
@@ -31,11 +31,12 @@ class AdminAliasesControllerCore extends AdminController
{
$this->table = 'alias';
$this->className = 'Alias';
$this->edit = true;
$this->delete = true;
$this->lang = false;
$this->requiredDatabase = true;
$this->addRowAction('edit');
$this->addRowAction('delete');
$this->context = Context::getContext();
if (!Tools::getValue('realedit'))
+3 -2
View File
@@ -32,10 +32,11 @@ class AdminGendersController extends AdminController
$this->table = 'gender';
$this->className = 'Gender';
$this->lang = true;
$this->edit = true;
$this->delete = true;
$this->requiredDatabase = true;
$this->addRowAction('edit');
$this->addRowAction('delete');
$this->context = Context::getContext();
if (!Tools::getValue('realedit'))
@@ -32,10 +32,10 @@ class AdminGroupShopControllerCore extends AdminController
$this->table = 'group_shop';
$this->className = 'GroupShop';
$this->lang = false;
$this->edit = true;
$this->delete = false;
$this->requiredDatabase = true;
$this->addRowAction('edit');
$this->context = Context::getContext();
if (!Tools::getValue('realedit'))
+3 -2
View File
@@ -35,8 +35,9 @@ class AdminImagesController extends AdminController
$this->table = 'image_type';
$this->className = 'ImageType';
$this->lang = false;
$this->edit = true;
$this->delete = true;
$this->addRowAction('edit');
$this->addRowAction('delete');
$this->fieldsDisplay = array(
'id_image_type' => array('title' => $this->l('ID'), 'align' => 'center', 'width' => 25),
@@ -32,10 +32,11 @@ class AdminOrderMessageController extends AdminController
$this->table = 'order_message';
$this->className = 'OrderMessage';
$this->lang = true;
$this->edit = true;
$this->delete = true;
$this->requiredDatabase = true;
$this->addRowAction('edit');
$this->addRowAction('delete');
$this->context = Context::getContext();
if (!Tools::getValue('realedit'))
@@ -32,10 +32,11 @@ class AdminQuickAccessesController extends AdminController
$this->table = 'quick_access';
$this->className = 'QuickAccess';
$this->lang = true;
$this->edit = true;
$this->delete = true;
$this->requiredDatabase = true;
$this->addRowAction('edit');
$this->addRowAction('delete');
$this->context = Context::getContext();
if (!Tools::getValue('realedit'))
@@ -32,11 +32,13 @@ class AdminRequestSqlControllerCore extends AdminController
$this->table = 'request_sql';
$this->className = 'RequestSql';
$this->lang = false;
$this->edit = true;
$this->delete = true;
$this->view = true;
$this->export = true;
$this->requiredDatabase = true;
$this->addRowAction('view');
$this->addRowAction('edit');
$this->addRowAction('delete');
$this->context = Context::getContext();
$this->bulk_actions = array('delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?')),
'export' => array('text' => $this->l('Export selected')));
@@ -31,11 +31,12 @@ class AdminSearchEnginesControllerCore extends AdminController
{
$this->table = 'search_engine';
$this->className = 'SearchEngine';
$this->edit = true;
$this->delete = true;
$this->lang = false;
$this->requiredDatabase = true;
$this->addRowAction('edit');
$this->addRowAction('delete');
$this->context = Context::getContext();
if (!Tools::getValue('realedit'))
+3 -2
View File
@@ -32,11 +32,12 @@ class AdminShopUrlControllerCore extends AdminController
$this->table = 'shop_url';
$this->className = 'ShopUrl';
$this->lang = false;
$this->edit = true;
$this->delete = true;
$this->requiredDatabase = true;
$this->_listSkipDelete = array(1);
$this->addRowAction('edit');
$this->addRowAction('delete');
$this->context = Context::getContext();
if (!Tools::getValue('realedit'))
+3 -2
View File
@@ -32,10 +32,11 @@ class AdminStatesControllerCore extends AdminController
$this->table = 'state';
$this->className = 'State';
$this->lang = false;
$this->edit = true;
$this->delete = true;
$this->requiredDatabase = true;
$this->addRowAction('edit');
$this->addRowAction('delete');
$this->context = Context::getContext();
if (!Tools::getValue('realedit'))