construct_breadcrumb(); // ################################################################### $latest = $controller->cachev->fetch_node(); $link['log'] = $controller->href_compound('log.php'); $show['head'] = ($latest['revision'] != $controller->revctx); if ($show['head']) { $link['gohead'] = $controller->href_compound('blame.php', null, Paths::fetch_rev_str(false, 'HEAD')); $link['diffhead'] = $controller->href_compound('diff.php', null, Paths::fetch_rev_str(true, 'HEAD', $contoller->revctx)); } $show['prev'] = ($prev = $controller->cachev->fetch_prev_revision($controller->revctx)); if ($show['prev']) { $link['diffprev'] = $controller->href_compound('diff.php', null, Paths::fetch_rev_str(true, $controller->revctx, $prev)); } // ################################################################### $blame = new SVNBlame($controller); $lines = ''; foreach ($blame->fetch() AS $entry) { $entry['view_link'] = $controller->href_compound('view.php', null, Paths::fetch_rev_str(false, $entry['rev'])); $entry['line_clean'] = SVNCommon::format($entry['line']); eval('$lines .= "' . $template->fetch('blame_line') . '";'); } // ################################################################### eval('$template->flush("' . $template->fetch('blame') . '");'); /*=====================================================================*\ || ################################################################### || # $HeadURL$ || # $Id$ || ################################################################### \*=====================================================================*/ ?>