From 47eb3e455046c41ba2ad1c14bee85bb98ffb3244 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 25 Jan 2008 14:36:25 +0000 Subject: [PATCH] Kosmetik --- bin/mozilla/ct.pl | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) 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', -- 2.20.1