Beautified generated html
This commit is contained in:
@@ -542,7 +542,7 @@ $is_upload = (PMA_PHP_INT_VERSION >= 40000 && function_exists('ini_get'))
|
|||||||
<!-- Query box, sql file loader and bookmark support -->
|
<!-- Query box, sql file loader and bookmark support -->
|
||||||
<li>
|
<li>
|
||||||
<a name="querybox"></a>
|
<a name="querybox"></a>
|
||||||
<form method="post" action="read_dump.php3"<?php if ($is_upload) echo ' enctype="multipart/form-data"'; ?>
|
<form method="post" action="read_dump.php3"<?php if ($is_upload) echo ' enctype="multipart/form-data"'; echo "\n"; ?>
|
||||||
onsubmit="return checkSqlQuery(this)">
|
onsubmit="return checkSqlQuery(this)">
|
||||||
<input type="hidden" name="is_js_confirmed" value="0" />
|
<input type="hidden" name="is_js_confirmed" value="0" />
|
||||||
<input type="hidden" name="lang" value="<?php echo $lang; ?>" />
|
<input type="hidden" name="lang" value="<?php echo $lang; ?>" />
|
||||||
|
@@ -702,7 +702,7 @@ $is_upload = (PMA_PHP_INT_VERSION >= 40000 && function_exists('ini_get'))
|
|||||||
<!-- Query box and bookmark support -->
|
<!-- Query box and bookmark support -->
|
||||||
<li>
|
<li>
|
||||||
<a name="querybox"></a>
|
<a name="querybox"></a>
|
||||||
<form method="post" action="read_dump.php3"<?php if ($is_upload) echo ' enctype="multipart/form-data"'; ?>
|
<form method="post" action="read_dump.php3"<?php if ($is_upload) echo ' enctype="multipart/form-data"'; echo "\n"; ?>
|
||||||
onsubmit="return checkSqlQuery(this)">
|
onsubmit="return checkSqlQuery(this)">
|
||||||
<input type="hidden" name="is_js_confirmed" value="0" />
|
<input type="hidden" name="is_js_confirmed" value="0" />
|
||||||
<input type="hidden" name="lang" value="<?php echo $lang; ?>" />
|
<input type="hidden" name="lang" value="<?php echo $lang; ?>" />
|
||||||
@@ -1216,9 +1216,9 @@ if (!empty($cfgServer['relation'])) {
|
|||||||
. ' FROM ' . $cfgServer['relation']
|
. ' FROM ' . $cfgServer['relation']
|
||||||
. ' WHERE src_table =\'' . $table . '\';';
|
. ' WHERE src_table =\'' . $table . '\';';
|
||||||
|
|
||||||
// we need this mysql_select_db if the user has access to more than one db
|
// we need this mysql_select_db if the user has access to more than one db
|
||||||
// and $db is not the last of the list, because
|
// and $db is not the last of the list, because PMA_availableDatabases()
|
||||||
// PMA_availableDatabases() has made a mysql_select_db() on the last one
|
// has made a mysql_select_db() on the last one
|
||||||
mysql_select_db($db);
|
mysql_select_db($db);
|
||||||
|
|
||||||
$result = @mysql_query($local_query);
|
$result = @mysql_query($local_query);
|
||||||
|
Reference in New Issue
Block a user