require_once('./global.php');
-$navbar = $viewsvn->paths->construct_breadcrumb($viewsvn->paths->path);
+$navbar = $controller->construct_breadcrumb();
// ###################################################################
-$latest = $cachev->fetch_node($viewsvn->paths->relpath);
+$latest = $controller->cachev->fetch_node($viewsvn->paths->relpath);
$link['log'] = $viewsvn->paths->out('log.php' . $viewsvn->paths->revstr, $viewsvn->paths->path);
$link['diffhead'] = $viewsvn->paths->out('diff.php' . $viewsvn->paths->fetch_rev_str(true, 'HEAD', $viewsvn->paths->revnum), $viewsvn->paths->path);
}
-$show['prev'] = ($prev = $cachev->fetch_prev_revision($viewsvn->paths->relpath, $viewsvn->paths->revnum));
+$show['prev'] = ($prev = $controller->cachev->fetch_prev_revision($viewsvn->paths->relpath, $viewsvn->paths->revnum));
if ($show['prev'])
{
$link['diffprev'] = $viewsvn->paths->out('diff.php' . $viewsvn->paths->fetch_rev_str(true, $viewsvn->paths->revnum, $prev), $viewsvn->paths->path);
// ###################################################################
-$logmsg = $cachev->fetch_revision($latest['revision']);
+$logmsg = $controller->cachev->fetch_revision($latest['revision']);
unset($logmsg['files']);
-$logmsg['message_clean'] = $viewsvn->svn->format_log_message($logmsg['message']);
-$logmsg['date'] = $viewsvn->svn->format_date_string($logmsg['dateline']);
+$logmsg['message_clean'] = SVNCommon::format_log_message($logmsg['message']);
+$logmsg['date'] = SVNCommon::format_date_string($logmsg['dateline']);
-$catdata = implode("\n", $viewsvn->svn->cat($viewsvn->paths->repos, $viewsvn->paths->relpath, $viewsvn->paths->revnum));
+$catdata = implode("\n", $controller->library->cat($viewsvn->paths->repos, $viewsvn->paths->relpath, $viewsvn->paths->revnum));
// get language information
require_once('./includes/file_types.php');