Code cleanup
This commit is contained in:
@@ -52,11 +52,6 @@ if (!empty($selected_tbl) && empty($table_select)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach ($tables as $each_table) {
|
foreach ($tables as $each_table) {
|
||||||
// ok we show also views
|
|
||||||
//if (is_null($each_table['Engine'])) {
|
|
||||||
// Don't offer to export views yet.
|
|
||||||
// continue;
|
|
||||||
//}
|
|
||||||
if (! empty($unselectall)
|
if (! empty($unselectall)
|
||||||
|| (! empty($table_select) && !in_array($each_table['Name'], $table_select))) {
|
|| (! empty($table_select) && !in_array($each_table['Name'], $table_select))) {
|
||||||
$is_selected = '';
|
$is_selected = '';
|
||||||
@@ -68,6 +63,7 @@ foreach ($tables as $each_table) {
|
|||||||
. $is_selected . '>'
|
. $is_selected . '>'
|
||||||
. str_replace(' ', ' ', $table_html) . '</option>' . "\n";
|
. str_replace(' ', ' ', $table_html) . '</option>' . "\n";
|
||||||
} // end for
|
} // end for
|
||||||
|
|
||||||
$multi_values .= "\n";
|
$multi_values .= "\n";
|
||||||
$multi_values .= '</select></div><br />';
|
$multi_values .= '</select></div><br />';
|
||||||
|
|
||||||
|
@@ -932,6 +932,9 @@ function PMA_DBI_get_variable($var, $type = PMA_DBI_GETVAR_SESSION, $link = null
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Function called just after a connection to the MySQL database server has been established
|
||||||
|
* It sets the connection collation, and determins the version of MySQL which is running.
|
||||||
|
*
|
||||||
* @uses ./libraries/charset_conversion.lib.php
|
* @uses ./libraries/charset_conversion.lib.php
|
||||||
* @uses PMA_DBI_QUERY_STORE
|
* @uses PMA_DBI_QUERY_STORE
|
||||||
* @uses PMA_MYSQL_INT_VERSION to set it
|
* @uses PMA_MYSQL_INT_VERSION to set it
|
||||||
|
@@ -195,8 +195,9 @@ echo PMA_pluginGetJavascript($export_list);
|
|||||||
echo $GLOBALS['cfg']['Export']['file_template_server'];
|
echo $GLOBALS['cfg']['Export']['file_template_server'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo '" />';
|
echo '"';
|
||||||
?>
|
?>
|
||||||
|
/>
|
||||||
|
|
||||||
(
|
(
|
||||||
<input type="checkbox" name="remember_template"
|
<input type="checkbox" name="remember_template"
|
||||||
|
@@ -171,7 +171,7 @@ $url_params['reload'] = 1;
|
|||||||
echo ' id="view_with_' . str_replace(' ', '_', htmlspecialchars($option)) . '"';
|
echo ' id="view_with_' . str_replace(' ', '_', htmlspecialchars($option)) . '"';
|
||||||
echo ' value="' . htmlspecialchars($option) . '" />';
|
echo ' value="' . htmlspecialchars($option) . '" />';
|
||||||
echo '<label for="view_with_' . str_replace(' ', '_', htmlspecialchars($option)) . '">';
|
echo '<label for="view_with_' . str_replace(' ', '_', htmlspecialchars($option)) . '">';
|
||||||
echo htmlspecialchars($option) . '</label>';
|
echo htmlspecialchars($option) . '</label> ';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
|
Reference in New Issue
Block a user