// Help Access "New" button
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12303 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -58,6 +58,12 @@ class HelperHelpAccess extends Helper
|
||||
|
||||
if (array_key_exists('version', $info) && $info['version'] != '')
|
||||
{
|
||||
$last_version = HelpAccess::getVersion($this->label);
|
||||
|
||||
$tpl_vars['button_class'] = 'process-icon-help';
|
||||
if ($last_version < $info['version'])
|
||||
$tpl_vars['button_class'] = 'process-icon-help-new';
|
||||
|
||||
$tpl_vars['label'] = $this->label;
|
||||
$tpl_vars['iso_lang'] = $this->iso_lang;
|
||||
$tpl_vars['country'] = $this->country;
|
||||
|
||||
Reference in New Issue
Block a user