diff options
author | Marc Delisle <marc@infomarc.info> | 2013-05-27 20:52:27 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2013-05-27 20:52:27 +0400 |
commit | 70c25451e2da494e10bcc5e7b4fef45486b18e62 (patch) | |
tree | bb883d9546b215fc10ff9514ef285f9b658724b1 /server_status.php | |
parent | c9eb61b18e3ef7bf2980e2271906b9750a2db0be (diff) |
Use CodeMirror to highlight in the processes list
Diffstat (limited to 'server_status.php')
-rw-r--r-- | server_status.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server_status.php b/server_status.php index 8780b0aa0c..a38cdf5422 100644 --- a/server_status.php +++ b/server_status.php @@ -532,7 +532,9 @@ function PMA_getTableProcesslistHtml($ServerStatusData) if (! $show_full_sql && strlen($process['Info']) > $GLOBALS['cfg']['MaxCharactersInDisplayedSQL']) { $retval .= htmlspecialchars(substr($process['Info'], 0, $GLOBALS['cfg']['MaxCharactersInDisplayedSQL'])) . '[...]'; } else { - $retval .= PMA_SQP_format(PMA_SQP_parse($process['Info'])); + $retval .= '<code class="sql"><pre>' + . $process['Info'] + . '</pre></code>'; } } $retval .= '</td>'; |