// 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:
fBrignoli
2012-01-10 10:39:00 +00:00
parent 6ca5f52df3
commit bd23c8c433
6 changed files with 29 additions and 18 deletions
+6
View File
@@ -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;