From: Frank Lichtenheld \n".sprintf( gettext( "%s is responsible for this Debian package." ).
- "\n",
- "$maint_name"
- );
- } else {
- my $up_str = "$maint_name";
- my @uploaders_str;
- foreach (@uploaders) {
- push @uploaders_str, "[1]\">$_->[0]";
+ my $uploaders = $page->get_src( 'uploaders' );
+ if ($uploaders && @$uploaders) {
+ foreach (@$uploaders) {
+ $_->[0] = encode_entities( $_->[0], '&<>' );
+ }
+ my ($maint_name, $maint_mail) = @{shift @$uploaders};
+ unless (@$uploaders) {
+ $str .= " \n".sprintf( gettext( "%s is responsible for this Debian package." ).
+ "\n",
+ "$maint_name"
+ );
+ } else {
+ my $up_str = "$maint_name";
+ my @uploaders_str;
+ foreach (@$uploaders) {
+ push @uploaders_str, "[1]\">$_->[0]";
+ }
+ my $last_up = pop @uploaders_str;
+ $up_str .= ", ".join ", ", @uploaders_str if @uploaders_str;
+ $up_str .= sprintf( gettext( " and %s are responsible for this Debian package." ), $last_up );
+ $str .= " \n$up_str ";
}
- my $last_up = pop @uploaders_str;
- $up_str .= ", ".join ", ", @uploaders_str if @uploaders_str;
- $up_str .= sprintf( gettext( " and %s are responsible for this Debian package." ), $last_up );
- $str .= " \n$up_str ";
}
- $str .= sprintf( gettext( "See the developer information for %s." )."
\n";
@@ -187,29 +187,31 @@ sub pmoreinfo {
}
if ($info{maintainers}) {
- my @uploaders = @{$page->get_src( 'uploaders' )};
- foreach (@uploaders) {
- $_->[0] = encode_entities( $_->[0], '&<>' );
- }
- my ($maint_name, $maint_mail ) = @{shift @uploaders};
- unless (@uploaders) {
- $str .= "\n";
foreach my $entry (@_) {
- $str .= " [0].gif\" alt=\"[$entry->[0]]\" width=\"16\" height=\"16\">= $entry->[1] ";
+ $str .= "[0].gif\" alt=\"[$entry->[0]]\" width=\"16\" height=\"16\">= $entry->[1] ";
}
$str .= "\n