'.html_print_image( 'images/setup.png', true, [ 'title' => __('Config'), 'class' => 'invert_filter', ] ).''; $url = sprintf( 'index.php?sec=view&sec2=operation/heatmap&pure=1&type=%s&refresh=%s&search=%s&filter=%s', $type, $refresh, $search, implode(',', $filter) ); $viewtab['full_screen'] = ''.html_print_image( 'images/full_screen.png', true, [ 'title' => __('Full screen'), 'class' => 'invert_filter', ] ).''; $header_name = __('Heatmap view'); switch ($type) { case 3: $header_name .= ' - '.__('Agents'); break; case 2: if (current($filter) == 0) { $header_name .= ' - '.__('Module group').': '.__('Not assigned'); } else { $header_name .= ' - '.__('Module group').': '.modules_get_modulegroup_name(current($filter)); } break; case 1: $tags_name = ''; foreach ($filter as $key => $tag) { $tags_name .= tags_get_name($tag).', '; } $tags_name = trim($tags_name, ', '); $header_name .= ' - '.__('Tag').': '.$tags_name; break; case 0: default: if (current($filter) == 0) { $header_name .= ' - '.__('Group').': '.__('All'); } else { $header_name .= ' - '.__('Group').': '.groups_get_name(current($filter)); } break; } // Header. ui_print_standard_header( $header_name, '', false, '', false, $viewtab, [ [ 'link' => '', 'label' => __('Monitoring'), ], [ 'link' => '', 'label' => __('Views'), ], ] ); } if ($is_ajax === false && $pure === true) { // Floating menu - Start. echo '