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

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

revision 686 by dpavlin, Mon Feb 28 10:43:38 2005 UTC revision 687 by dpavlin, Tue Mar 1 19:32:23 2005 UTC
# Line 186  sub make_pager_vars { Line 186  sub make_pager_vars {
186          foreach my $v (@persist_vars) {          foreach my $v (@persist_vars) {
187                  foreach my $val ($q->param($v)) {                  foreach my $val ($q->param($v)) {
188                          next if (! $val || $val eq '');                          next if (! $val || $val eq '');
189                            $val =~ s/"/&quote;/g;
190                          $hidden_vars .= '<input type="hidden" name="'.$v.'" value="'.$val.'"/>'."\n";                          $hidden_vars .= '<input type="hidden" name="'.$v.'" value="'.$val.'"/>'."\n";
191                          $hidden_search .= '<input type="hidden" name="'.$v.'" value="'.$val.'"/>'."\n" if ($v ne "rm");                          $hidden_search .= '<input type="hidden" name="'.$v.'" value="'.$val.'"/>'."\n" if ($v ne "rm");
192                  }                  }
# Line 484  sub show_index { Line 485  sub show_index {
485          $tmpl->param('field',$field);          $tmpl->param('field',$field);
486          $tmpl->param('limit',$limit);          $tmpl->param('limit',$limit);
487          $tmpl->param('total',$total);          $tmpl->param('total',$total);
488            $tmpl->param('filter',$filter);
489    
490  # FIXME I should set offset and leave out limit from fetch!!  # FIXME I should set offset and leave out limit from fetch!!
491  #       if (! $q->param("PAGER_offset") {  #       if (! $q->param("PAGER_offset") {

Legend:
Removed from v.686  
changed lines
  Added in v.687

  ViewVC Help
Powered by ViewVC 1.1.26