1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-11-01 23:14:58 +03:00

Syntax highlighting for some system tables

This commit is contained in:
Madhura Jayaratne
2013-10-18 17:34:40 +05:30
parent 7b63d04f6a
commit 8ea2ce5f23

View File

@@ -2831,8 +2831,7 @@ class PMA_DisplayResults
if ($this->_isNeedToSyntaxHighlight($meta->name)
&& (trim($row[$i]) != '')
) {
$row[$i] = PMA_Util::formatSql($row[$i]);
$row[$i] = '<code class="sql">' . PMA_Util::formatSql($row[$i]) . '</code>';
include_once $this->transformation_info[strtolower($this->__get('db'))][strtolower($this->__get('table'))][strtolower($meta->name)][0];
$transformation_plugin = new $this->transformation_info
[strtolower($this->__get('db'))]