[Rt-commit] r16006 - in rt/3.8/trunk: share/html/Search/Elements
elacour at bestpractical.com
elacour at bestpractical.com
Wed Sep 17 04:07:22 EDT 2008
Author: elacour
Date: Wed Sep 17 04:07:21 2008
New Revision: 16006
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/share/html/Search/Elements/ResultViews
Log:
r10724 at datura: manu | 2008-09-17 10:06:41 +0200
Add a callback to allow extensions to add a new link after tools (iCal, RSS,
...) in search results.
Modified: rt/3.8/trunk/share/html/Search/Elements/ResultViews
==============================================================================
--- rt/3.8/trunk/share/html/Search/Elements/ResultViews (original)
+++ rt/3.8/trunk/share/html/Search/Elements/ResultViews Wed Sep 17 04:07:21 2008
@@ -61,6 +61,8 @@
<li><a href="<%$RSSFeedURL%>"><&|/l&>RSS</&></a></li>
<li><a href="<%RT->Config->Get('WebURL')%>/NoAuth/iCal/<% $ical_path %>"><% loc('iCal') %></a></li>
<li><a href="<%RT->Config->Get('WebPath')%>/Tools/Offline.html<%$ShortQueryString%>"><&|/l&>Editable text</&></a></li>
+% # Now let callbacks add their extra tools
+% $m->callback( %ARGS, CallbackName => 'AfterTools' );
</ul>
<form method="get" action="<%RT->Config->Get('WebPath')%>/Search/Chart.html">
% my %hiddens = (Query => $Query, Format => $Format, Rows => $Rows, OrderBy => $OrderBy, Order => $Order);
More information about the Rt-commit
mailing list