// fix new theme / old php in modules

This commit is contained in:
mMarinetti
2011-12-02 16:41:22 +00:00
parent 3cd97f8ae5
commit 301d26fbce
66 changed files with 955 additions and 847 deletions
+1 -4
View File
@@ -54,10 +54,7 @@ class BlockSearch extends Module
public function hookHeader($params)
{
if (Configuration::get('PS_SEARCH_AJAX'))
{
$this->context->controller->addCSS(_PS_CSS_DIR_.'jquery.autocomplete.css');
$this->context->controller->addJS(_PS_JS_DIR_.'jquery/jquery.autocomplete.js');
}
$this->context->controller->addJqueryPlugin('autocomplete');
$this->context->controller->addCSS(_THEME_CSS_DIR_.'product_list.css');
$this->context->controller->addCSS(($this->_path).'blocksearch.css', 'all');
}