// Rename correctly all hooks

This commit is contained in:
rMalie
2012-01-02 15:52:40 +00:00
parent 65585b63b1
commit a776684f13
36 changed files with 112 additions and 104 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ if (Tools::isSubmit('ajaxCategoriesPositions'))
{
if (isset($position) && $category->updatePosition($way, $position))
{
Hook::exec('categoryUpdate');
Hook::exec('actionCategoryUpdate');
die(true);
}
else
+1 -1
View File
@@ -27,7 +27,7 @@
echo ' </div>
</div>
'.Hook::exec('backOfficeFooter').'
'.Hook::exec('displayBackOfficeFooter').'
<div id="footer">
<div style="float:left;margin-left:10px;padding-top:6px">
<a href="http://www.prestashop.com/" target="_blank" style="font-weight:700;color:#666666">PrestaShop&trade; '._PS_VERSION_.'</a><br />
+2 -2
View File
@@ -54,7 +54,7 @@ echo '
<script type="text/javascript" src="'._PS_JS_DIR_.'tools.js"></script>
<script type="text/javascript" src="'._PS_JS_DIR_.'ajax.js"></script>
<link rel="shortcut icon" href="'._PS_IMG_.'favicon.ico" />
'.Hook::exec('backOfficeHeader').'
'.Hook::exec('displayBackOfficeHeader').'
<!--[if IE]>
<link type="text/css" rel="stylesheet" href="'._PS_CSS_DIR_.'admin-ie.css" />
<![endif]-->
@@ -283,7 +283,7 @@ echo ' </select>
echo '<div id="header_shoplist">'.translate('Select your shop:').' '.generateShopList().'</div>';
echo '</div>';
echo Hook::exec('backOfficeTop');
echo Hook::exec('displayBackOfficeTop');
echo '<ul id="menu">';
if (empty($tab))