diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 298d1aa587..1a43d39dc4 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2011-04-27 Juan Manuel Ramon + + * godmode/setup/setup_visuals.php + godmode/users/configure_user.php: Fixed some mistakes of my last + commit. + 2011-04-27 Juan Manuel Ramon * include/functions_graph.php diff --git a/pandora_console/godmode/setup/setup_visuals.php b/pandora_console/godmode/setup/setup_visuals.php index ce6cfdadbe..cfcfa3df8a 100644 --- a/pandora_console/godmode/setup/setup_visuals.php +++ b/pandora_console/godmode/setup/setup_visuals.php @@ -86,8 +86,8 @@ $table->data[11][0] = __('Font size'); $table->data[11][1] = html_print_select(range(1, 15), 'font_size', $config["font_size"], '', '', 0, true); $table->data[12][0] = __('Flash charts'); -$table->data[12][1] = __('Yes').' '.print_radio_button ('flash_charts', 1, '', $config["flash_charts"], true).'  '; -$table->data[12][1] .= __('No').' '.print_radio_button ('flash_charts', 0, '', $config["flash_charts"], true); +$table->data[12][1] = __('Yes').' '.html_print_radio_button ('flash_charts', 1, '', $config["flash_charts"], true).'  '; +$table->data[12][1] .= __('No').' '.html_print_radio_button ('flash_charts', 0, '', $config["flash_charts"], true); if (!defined ('PANDORA_ENTERPRISE')){ $table->data[13][0] = __('Custom logo') . ui_print_help_icon("custom_logo", true); diff --git a/pandora_console/godmode/users/configure_user.php b/pandora_console/godmode/users/configure_user.php index 98c5d58546..f08231e598 100644 --- a/pandora_console/godmode/users/configure_user.php +++ b/pandora_console/godmode/users/configure_user.php @@ -329,7 +329,7 @@ if (count($usr_groups) > 1){ $table->data[11][0] = __('Flash charts'); $values = array(-1 => __('Use global conf'), 1 => __('Yes'), 0 => __('No')); -$table->data[11][1] = print_select($values, 'flash_charts', $user_info["flash_chart"], '', '', -1, true, false, false); +$table->data[11][1] = html_print_select($values, 'flash_charts', $user_info["flash_chart"], '', '', -1, true, false, false); $table->data[12][0] = __('Block size for pagination'); $table->data[12][1] = html_print_input_text ('block_size', $user_info["block_size"], '', 5, 5, true);