[
'active' => $_GET['sec2'] === 'godmode/users/user_list&tab=user&pure=0',
'text' => "".html_print_image(
'images/user.svg',
true,
[
'title' => __('User management'),
'class' => 'main_menu_icon invert_filter',
]
).'',
],
'notifications' => [
'active' => $_GET['sec2'] === 'operation/users/user_edit_notifications',
'text' => "".html_print_image(
'images/alert@svg.svg',
true,
[
'title' => __('User notifications'),
'class' => 'main_menu_icon invert_filter',
]
).'',
],
];
$tab_name = 'User Management';
$helpers = '';
if ($_GET['sec2'] === 'operation/users/user_edit_notifications') {
$helpers = 'user_edit_notifications';
$tab_name = 'User Notifications';
}
// Header.
ui_print_standard_header(
$headerTitle,
'images/user.png',
false,
$helpers,
false,
$buttons,
[
[
'link' => '',
'label' => __('Workspace'),
],
[
'link' => '',
'label' => __('Edit user'),
],
]
);
}