SyntaxHighlighter.config.clipboardSwf = '{$this->component_path}script/clipboard.swf';
SyntaxHighlighter.all();
dpScript;
Context::addHtmlFooter($js_code);
Context::addCSSFile($this->component_path.'style/shCore.css');
Context::addCSSFile($this->component_path.'style/shThemeDefault.css');
Context::addJsFile($this->component_path.'script/shCore.js');
}
Context::addJsFile($this->component_path.'script/shBrush'.$code_type.'.js');
$output = null;
if($option_file_path != null || $option_description != null) {
$output .= '';
if($option_file_path != null) $output .= ''.$option_file_path.'';
if($option_description != null) $output .= ''.$option_description.'';
$output .= '
';
}
$output .= sprintf('%s
', strtolower($code_type), $option, $body);
return $output;
}
}