'; $anyfound = false; $table = new stdClass(); $table->id = 'summary'; $table->width = '98%'; $table->style = []; $table->style[0] = 'font-weight: bold; text-align: left;'; $table->style[1] = 'font-weight: bold; text-align: left;'; $table->style[2] = 'font-weight: bold; text-align: left;'; $table->style[3] = 'font-weight: bold; text-align: left;'; $table->style[4] = 'font-weight: bold; text-align: left;'; $table->style[5] = 'font-weight: bold; text-align: left;'; $table->style[6] = 'font-weight: bold; text-align: left;'; $table->style[7] = 'font-weight: bold; text-align: left;'; $table->style[8] = 'font-weight: bold; text-align: left;'; $table->style[9] = 'font-weight: bold; text-align: left;'; $table->style[10] = 'font-weight: bold; text-align: left;'; $table->style[11] = 'font-weight: bold; text-align: left;'; $table->style[13] = 'font-weight: bold; text-align: left;'; $table->style[14] = 'font-weight: bold; text-align: left;'; $table->style[15] = 'font-weight: bold; text-align: left;'; $table->data[0][0] = html_print_image('images/agent.png', true, ['title' => __('Agents found'), 'class' => 'invert_filter']); $table->data[0][1] = "".sprintf(__('%s Found'), $totalAgents).''; $table->data[0][2] = html_print_image('images/module.png', true, ['title' => __('Modules found'), 'class' => 'invert_filter']); $table->data[0][3] = "".sprintf(__('%s Found'), $totalModules).''; // ------------------- DISABLED FOR SOME INSTALLATIONS------------------ // ~ $table->data[0][4] = html_print_image ("images/bell.png", true, array ("title" => __('Alerts found'))); // ~ $table->data[0][5] = "" . // ~ sprintf(__("%s Found"), $totalAlerts) . ""; // --------------------------------------------------------------------- $table->data[0][6] = html_print_image('images/input_user.png', true, ['title' => __('Users found'), 'class' => 'invert_filter']); $table->data[0][7] = "".sprintf(__('%s Found'), $totalUsers).''; $table->data[0][8] = html_print_image('images/chart_curve.png', true, ['title' => __('Graphs found'), 'class' => 'invert_filter']); $table->data[0][9] = "".sprintf(__('%s Found'), $totalGraphs).''; $table->data[0][10] = html_print_image('images/reporting.png', true, ['title' => __('Reports found'), 'class' => 'invert_filter']); $table->data[0][11] = "".sprintf(__('%s Found'), $totalReports).''; $table->data[0][12] = html_print_image('images/visual_console_green.png', true, ['title' => __('Visual consoles')]); $table->data[0][13] = "".sprintf(__('%s Found'), $totalMaps).''; if (enterprise_installed()) { $table->data[0][14] = html_print_image('images/policies_mc.png', true, ['title' => __('Policies')]); $table->data[0][15] = "".sprintf(__('%s Found'), $totalPolicies).''; } html_print_table($table); if ($searchAgents && $totalAgents > 0) { echo $list_agents; echo "".sprintf( __('Show %s of %s. View all matches'), $count_agents_main, $totalAgents ).''; } echo '
';