diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 9c5d0585bb..3841ef4ca8 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2009-02-05 Esteban Sanchez + + * operation/visual_console/render_view.php: Recoverd countdown when + the map is on full screen. Autorefresh selector is also shown to be + easier to find. + 2009-02-05 Esteban Sanchez * general/links_menu.php: Added classes to links. Style correction. diff --git a/pandora_console/operation/visual_console/render_view.php b/pandora_console/operation/visual_console/render_view.php index 1988a98561..895ebb9a1b 100644 --- a/pandora_console/operation/visual_console/render_view.php +++ b/pandora_console/operation/visual_console/render_view.php @@ -25,7 +25,6 @@ $id_layout = (int) get_parameter ('id'); $refr = (int) get_parameter ('refr'); // Get input parameter for layout id -// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if (! $id_layout) { audit_db ($config["id_user"],$REMOTE_ADDR, "ACL Violation","Trying to access visual console without id layout"); include ("general/noaccess.php"); @@ -73,16 +72,51 @@ echo ''; print_pandora_visual_map ($id_layout); +$values = array (); +$values[5] = "5 ". __('Seconds'); +$values[30] = "30 ". __('Seconds'); +$values[60] = "1 ". __('minutes'); +$values[120] = "2 ". __('minutes'); +$values[300] = "5 ". __('minutes'); +$values[600] = "10 ". __('minutes'); +$values[1800] = "30 ". __('minutes'); + +$table->width = '500px'; +$table->data = array (); +$table->data[0][0] = __('Autorefresh time'); +$table->data[0][1] = print_select ($values, 'refr', $refr, '', 'N/A', 0, true); +$table->data[0][2] = print_submit_button (__('Refresh'), '', false, 'class="sub next"', true); + +echo "
"; +echo "
"; + +if ($config['pure'] && $refr != 0) { + echo '

'; + echo '
'; +} + +echo "
"; +echo "
"; + echo '
'; print_input_hidden ('pure', $config["pure"]); print_input_hidden ('id', $id_layout); print_table ($table); echo "
"; -?> +?> + + + +