mirror of
https://github.com/atlanticbiomedical/portal-legacy.git
synced 2025-07-02 01:47:28 -04:00
initial commit
This commit is contained in:
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* @package PhpMyAdmin-Transformation
|
||||
*/
|
||||
|
||||
function PMA_transformation_text_plain__sql_info()
|
||||
{
|
||||
return array(
|
||||
'info' => __('Formats text as SQL query with syntax highlighting.'),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
function PMA_transformation_text_plain__sql($buffer, $options = array(), $meta = '')
|
||||
{
|
||||
$result = PMA_SQP_formatHtml(PMA_SQP_parse($buffer));
|
||||
// Need to clear error state not to break subsequent queries display.
|
||||
PMA_SQP_resetError();
|
||||
return $result;
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user