use PMA_generate_html_radio()

This commit is contained in:
Marc Delisle
2007-12-28 00:42:43 +00:00
parent ec408de34d
commit 5f1d0bb4b3

View File

@@ -364,13 +364,14 @@ if (isset($auto_increment) && strlen($auto_increment) > 0
</select> </select>
&nbsp;<b>.</b>&nbsp; &nbsp;<b>.</b>&nbsp;
<input type="text" size="20" name="new_name" onfocus="this.select()" /><br /> <input type="text" size="20" name="new_name" onfocus="this.select()" /><br />
<?php
<input type="radio" name="what" value="structure" id="radio_copy_structure" /> $choices = array(
<label for="radio_copy_structure"><?php echo $strStrucOnly; ?></label><br /> 'structure' => $strStrucOnly,
<input type="radio" name="what" value="data" id="radio_copy_data" checked="checked" /> 'data' => $strStrucData,
<label for="radio_copy_data"><?php echo $strStrucData; ?></label><br /> 'dataonly' => $strDataOnly);
<input type="radio" name="what" value="dataonly" id="radio_copy_dataonly" /> PMA_generate_html_radio('what', $choices, 'data', true);
<label for="radio_copy_dataonly"><?php echo $strDataOnly; ?></label><br /> unset($choices);
?>
<input type="checkbox" name="drop_if_exists" value="true" id="checkbox_drop" /> <input type="checkbox" name="drop_if_exists" value="true" id="checkbox_drop" />
<label for="checkbox_drop"><?php echo sprintf($strAddClause, 'DROP TABLE'); ?></label><br /> <label for="checkbox_drop"><?php echo sprintf($strAddClause, 'DROP TABLE'); ?></label><br />