From 2b836e3936da01345021bf4f54c0fdb567403fd9 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 21 Apr 2007 18:28:11 +0000 Subject: [PATCH] We now have the high revision link working on diff.php --- diff.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/diff.php b/diff.php index 1341da4..b5ec790 100644 --- a/diff.php +++ b/diff.php @@ -80,8 +80,9 @@ foreach ($diff->fetch() AS $filename => $file) 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 @@ -143,4 +144,4 @@ eval('$template->flush("' . $template->fetch('diff') . '");'); || # $Id$ || ################################################################### \*=====================================================================*/ -?> +?> \ No newline at end of file -- 2.43.5