From 6d63f4bbd19698040849f0985dfb11f7d0da0b05 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 29 Dec 2007 21:06:30 +0000 Subject: [PATCH] use PMA_generate_html_radio() --- db_operations.php | 18 ++++++++---------- libraries/common.lib.php | 3 ++- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/db_operations.php b/db_operations.php index 1c4afb7a4..60bd07be8 100644 --- a/db_operations.php +++ b/db_operations.php @@ -330,16 +330,14 @@ if (!$is_information_schema) { ?>
- -
- -
- -
- + $strStrucOnly, + 'data' => $strStrucData, + 'dataonly' => $strDataOnly); + PMA_generate_html_radio('what', $choices, 'data', true); + unset($choices); +?> diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 89419d8f0..eafa90499 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -2293,10 +2293,11 @@ function PMA_generate_html_radio($html_field_name, $choices, $checked_choice = ' echo ' checked="checked"'; } echo ' />' . "\n"; - echo '' . "\n"; + echo ''; if ($line_break) { echo '
'; } + echo "\n"; } } ?>