/[Grep]/share/web/templates/fragments/local_results
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /share/web/templates/fragments/local_results

Parent Directory Parent Directory | Revision Log Revision Log


Revision 28 - (hide annotations)
Mon Feb 19 16:28:00 2007 UTC (17 years, 3 months ago) by dpavlin
File size: 359 byte(s)
sweeping changes to include PubSub backend JiftyDBI to make publishing work,
re-organize templates into (hopefully) more meaningful hierarchy,
and a new Search action to drive it all.
1 dpavlin 24 <%args>
2     $q
3     </%args>
4     <%init>
5     my $search = Jifty->web->new_action(
6     class => 'SearchItem',
7     moniker => 'local-search',
8     arguments => {
9     content_contains => $q,
10     },
11     sticky_on_success => 1,
12     );
13    
14     $search->run or die "can't run?";
15     </%init>
16     <div class="right">
17 dpavlin 28 <& '/fragments/results', coll => $search->result->content('search'), item_fragment => 'short' &>
18 dpavlin 24 </div>

  ViewVC Help
Powered by ViewVC 1.1.26