Not used anywhere.

This commit is contained in:
Michal Čihař
2010-07-21 09:26:00 +02:00
parent eeae8bec21
commit ce9e7a9462

View File

@@ -2827,19 +2827,4 @@ $mapping = array(
return $mapping[$target]; return $mapping[$target];
} }
function PMA_js($code, $print=true)
{
// these generated newlines are needed
$out = '';
$out .= '<script type="text/javascript">'."\n";
$out .= "\n" . '// <![CDATA[' . "\n";
$out .= $code;
$out .= "\n" . '// ]]>' . "\n";
$out .= '</script>'."\n";
if ($print)
echo $out;
return $out;
}
?> ?>