Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2013-05-28 12:28:29 +0400
committerMadhura Jayaratne <madhura.cj@gmail.com>2013-05-28 12:28:29 +0400
commit0456658eb82bfc3847b26ac447a7f9eee907153f (patch)
tree7417253bec1810a22a016112e5b1990b9e8369be /server_binlog.php
parent20249123ca06068b9776ca6f6ff1c8d6b88d1563 (diff)
Syntax highlighting for binlog table
Diffstat (limited to 'server_binlog.php')
-rw-r--r--server_binlog.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/server_binlog.php b/server_binlog.php
index 8fdb76fc96..b02520b686 100644
--- a/server_binlog.php
+++ b/server_binlog.php
@@ -123,7 +123,7 @@ $html .= PMA_Util::getMessage(PMA_Message::success());
/**
* Displays the page
*/
-$html .= '<table cellpadding="2" cellspacing="1">'
+$html .= '<table cellpadding="2" cellspacing="1" id="binlogTable">'
. '<thead>'
. '<tr>'
. '<td colspan="6" class="center">';
@@ -212,7 +212,8 @@ while ($value = $GLOBALS['dbi']->fetchAssoc($result)) {
. (isset($value['Orig_log_pos'])
? $value['Orig_log_pos'] : $value['End_log_pos'])
. '&nbsp;</td>'
- . '<td>&nbsp;' . htmlspecialchars($value['Info']) . '&nbsp;</td>'
+ . '<td><code class="sql"><pre>&nbsp;' . htmlspecialchars($value['Info'])
+ . '&nbsp;</pre></code></td>'
. '</tr>';
$odd_row = !$odd_row;