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 ); |