Code cleanup

This commit is contained in:
Herman van Rink
2009-12-27 13:59:08 +00:00
parent 20208dceb2
commit 195165c2ae
4 changed files with 7 additions and 7 deletions

View File

@@ -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(' ', '&nbsp;', $table_html) . '</option>' . "\n"; . str_replace(' ', '&nbsp;', $table_html) . '</option>' . "\n";
} // end for } // end for
$multi_values .= "\n"; $multi_values .= "\n";
$multi_values .= '</select></div><br />'; $multi_values .= '</select></div><br />';

View File

@@ -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

View File

@@ -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"

View File

@@ -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>&nbsp;';
} }
?> ?>
</td> </td>