[Fix] Custom tab titles are now translated. Translations must be in trad4all - refs #7272

1.9.x
Imanol Losada 11 years ago
parent 8e9146116d
commit 56efeba2c1
  1. 2
      main/inc/lib/banner.lib.php

@ -116,7 +116,7 @@ function get_tabs() {
if (api_get_setting($tab['variable'], $tab['subkey']) == 'true') {
if (!empty($tab['comment']) && $tab['comment'] !== 'ShowTabsComment') {
$navigation[$tab['subkey']]['url'] = $tab['comment'];
$navigation[$tab['subkey']]['title'] = $tab['title'];
$navigation[$tab['subkey']]['title'] = get_lang($tab['title']);
$navigation[$tab['subkey']]['key'] = $tab['subkey'];
}
}

Loading…
Cancel
Save