rfe #2726479 [export] Export tables preselect
This commit is contained in:
@@ -13,6 +13,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
|||||||
+ patch #2724755 [display] Full/partial text links (big T) are back,
|
+ patch #2724755 [display] Full/partial text links (big T) are back,
|
||||||
thanks to nullbarriere - nullbarriere
|
thanks to nullbarriere - nullbarriere
|
||||||
- bug [display] handle NavigationBarIconic as documented for navi buttons
|
- bug [display] handle NavigationBarIconic as documented for navi buttons
|
||||||
|
+ rfe #2726479 [export] Export tables preselect
|
||||||
|
|
||||||
3.2.1.0 (not yet released)
|
3.2.1.0 (not yet released)
|
||||||
- bug #2799009 Login with ipv6 IP address breaks redirect
|
- bug #2799009 Login with ipv6 IP address breaks redirect
|
||||||
|
@@ -44,18 +44,21 @@ $multi_values .= '<a href="' . $checkall_url . '" onclick="setSelectOptions(\'du
|
|||||||
/
|
/
|
||||||
<a href="' . $checkall_url . '&unselectall=1" onclick="setSelectOptions(\'dump\', \'table_select[]\', false); return false;">' . $strUnselectAll . '</a><br />';
|
<a href="' . $checkall_url . '&unselectall=1" onclick="setSelectOptions(\'dump\', \'table_select[]\', false); return false;">' . $strUnselectAll . '</a><br />';
|
||||||
|
|
||||||
$multi_values .= '<select name="table_select[]" size="6" multiple="multiple">';
|
$multi_values .= '<select name="table_select[]" size="10" multiple="multiple">';
|
||||||
$multi_values .= "\n";
|
$multi_values .= "\n";
|
||||||
|
|
||||||
|
if (!empty($selected_tbl) && empty($table_select)) {
|
||||||
|
$table_select = $selected_tbl;
|
||||||
|
}
|
||||||
|
|
||||||
foreach ($tables as $each_table) {
|
foreach ($tables as $each_table) {
|
||||||
// ok we show also views
|
// ok we show also views
|
||||||
//if (is_null($each_table['Engine'])) {
|
//if (is_null($each_table['Engine'])) {
|
||||||
// Don't offer to export views yet.
|
// Don't offer to export views yet.
|
||||||
// continue;
|
// continue;
|
||||||
//}
|
//}
|
||||||
if (! empty($unselectall)
|
if (! empty($unselectall)
|
||||||
|| (isset($tmp_select)
|
|| !in_array($each_table['Name'], $table_select)) {
|
||||||
&& false !== strpos($tmp_select, '|' . $each_table['Name'] . '|'))) {
|
|
||||||
$is_selected = '';
|
$is_selected = '';
|
||||||
} else {
|
} else {
|
||||||
$is_selected = ' selected="selected"';
|
$is_selected = ' selected="selected"';
|
||||||
|
@@ -493,6 +493,8 @@ echo ' <option value="' . $strRepairTable . '" >'
|
|||||||
. $strRepairTable . '</option>' . "\n";
|
. $strRepairTable . '</option>' . "\n";
|
||||||
echo ' <option value="' . $strAnalyzeTable . '" >'
|
echo ' <option value="' . $strAnalyzeTable . '" >'
|
||||||
. $strAnalyzeTable . '</option>' . "\n";
|
. $strAnalyzeTable . '</option>' . "\n";
|
||||||
|
echo ' <option value="' . $strExport . '" >'
|
||||||
|
. $strExport . '</option>' . "\n";
|
||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@@ -59,6 +59,11 @@ if (! empty($submit_mult)
|
|||||||
$query_type = 'analyze_tbl';
|
$query_type = 'analyze_tbl';
|
||||||
$mult_btn = $strYes;
|
$mult_btn = $strYes;
|
||||||
break;
|
break;
|
||||||
|
case $strExport:
|
||||||
|
unset($submit_mult);
|
||||||
|
require('db_export.php');
|
||||||
|
exit;
|
||||||
|
break;
|
||||||
} // end switch
|
} // end switch
|
||||||
}
|
}
|
||||||
} elseif (isset($selected_fld) && !empty($selected_fld)) {
|
} elseif (isset($selected_fld) && !empty($selected_fld)) {
|
||||||
|
@@ -172,7 +172,7 @@ function PMA_pluginGetChoice($section, $name, &$list, $cfgname = NULL)
|
|||||||
. PMA_pluginIsActive($section, $cfgname, $plugin_name) . '/>' . "\n";
|
. PMA_pluginIsActive($section, $cfgname, $plugin_name) . '/>' . "\n";
|
||||||
$ret .= '<label for="radio_plugin_' . $plugin_name . '">'
|
$ret .= '<label for="radio_plugin_' . $plugin_name . '">'
|
||||||
. PMA_getString($val['text']) . '</label>' . "\n";
|
. PMA_getString($val['text']) . '</label>' . "\n";
|
||||||
$ret .= '<br /><br />' . "\n";
|
$ret .= '<br />' . "\n";
|
||||||
}
|
}
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
@@ -28,7 +28,7 @@ $multi_values .= '<a href="' . $checkall_url . '&selectall=1" onclick="setSe
|
|||||||
/
|
/
|
||||||
<a href="' . $checkall_url . '" onclick="setSelectOptions(\'dump\', \'db_select[]\', false); return false;">' . $strUnselectAll . '</a><br />';
|
<a href="' . $checkall_url . '" onclick="setSelectOptions(\'dump\', \'db_select[]\', false); return false;">' . $strUnselectAll . '</a><br />';
|
||||||
|
|
||||||
$multi_values .= '<select name="db_select[]" size="6" multiple="multiple">';
|
$multi_values .= '<select name="db_select[]" size="10" multiple="multiple">';
|
||||||
$multi_values .= "\n";
|
$multi_values .= "\n";
|
||||||
|
|
||||||
foreach ($GLOBALS['pma']->databases as $current_db) {
|
foreach ($GLOBALS['pma']->databases as $current_db) {
|
||||||
|
Reference in New Issue
Block a user