You can change the module include/SubPanel/SubPanelTilesTabs.php as follows:
1st patch (line ~167):
PHP Code:
/* Add the 'All' group.
* Note that if a tab group already exists with the name 'All',
* it will be overwritten in this union operation.
*/
if(count($groups) <= 1)
$groups = array(translate('LBL_TABGROUP_ALL') => array('label' => translate('LBL_TABGROUP_ALL'), 'modules' => $tabs));
else
//KUSKE begin patch
// $groups = array(translate('LBL_TABGROUP_ALL') => array('label' => translate('LBL_TABGROUP_ALL'), 'modules' => $tabs)) + $groups;
//KUSKE end patch
/* Note - all $display checking and array_intersects with $tabs
* are now redundant (thanks to GroupedTabStructure), and could
* be removed for performance, but for now can stay to help ensure
* that the tabs get renedered correctly.
*/
2nd patch (line ~237):
PHP Code:
if(empty($displayTabs) && !empty($otherTabs))
{
//WDong Bug: 12258 "All" tab in the middle of a record's detail view is not localized.
//KUSKE begin patch
// $selectedGroup = translate('LBL_TABGROUP_ALL');
$otherKeys = array_keys($otherTabs);
$selectedGroup = $otherKeys['0'];
//KUSKE end patch
$displayTabs = $otherTabs[$selectedGroup]['tabs'];
$sugarTabs[$selectedGroup]['type'] = 'current';
$retTabs = array_intersect($tabs, array_map('strtolower', $groups[$selectedGroup]['modules']));
}
Bookmarks