BC updated
This commit is contained in:
parent
47c9220cbb
commit
3c730fbedf
|
@ -708,7 +708,13 @@ if ($id_agente) {
|
||||||
'',
|
'',
|
||||||
$config['item_title_size_text'],
|
$config['item_title_size_text'],
|
||||||
'',
|
'',
|
||||||
__('Resources').ui_print_breadcrums($tab_name)
|
ui_print_breadcrums(
|
||||||
|
[
|
||||||
|
__('Resources'),
|
||||||
|
__('Manage agents'),
|
||||||
|
'<span class="breadcrumb_active">'.$tab_name.'</span>',
|
||||||
|
]
|
||||||
|
)
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
// Create agent.
|
// Create agent.
|
||||||
|
@ -723,7 +729,13 @@ if ($id_agente) {
|
||||||
'',
|
'',
|
||||||
GENERIC_SIZE_TEXT,
|
GENERIC_SIZE_TEXT,
|
||||||
'',
|
'',
|
||||||
__('Resources').ui_print_breadcrums('Create agent')
|
ui_print_breadcrums(
|
||||||
|
[
|
||||||
|
__('Resources'),
|
||||||
|
__('Manage agents'),
|
||||||
|
'<span class="breadcrumb_active">'.__('Create agent').'</span>',
|
||||||
|
]
|
||||||
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5020,10 +5020,12 @@ function ui_get_sorting_arrows($url_up, $url_down, $selectUp, $selectDown)
|
||||||
*/
|
*/
|
||||||
function ui_print_breadcrums($tab_name)
|
function ui_print_breadcrums($tab_name)
|
||||||
{
|
{
|
||||||
if ($tab_name != '') {
|
if (is_array($tab_name)) {
|
||||||
|
return join(' / ', $tab_name);
|
||||||
|
} else if ($tab_name != '') {
|
||||||
$section = str_replace('_', ' ', $tab_name);
|
$section = str_replace('_', ' ', $tab_name);
|
||||||
$section = ucwords($section);
|
$section = ucwords($section);
|
||||||
$section = ' / <span class="breadcrumb_active">'.___($section).'</span>';
|
$section = ' / '.___($section);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $section;
|
return $section;
|
||||||
|
|
|
@ -1498,7 +1498,13 @@ ui_print_page_header(
|
||||||
'',
|
'',
|
||||||
$config['item_title_size_text'],
|
$config['item_title_size_text'],
|
||||||
'',
|
'',
|
||||||
__('Resources').ui_print_breadcrums($tab_name)
|
ui_print_breadcrums(
|
||||||
|
[
|
||||||
|
__('Monitoring'),
|
||||||
|
__('View'),
|
||||||
|
'<span class="breadcrumb_active">'.$tab_name.'</span>',
|
||||||
|
]
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue