[
'active' => $_GET['sec2'] === 'operation/users/user_edit',
'text' => "".html_print_image(
'images/user_green.png',
true,
['title' => __('User management')]
).'',
],
'notifications' => [
'active' => $_GET['sec2'] === 'operation/users/user_edit_notifications',
'text' => "".html_print_image(
'images/alerts_template.png',
true,
['title' => __('User notifications')]
).'',
],
];
$tab_name = 'User Management';
$helpers = '';
if ($_GET['sec2'] === 'operation/users/user_edit_notifications') {
$helpers = 'user_edit_notifications';
$tab_name = 'User Notifications';
}
ui_print_page_header(
__('User detail editor'),
'images/op_workspace.png',
false,
$helpers,
false,
$buttons,
false,
'',
GENERIC_SIZE_TEXT,
'',
__('Workspace').ui_print_breadcrums($tab_name)
);
}