From: Sven Schöling Date: Fri, 25 Jan 2008 14:36:25 +0000 (+0000) Subject: Kosmetik X-Git-Tag: release-2.6.0beta1~282 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=47eb3e455046c41ba2ad1c14bee85bb98ffb3244;p=kivitendo-erp.git Kosmetik --- diff --git a/bin/mozilla/ct.pl b/bin/mozilla/ct.pl index 2275c7ff5..bc4f42829 100644 --- a/bin/mozilla/ct.pl +++ b/bin/mozilla/ct.pl @@ -110,23 +110,14 @@ sub list_names { my @options; if ($form->{status} eq 'all') { push @options, $locale->text('All'); - } elsif ($form->{status} eq 'orphaned') { push @options, $locale->text('Orphaned'); } - if ($form->{name}) { - push @options, $locale->text('Name') . " : $form->{name}"; - } - if ($form->{contact}) { - push @options, $locale->text('Contact') . " : $form->{contact}"; - } - if ($form->{"$form->{db}number"}) { - push @options, $locale->text('Number') . qq| : $form->{"$form->{db}number"}|; - } - if ($form->{email}) { - push @options, $locale->text('E-mail') . " : $form->{email}"; - } + push @options, $locale->text('Name') . " : $form->{name}" if $form->{name}; + push @options, $locale->text('Contact') . " : $form->{contact}" if $form->{contact}; + push @options, $locale->text('Number') . qq| : $form->{"$form->{db}number"}| if $form->{"$form->{db}number"}; + push @options, $locale->text('E-mail') . " : $form->{email}" if $form->{email}; my @columns = ( 'id', 'name', "$form->{db}number", 'address', 'contact', 'phone',