// Help Access "New" button

This commit is contained in:
fBrignoli
2012-01-10 10:39:00 +00:00
parent 263039540c
commit d2bbab2bb0
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;