/[webpac]/trunk/WebPac.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/WebPac.pm

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

revision 53 by dpavlin, Sun Jun 1 18:49:49 2003 UTC revision 71 by dpavlin, Sat Jul 5 21:35:44 2003 UTC
# Line 20  my $TEMPLATE_PATH = '/data/webpac/templa Line 20  my $TEMPLATE_PATH = '/data/webpac/templa
20  my $CHARSET = 'ISO-8859-2';  my $CHARSET = 'ISO-8859-2';
21  my $SWISH = '/usr/bin/swish-e';  my $SWISH = '/usr/bin/swish-e';
22  my $INDEX = '/data/webpac/index/isis.index';  my $INDEX = '/data/webpac/index/isis.index';
23  my $MAX_HITS = 500;  my $MAX_HITS = 0;
24  my $ON_PAGE = 10;  my $ON_PAGE = 10;
25    
26  Text::Iconv->raise_error(0);     # Conversion errors raise exceptions  Text::Iconv->raise_error(0);     # Conversion errors raise exceptions
# Line 75  sub show_results_list { Line 75  sub show_results_list {
75          my @path_arr = $q->param('path');          my @path_arr = $q->param('path');
76          my $full = $q->param('full');          my $full = $q->param('full');
77    
78          for(my $i = 1; $i <=10; $i++) {          for(my $i = 1; $i <=30; $i++) {
79    
80                  return show_index($self, $i) if ($q->param("f".$i."_index"));                  return show_index($self, $i) if ($q->param("f".$i."_index"));
                 next if (! $q->param("f$i"));  
81                  next if (! $q->param("v$i"));                  next if (! $q->param("v$i"));
82                    next if (! $q->param("f$i"));
83    
84                  # re-write query from +/- to and/and not                  # re-write query from +/- to and/and not
85                  my $s;                  my $s;

Legend:
Removed from v.53  
changed lines
  Added in v.71

  ViewVC Help
Powered by ViewVC 1.1.26