// Adding some hooks :)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12932 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -405,6 +405,10 @@ class AdminCategoriesControllerCore extends AdminController
|
||||
'guest' => $guest_group_information,
|
||||
'customer' => $default_group_information,
|
||||
'desc' => $this->l('Mark all groups you want to give access to this category')
|
||||
),
|
||||
array(
|
||||
'type' => 'module',
|
||||
'name' => 'module'
|
||||
)
|
||||
),
|
||||
'submit' => array(
|
||||
|
||||
@@ -218,6 +218,7 @@ class AdminOrdersControllerCore extends AdminController
|
||||
@Mail::Send((int)$order->id_lang, 'in_transit', Mail::l('Package in transit', (int)$order->id_lang), $templateVars,
|
||||
$customer->email, $customer->firstname.' '.$customer->lastname, null, null, null, null,
|
||||
_PS_MAIL_DIR_, true);
|
||||
Hook::exec('actionAdminOrdersTrackingNumberUpdate', array('order' => $order));
|
||||
Tools::redirectAdmin(self::$currentIndex.'&id_order='.$order->id.'&vieworder&conf=4&token='.$this->token);
|
||||
}
|
||||
else
|
||||
|
||||
@@ -3798,7 +3798,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
public function initFormModules($obj)
|
||||
{
|
||||
$id_module = Db::getInstance()->getValue('SELECT `id_module` FROM `'._DB_PREFIX_.'module` WHERE `name` = \''.pSQL($this->tab_display_module).'\'');
|
||||
$this->tpl_form_vars['custom_form'] = hook::exec('displayAdminProductsExtra', array(), (int)$id_module);
|
||||
$this->tpl_form_vars['custom_form'] = Hook::exec('displayAdminProductsExtra', array(), (int)$id_module);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user