Add links to documentation

This commit is contained in:
Jakub Vrana
2013-07-16 18:37:33 -07:00
parent ddd5c7586b
commit 6f6f69a891
7 changed files with 65 additions and 19 deletions

View File

@@ -22,10 +22,9 @@ foreach (process_list() as $i => $row) {
if (!$i) {
echo "<thead><tr lang='en'>" . (support("kill") ? "<th>&nbsp;" : "");
foreach ($row as $key => $val) {
echo "<th>" . ($jush == "sql"
? "<a href='http://dev.mysql.com/doc/refman/" . substr($connection->server_info, 0, 3) . "/en/show-processlist.html#processlist_" . strtolower($key) . "' target='_blank' rel='noreferrer' class='help'>$key</a>"
: $key
);
echo "<th>$key"
. ($jush == "sql" ? doc_link("show-processlist.html#processlist_" . strtolower($key)) : "")
;
}
echo "</thead>\n";
}