From 9c775afca46c51d4161f22c90022fc1e46df1d1f Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 17 Jun 2009 00:39:52 -0600 Subject: [PATCH] Reuse diff graphic. --- chora/browsefile.php | 1 + chora/templates/log/rev.inc | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/chora/browsefile.php b/chora/browsefile.php index dd35aa1dd..ac7ee6f5b 100644 --- a/chora/browsefile.php +++ b/chora/browsefile.php @@ -56,6 +56,7 @@ require CHORA_TEMPLATES . '/headerbar.inc'; require CHORA_TEMPLATES . '/log/header.inc'; $i = 0; +$diff_img = Horde::img('diff.png'); reset($logs); while (list(,$lg) = each($logs)) { $rev = $lg->queryRevision(); diff --git a/chora/templates/log/rev.inc b/chora/templates/log/rev.inc index 701949193..0271e3642 100644 --- a/chora/templates/log/rev.inc +++ b/chora/templates/log/rev.inc @@ -1,9 +1,9 @@ - "> + "> - " onclick="Chora_RevLog.sdiff(this);"> + " onclick="Chora_RevLog.sdiff(this);"> abbrev($rev)) ?> -- 2.11.0