[interface] Better formatting for SQL validator results.
This commit is contained in:
@@ -94,6 +94,7 @@ $Id$
|
|||||||
+ [code] Centralized format string expansion, @VARIABLES@ are recommended way
|
+ [code] Centralized format string expansion, @VARIABLES@ are recommended way
|
||||||
now.
|
now.
|
||||||
+ [validator] SQL validator works also with SOAP PHP extension.
|
+ [validator] SQL validator works also with SOAP PHP extension.
|
||||||
|
- [interface] Better formatting for SQL validator results.
|
||||||
|
|
||||||
3.3.6.0 (not yet released)
|
3.3.6.0 (not yet released)
|
||||||
- bug #3031705 [core] Do not use CONCAT for DECIMAL fields.
|
- bug #3031705 [core] Do not use CONCAT for DECIMAL fields.
|
||||||
|
@@ -1250,7 +1250,11 @@ function PMA_showMessage($message, $sql_query = null, $type = 'notice', $is_view
|
|||||||
$validate_link = '';
|
$validate_link = '';
|
||||||
} //validator
|
} //validator
|
||||||
|
|
||||||
echo '<code class="sql">';
|
if (!empty($GLOBALS['validatequery'])) {
|
||||||
|
echo '<div class="sqlvalidate">';
|
||||||
|
} else {
|
||||||
|
echo '<code class="sql">';
|
||||||
|
}
|
||||||
if ($query_too_big) {
|
if ($query_too_big) {
|
||||||
echo $shortened_query_base;
|
echo $shortened_query_base;
|
||||||
} else {
|
} else {
|
||||||
@@ -1261,7 +1265,11 @@ function PMA_showMessage($message, $sql_query = null, $type = 'notice', $is_view
|
|||||||
if (! empty($GLOBALS['show_as_php'])) {
|
if (! empty($GLOBALS['show_as_php'])) {
|
||||||
echo '";';
|
echo '";';
|
||||||
}
|
}
|
||||||
echo '</code>';
|
if (!empty($GLOBALS['validatequery'])) {
|
||||||
|
echo '</div>';
|
||||||
|
} else {
|
||||||
|
echo '</code>';
|
||||||
|
}
|
||||||
|
|
||||||
echo '<div class="tools">';
|
echo '<div class="tools">';
|
||||||
// avoid displaying a Profiling checkbox that could
|
// avoid displaying a Profiling checkbox that could
|
||||||
|
@@ -1152,7 +1152,7 @@ label.desc {
|
|||||||
float: <?php echo $left; ?>;
|
float: <?php echo $left; ?>;
|
||||||
}
|
}
|
||||||
|
|
||||||
code.sql {
|
code.sql, div.sqlvalidate {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 0.3em;
|
padding: 0.3em;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
Reference in New Issue
Block a user