' . html_print_image ("images/visual_console.png", true, array ("title" => __('Visual consoles list'))) . ''; if ($vconsole_write || $vconsole_manage) { $url_base = 'index.php?sec=reporting&sec2=godmode/reporting/visual_console_builder&action='; $hash = md5($config["dbpass"] . $id_layout . $config["id_user"]); $options['public_link']['text'] = ''. html_print_image ("images/camera_mc.png", true, array ("title" => __('Show link to public Visual Console'))).''; $options['public_link']['active'] = false; $options['data']['text'] = '' . html_print_image ("images/op_reporting.png", true, array ("title" => __('Main data'))) .''; $options['list_elements']['text'] = '' . html_print_image ("images/list.png", true, array ("title" => __('List elements'))) .''; if (enterprise_installed()) { $options['wizard_services']['text'] = '' . html_print_image ("images/wand_services.png", true, array ("title" => __('Services wizard'))) .''; } $options['wizard']['text'] = '' . html_print_image ("images/wand.png", true, array ("title" => __('Wizard'))) .''; $options['editor']['text'] = '' . html_print_image ("images/builder.png", true, array ("title" => __('Builder'))) .''; } $options['view']['text'] = '' . html_print_image ("images/operation.png", true, array ("title" => __('View'))) .''; $options['view']['active'] = true; if (! defined('METACONSOLE')) { if ($config["pure"] == 0) { $options['pure']['text'] = '' . html_print_image ("images/full_screen.png", true, array ("title" => __('Full screen mode'))) . ""; } else { $options['pure']['text'] = '' . html_print_image ("images/normal_screen.png", true, array ("title" => __('Back to normal mode'))) . ""; // In full screen, the manage options are not available $options = array('view' => $options['view'], 'pure' => $options['pure']); } $options['pure']['active'] = false; //Set the hidden value for the javascript html_print_input_hidden('metaconsole', 0); ui_print_page_header ($layout_name, "images/visual_console.png", false, '', false, $options); } else { //Set the hidden value for the javascript html_print_input_hidden('metaconsole', 1); } visual_map_print_visual_map ($id_layout); if ($config["pure"]) { $values = array (); $values[5] = human_time_description_raw (5); $values[30] = human_time_description_raw (30); $values[SECONDS_1MINUTE] = human_time_description_raw(SECONDS_1MINUTE); $values[SECONDS_2MINUTES] = human_time_description_raw(SECONDS_2MINUTES); $values[SECONDS_5MINUTES] = human_time_description_raw(SECONDS_5MINUTES); $values[SECONDS_10MINUTES] = human_time_description_raw(SECONDS_10MINUTES); $values[SECONDS_30MINUTES] = human_time_description_raw(SECONDS_30MINUTES); $table->width = '90%'; $table->data = array (); $table->style = array (); $table->style[2] = 'text-align: center'; $table->data[0][0] = __('Autorefresh time'); $table->data[0][1] = html_print_select ($values, 'refr', $refr, '', 'N/A', 0, true, false, false); $table->data[0][2] = html_print_submit_button (__('Refresh'), '', false, 'class="sub next"', true); $table->data[0][2] .= html_print_input_hidden ('vc_refr', $config["vc_refr"], true); echo '