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

Diff of /share/web/templates/fragments/results

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 47 by dpavlin, Tue Feb 20 21:55:24 2007 UTC revision 48 by dpavlin, Wed Feb 21 12:52:41 2007 UTC
# Line 19  if ( $result and $result->content('searc Line 19  if ( $result and $result->content('searc
19    
20  warn "notes: ",dump($result->message, $result->error) if ($result);  warn "notes: ",dump($result->message, $result->error) if ($result);
21    
22  my $i = 1;  my $num = 1;
23    
24  </%init>  </%init>
25  % if ($result and $result->message) {  % if ($result and $result->message) {
# Line 34  my $i = 1; Line 34  my $i = 1;
34  % }  % }
35  % if ($coll) {  % if ($coll) {
36  <div class="results">  <div class="results">
37  %       while ( my $i = $coll->next and $i++ <= $max ) {  %       while ( my $i = $coll->next and $num++ <= $max ) {
38  <& "/fragments/item/$item_fragment", item => $i &>  <& "/fragments/item/$item_fragment", item => $i &>
39  %       }  %       }
40  </div>  </div>
41  %       if ($i > $max) {  %       if ($num > $max) {
42  <div class="grep-note">  <div class="grep-note">
43  <div class="message">  <div class="message">
44  Found more than <% $max %> results for '<% $q %>', refine search query....  Found more than <% $max %> results for '<% $q %>', refine search query....

Legend:
Removed from v.47  
changed lines
  Added in v.48

  ViewVC Help
Powered by ViewVC 1.1.26