Created
April 22, 2015 19:35
-
-
Save Dh42/16666461e80b79104e12 to your computer and use it in GitHub Desktop.
dh42 BO Header for Affiliates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function hookDisplayBackOfficeHeader($params) | |
{ | |
if( isset($this->context->controller->dh_support) ) | |
return; | |
$this->context->controller->dh_support = 1; | |
if (version_compare(@_PS_VERSION_,'1.6','<')) | |
$this->context->controller->addJS($this->_path . '/js/dh42_15.js', 'all'); | |
else | |
$this->context->controller->addJS($this->_path . '/js/dh42.js', 'all'); | |
return; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment