From 5f0c4e2ffc26d04e3208728f078aeda78aecce36 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 2 Feb 2009 23:53:02 -0700 Subject: [PATCH] Proper format for these widget links. --- chora/co.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/chora/co.php b/chora/co.php index ab30a1378..dc325861b 100644 --- a/chora/co.php +++ b/chora/co.php @@ -68,9 +68,12 @@ if (!$plain) { basename($fullname), $r, Chora::readableTime($log->queryDate(), true)); - $extraLink = sprintf('%s | %s', - Chora::url('annotate', $where, array('rev' => $r)), _("Annotate"), - Chora::url('co', $where, array('r' => $r, 'p' => 1)), _("Download")); + + $views = array( + Horde::widget(Chora::url('annotate', $where, array('rev' => $r)), _("Annotate"), 'widget', '', '', _("_Annotate")), + Horde::widget(Chora::url('co', $where, array('r' => $r, 'p' => 1)), _("Download"), 'widget', '', '', _("_Download")) + ); + $extraLink = _("View:") . ' ' . implode(' | ', $views); $tags = Chora::getTags($log, $where); $branch_info = $log->queryBranch(); -- 2.11.0