in['repos'], $input->in['rev']);
// ###################################################################
/*$logmsg = $controller->cachev->fetch_revision($controller->revctx);
unset($logmsg['files']);
$logmsg['message_clean'] = SVNCommon::format_log_message($logmsg['message']);
$logmsg['date'] = SVNCommon::format_date_string($logmsg['dateline']);*/
$catdata = $lib->run('cat -r' . $revision->revision . ' ' . $lib->arg($repos->fetchPath($input->in['repos']) . $input->in['path']), true);
// ###################################################################
$show['props'] = false;
$proplist = '';
if (sizeof($latest['properties']) > 0)
{
$show['props'] = true;
foreach ($latest['properties'] AS $propname => $propval)
{
$data = sprintf($lang->string('Property %1$s set to %2$s'), $propname, $propval);
eval('$proplist .= "' . $template->fetch('property') . '";');
}
}
// ###################################################################
// get language information
require_once('./includes/file_types.php');
$extension = BSFunctions::FetchExtension($input->in['path']);
$language = (isset($filetypes["$extension"]) ? $filetypes["$extension"] : null);
// initialize GeSHi
$mtstart = microtime();
require_once('./includes/geshi/geshi.php');
$geshi = new Geshi($catdata, $language[MIMES_GESHI_LANGUAGE]);
// use CSS
$geshi->enable_classes();
// header
$geshi->set_header_type(GESHI_HEADER_DIV);
// disable links
$urls = (isset($geshi->language_data['URLS']) ? array_keys($geshi->language_data['URLS']) : array());
foreach ($urls AS $key)
{
$geshi->set_url_for_keyword_group($key, '');
}
// don't do anything stupid
$geshi->set_case_keywords(GESHI_CAPS_NO_CHANGE);
// encoding
$geshi->set_encoding('UTF-8');
// tab width
$geshi->set_tab_width(5);
// parse the code
$catdata = $geshi->parse_code();
BSRegister::Debug("time in GeSHi = " . BSFunctions::FetchMicrotimeDiff($mtstart));
// ###################################################################
eval('$template->flush("' . $template->fetch('view') . '");');
/*=====================================================================*\
|| ###################################################################
|| # $HeadURL$
|| # $Id$
|| ###################################################################
\*=====================================================================*/
?>