'
. '';
}
}
$output .= '
'; // .console_message_container
$output .= ''
. __('Press Ctrl+Enter to execute query')
. '
';
// History support
$_sql_history = PMA_getHistory($GLOBALS['cfg']['Server']['user']);
if ($_sql_history) {
foreach (array_reverse($_sql_history) as $record) {
$isSelect = preg_match(
'@^SELECT[[:space:]]+@i', $record['sqlquery']
);
$output .= ''
. sprintf(
$tpl_query_actions,
htmlspecialchars($record['db']),
(isset($record['timevalue'])
? $record['timevalue']
: __('During current session')
)
)
. '
'
. htmlspecialchars($record['sqlquery'])
. ''
. ''
. '
';
$output .= '