Automatically check "Save as file" when selecting compression.

This commit is contained in:
Michal Čihař
2003-04-23 09:03:29 +00:00
parent bfff15d10a
commit 5269c1b894
2 changed files with 9 additions and 4 deletions

View File

@@ -5,6 +5,11 @@ phpMyAdmin - Changelog
$Id$
$Source$
2003-04-23 Michal Cihar <nijel@users.sourceforge.net>
* tbl_dump.php3: Fixed syntax error with === (#724093, ##707538).
* libraries/display_export.lib.php3: Automatically check "Save as file"
when selecting compression.
2003-04-22 Garvin Hicking <me@supergarv.de>
* libraries/common.lib.php3, main.php3, db_details_common.php3:
When reloading the frame, propagate hash value (for querywindow)

View File

@@ -277,7 +277,7 @@ if (isset($table) && !empty($table) && !isset($num_tables)) {
<fieldset>
<legend><?php echo $strCompression; ?></legend>
<input type="radio" name="compression" value="none" id="radio_compression_none" checked="checked" />
<input type="radio" name="compression" value="none" id="radio_compression_none" checked="checked" onclick="gE('checkbox_dump_asfile').checked = true;" />
<label for="radio_compression_none"><?php echo $strNone; ?></label>&nbsp;
<?php
@@ -290,21 +290,21 @@ if (PMA_PHP_INT_VERSION >= 40004) {
if ($is_zip || $is_gzip || $is_bzip) {
if ($is_zip) {
?>
<input type="radio" name="compression" value="zip" id="radio_compression_zip" />
<input type="radio" name="compression" value="zip" id="radio_compression_zip" onclick="gE('checkbox_dump_asfile').checked = true;" />
<label for="radio_compression_zip"><?php echo $strZip; ?></label><?php echo (($is_gzip || $is_bzip) ? '&nbsp;' : ''); ?>
<?php
}
if ($is_gzip) {
echo "\n"
?>
<input type="radio" name="compression" value="gzip" id="radio_compression_gzip" />
<input type="radio" name="compression" value="gzip" id="radio_compression_gzip" onclick="gE('checkbox_dump_asfile').checked = true;" />
<label for="radio_compression_gzip"><?php echo $strGzip; ?></label><?php echo ($is_bzip ? '&nbsp;' : ''); ?>
<?php
}
if ($is_bzip) {
echo "\n"
?>
<input type="radio" name="compression" value="bzip" id="radio_compression_bzip" />
<input type="radio" name="compression" value="bzip" id="radio_compression_bzip" onclick="gE('checkbox_dump_asfile').checked = true;" />
<label for="radio_compression_bzip"><?php echo $strBzip; ?></label>
<?php
}