/[BackupPC]/trunk/lib/BackupPC/CGI/SearchArchives.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/BackupPC/CGI/SearchArchives.pm

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

revision 17 by dpavlin, Mon Jul 11 13:22:38 2005 UTC revision 19 by dpavlin, Mon Jul 11 14:32:40 2005 UTC
# Line 98  $subtitle Line 98  $subtitle
98          my $result;          my $result;
99          my $rows = "";          my $rows = "";
100    
101          my $grid = BackupPC::SearchLib::displayGrid( BackupPC::SearchLib::getWhere(\%In), 1, $In{'offset'}, $In{'search_filename'});          my ($where, $from_f, $to_f, $from_b, $to_b) = BackupPC::SearchLib::getWhere(\%In);
102    
103            my $q = $In{'search_filename'};
104    
105            $cont .= "<small>";
106            $cont .= "Filename filter: $q</br>" if ($q);
107            $cont .= "Files date limit: $from_f - $to_f</br>" if ($from_f && $to_f);
108            $cont .= "Backup date limit: $from_b - $to_b</br>" if ($from_b && $to_b);
109            $cont .= "</small>";
110    
111            my $grid = BackupPC::SearchLib::displayGrid( $where, 1, $In{'offset'}, $q);
112          $cont .= $grid;          $cont .= $grid;
113      }      }
114      Header( eval("qq{$Lang->{Search_archive}}"), "", 1, "", $cont );      Header( eval("qq{$Lang->{Search_archive}}"), "", 1, "", $cont );

Legend:
Removed from v.17  
changed lines
  Added in v.19

  ViewVC Help
Powered by ViewVC 1.1.26