'. html_print_image ("images/camera.png", true, array ("title" => __('Show link to public Visual Console'))).''; $options['public_link']['active'] = false; $options['setup']['text'] = ''.html_print_image ("images/setup.png", true, array ("title" => __('Setup'))).''; $options['setup']['active'] = false; } if ($config["pure"] == 0) { $options['pure']['text'] = '' . html_print_image ("images/fullscreen.png", true, array ("title" => __('Full screen mode'))) . ""; } else { $options['pure']['text'] = '' . html_print_image ("images/normalscreen.png", true, array ("title" => __('Back to normal mode'))) . ""; } $options['pure']['active'] = false; ui_print_page_header (__("Visual console") . " » " . $layout_name, "images/reporting.png", false, '', false, $options); visual_map_print_visual_map ($id_layout); $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'); if (empty($config["vc_refr"])) { $vc_refr = true; $config["vc_refr"] = $refr; } $table->data[0][1] = html_print_select ($values, 'refr', $config["vc_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); if ($vc_refr) { $config["vc_refr"] = 0; } echo '