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

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

revision 164 by dpavlin, Sat Nov 22 22:04:05 2003 UTC revision 190 by dpavlin, Sat Nov 29 19:11:23 2003 UTC
# Line 109  sub show_results_list { Line 109  sub show_results_list {
109    
110                  push @persist_vars, "f$i";                  push @persist_vars, "f$i";
111                  push @persist_vars, "v$i";                  push @persist_vars, "v$i";
112                    push @persist_vars, "e$i" if ($q->param("e$i"));
113    
114                  push @url_params,"f$i=".$q->url_param("f$i");                  push @url_params,"f$i=".$q->url_param("f$i");
115                  foreach my $v ($q->url_param("v$i")) {                  foreach my $v ($q->url_param("v$i")) {
116                          push @url_params,"v$i=$v";                          push @url_params,"v$i=$v";
117                  }                  }
118                    push @url_params,"e$i=".$q->url_param("e$i");
119    
120                  my $wc="*";     # swish wildcard                  my $wc="*";     # swish wildcard
121                  $wc="" if ($i eq "");   # don't apply wildcard on field 0                  $wc="" if ($i eq "");   # don't apply wildcard on field 0
# Line 140  sub show_results_list { Line 142  sub show_results_list {
142                          if ($q->param("e$i")) {                          if ($q->param("e$i")) {
143                                  $pre = '"' if (! $pre);                                  $pre = '"' if (! $pre);
144                                  $post = '"' if (! $post);                                  $post = '"' if (! $post);
145                                  $wc = '';       # don't use windcard in exact                                  # what about wildcards?
146                                    $wc = '';
147                                    $wc = '*' if ($q->param("e$i") & 4);
148                                  $exact = '_exact';                                  $exact = '_exact';
149                          }                          }
150    

Legend:
Removed from v.164  
changed lines
  Added in v.190

  ViewVC Help
Powered by ViewVC 1.1.26