/[webpac2]/trunk/lib/WebPAC/Output/TT.pm
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 /trunk/lib/WebPAC/Output/TT.pm

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

revision 340 by dpavlin, Tue Dec 27 23:24:36 2005 UTC revision 341 by dpavlin, Mon Jan 2 11:37:08 2006 UTC
# Line 169  filter to return links to search, usage Line 169  filter to return links to search, usage
169                          my $item = $data->{'data'}->{$display} || return;                          my $item = $data->{'data'}->{$display} || return;
170    
171                          return unless($item->{'display'});                          return unless($item->{'display'});
172                          die "error in TT template: field $display didn't insert anything into search, use d('$display') and not search('$display'...)" unless($item->{'search'});                          if (! $item->{'search'}) {
173                                    warn "error in TT template: field $display didn't insert anything into search, use d('$display') and not search('$display'...)";
174                                    return;
175                            }
176    
177                          my @warn;                          my @warn;
178                          foreach my $type (qw/display search/) {                          foreach my $type (qw/display search/) {

Legend:
Removed from v.340  
changed lines
  Added in v.341

  ViewVC Help
Powered by ViewVC 1.1.26