'. html_print_image ("images/camera.png", true, array ("title" => __('Show link to public Visual Console'))).''; $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/monitor.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[60] = human_time_description_raw (60); $values[120] = human_time_description_raw (120); $values[300] = human_time_description_raw (300); $values[600] = human_time_description_raw (600); $values[1800] = human_time_description_raw (1800); $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 '
 
'; if ($config['pure'] && $config["refr"] != 0) { echo '

'; } echo '
 
'; echo '
'; html_print_input_hidden ('pure', $config["pure"]); html_print_input_hidden ('id', $id_layout); html_print_table ($table); echo '
'; if ($config["pure"] && $config["refr"] != 0) { ui_require_jquery_file ('countdown'); ui_require_css_file ('countdown'); } ui_require_javascript_file ('wz_jsgraphics'); ui_require_javascript_file ('pandora_visual_console'); ?>