ts($db);
?>
</legend>
<input type="text" name="comment" class="textfield" size="30"
value="<?php
echo (isset($comment) && is_array($comment)
? htmlspecialchars(implode(' ', $comment))
: ''); ?>" />
<input type="submit" value="<?php echo $strGo; ?>" />
</fieldset>
</form>
<?php
}
/**
* rename database
*/
?>
<form method="post" action="db_operations.php"
onsubmit="return emptyFormElements(this, 'newname')">
<input type="hidden" name="what" value="data" />
<input type="hidden" name="db_rename" value="true" />
<?php echo PMA_generate_common_hidden_inputs($db); ?>
<fieldset>
<legend>
<?php
if ($cfg['PropertiesIconic']) {
echo '<img class="icon" src="' . $pmaThemeImage . 'b_edit.png"'
.' alt="" width="16" height="16" />';
}
echo $strDBRename . ':';
?>
</legend>
<input type="text" name="newname" size="30" class="textfield" value="" />
<input type="submit" value="<?php echo $strGo; ?>" />
</fieldset>
</form>
<?php
/**
* Copy database
*/
?>
<form method="post" action="db_operations.php"
onsubmit="return emptyFormElements(this, 'newname')">
<?php
if (isset($db_collation)) {
echo '<input type="hidden" name="db_collation" value="' . $db_collation
.'" />' . "\n";
}
echo '<input type="hidden" name="db_copy" value="true" />' . "\n";
echo PMA_generate_common_hidden_inputs($db);
?>
<fieldset>
<legend>
<?php
if ($cfg['PropertiesIconic']) {
echo '<img class="icon" src="' . $pmaThemeImage . 'b_edit.png"'
.' alt="" width="16" height="16" />';
}
echo $strDBCopy . ':';
?>
</legend>
<input type="text" name="newname" size="30" class="textfield" value="" /><br />
<input type="radio" name="what" value="structure"
id="radio_copy_structure" style="vertical-align: middle" />
<label for="radio_copy_structure"><?php echo $strStrucOnly; ?></label><br />
<input type="radio" name="what" value="data" id="radio_copy_data"
checked="checked" style="vertical-align: middle" />
<label for="radio_copy_data"><?php echo $strStrucData; ?></label><br />
<input type="radio" name="what" value="dataonly"
id="radio_copy_dataonly" style="vertical-align: middle" />
<label for="radio_copy_dataonly"><?php echo $strDataOnly; ?></label><br /