From 3018426e06ffd0b057232c22558eefd82bf45af7 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 22 Jan 2006 21:00:31 +0000 Subject: [PATCH] Fixing diff.php display --- diff.php | 2 ++ templates/default/diff.tpl | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/diff.php b/diff.php index 949204d..ed3bfad 100644 --- a/diff.php +++ b/diff.php @@ -50,6 +50,7 @@ if ($high == 'HEAD') if ($low == 0) { $low = $controller->cachev->fetch_prev_revision($high); + $low = $low['revision']; } // ################################################################### @@ -63,6 +64,7 @@ if ($show['fullchangeset']) $log = $controller->cachev->fetch_revision($high); $log['message_clean'] = SVNCommon::format_log_message($log['message']); +$log['date'] = SVNCommon::format_date_string($log['dateline']); $files = SVNCommon::construct_file_changes($log['files'], $controller->repos, $high); diff --git a/templates/default/diff.tpl b/templates/default/diff.tpl index 93c37b3..0852b60 100644 --- a/templates/default/diff.tpl +++ b/templates/default/diff.tpl @@ -20,9 +20,9 @@ $header
-
{@"Revision"}: $log[rev]
+
{@"Revision"}: $log[revision]
{@"Author"}: $log[author]
-
{@"Date"}: $log[date] $log[timezone]
+
{@"Date"}: $log[date]
{@"Message"}: $log[message_clean]
{@"File Changes"}
-- 2.43.5