code_highlight.kwd.php code_highlight.c.kwd.php code_highlight.css code_highlight.d.kwd.php code_highlight.inc.php code_highlight.java.kwd.php
require_once "code_highlight.inc.php"; # added
function convert_html($lines)
{
global $script,$vars,$digest;
static $contents_id = 0;
if (!is_array($lines))
{
$lines = explode("\n",$lines);
}
$digest = md5(join('',get_source($vars['page'])));
$highlight = new CodeHighlight; # added
$lines = $highlight->parser($lines); # added
$body = new Body(++$contents_id);
$body->parse($lines);
$ret = $body->toString();
$ret = $highlight->replacer($ret); # added
return $ret;
}@import "../code_highlight.css";
#access