if ($key == 'hunk' AND isset($line['old']))
{
$filepath = ($isdir ? $controller->path . $filename : $controller->path);
- // $rlow = $controller->href_struct('view.php' . Paths::fetch_rev_str(false, $low), $filepath);
- // $rhigh = $controller->href_struct('view.php' . Paths::fetch_rev_str(false, $high), $filepath);
+ // $rlow = ConstructLink('view', $input->in['repos'], $filename, $)
+ $high = $revision->revision;
+ $rhigh = ConstructLink('view', $input->in['repos'], $filename, $revision->revision);
$show['hunk'] = true;
}
else
|| # $Id$
|| ###################################################################
\*=====================================================================*/
-?>
+?>
\ No newline at end of file