"> | |
" . htmlspecialchars($query) . "
" . lang('Edit') . "\n", $query);
}
/** Descriptions of selected data
* @param array all data to print
* @param array foreign keys
* @return array
*/
function adminer_row_descriptions($rows, $foreign_keys) {
return call_adminer('row_descriptions', $rows, $rows, $foreign_keys);
}
/** Value printed in select table
* @param string escaped value to print
* @param string link to foreign key
* @return string
*/
function adminer_select_val($val, $link) {
return call_adminer('select_val', ($link ? '' . $val . '' : $val), $val, $link);
}
/** Query printed after execution in the message
* @param string executed query
* @return string
*/
function adminer_message_query($query) {
global $SELF;
$id = "sql-" . count($_SESSION["messages"]);
$_SESSION["history"][$_GET["server"]][$_GET["db"]][] = $query;
return call_adminer('message_query', " " . lang('SQL command') . "
" . htmlspecialchars($query) . '' . lang('Edit') . '
\n";
foreach ($table_status as $row) {
echo '' . lang('select') . ' ';
echo '' . adminer_table_name($row) . "
\n";
}
}
echo '
' . lang('Create new table') . "\n"; } } }