From: Michael M Slusarz Date: Tue, 3 Feb 2009 06:53:02 +0000 (-0700) Subject: Proper format for these widget links. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=5f0c4e2ffc26d04e3208728f078aeda78aecce36;p=horde.git Proper format for these widget links. --- 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();