/[Grep]/share/web/templates/fragments/event/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

Contents of /share/web/templates/fragments/event/results

Parent Directory Parent Directory | Revision Log Revision Log


Revision 28 - (show annotations)
Mon Feb 19 16:28:00 2007 UTC (17 years, 3 months ago) by dpavlin
File size: 428 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 <%args>
2 $event
3 </%args>
4 <%init>
5
6 use Data::Dump qw/dump/;
7 #warn "event = ",dump($$event);
8
9 my $coll = $$event->{coll} || die "no coll in incomming object";
10 die "no item_fragment in event" unless ($$event->{item_fragment});
11
12 warn "adding ", $coll->count, " results from event";
13
14 </%init>
15 <div class="results">
16 % while ( my $i = $coll->next ) {
17 <& '/fragments/item/' . $$event->{item_fragment}, item => $i &>
18 % }
19 </div>
20 ** EOF **

  ViewVC Help
Powered by ViewVC 1.1.26