Revision 91a33368
Von Sven Schöling vor mehr als 12 Jahren hinzugefügt
bin/mozilla/ct.pl | ||
---|---|---|
337 | 337 |
|
338 | 338 |
my $report = SL::ReportGenerator->new(\%::myconfig, $::form); |
339 | 339 |
|
340 |
my @options = $::locale->text('Search term') . ': ' . $::form->{search_term}; |
|
340 |
my @options; |
|
341 |
push @options, $::locale->text('Search term') . ': ' . $::form->{search_term} if $::form->{search_term}; |
|
342 |
for (qw(cp_name cp_givenname cp_title cp_email cp_abteilung cp_project)) { |
|
343 |
push @options, $column_defs{$_}{text} . ': ' . $::form->{filter}{$_} if $::form->{filter}{$_}; |
|
344 |
} |
|
345 |
if ($::form->{filter}{status}) { |
|
346 |
push @options, $::locale->text('Status') . ': ' . ( |
|
347 |
$::form->{filter}{status} =~ /active/ ? $::locale->text('Active') : |
|
348 |
$::form->{filter}{status} =~ /orphaned/ ? $::locale->text('Orphaned') : |
|
349 |
$::form->{filter}{status} =~ /all/ ? $::locale->text('All') : '' |
|
350 |
); |
|
351 |
} |
|
352 |
|
|
341 | 353 |
|
342 | 354 |
$report->set_options('top_info_text' => join("\n", @options), |
343 | 355 |
'output_format' => 'HTML', |
Auch abrufbar als: Unified diff
Ansprechpartnersuche: Filteroptionen lokalisieren