Skip to content

Commit

Permalink
Make required modules selection clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Jun 4, 2011
1 parent 7f9925d commit d0aff9c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 9 additions & 4 deletions cpan/index.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,15 @@ if (@recs) {
print &ui_form_start("download.cgi");
print &ui_hidden("source", 3),"\n";
print "$text{'index_recs'}<p>\n";
print &ui_select("cpan", [ map { $_->[0] } @recs ],
[ map { [ $_->[0], &text('index_user',
$_->[0], $_->[1]->{'desc'}) ] } @allrecs ],
5, 1),"<br>\n";
print &ui_multi_select("cpan",
[ map { [ $_->[0],
&text('index_user', $_->[0], $_->[1]->{'desc'}) ] }
@recs ],
[ map { [ $_->[0],
&text('index_user', $_->[0], $_->[1]->{'desc'}) ] }
@allrecs ],
20, 1, 0,
$text{'index_allmods'}, $text{'index_wantmods'}, 300),"<br>\n";
print &ui_submit($text{'index_recsok'});
print &ui_form_end();
}
Expand Down
2 changes: 2 additions & 0 deletions cpan/lang/en
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ index_none=No installed Perl modules were found on your system.
index_tabmods=Existing modules
index_tabinstall=Install module
index_tabsuggest=Suggested modules
index_allmods=All modules used by Webmin
index_wantmods=Modules to install

download_err=Failed to install module
download_elocal=No local file given
Expand Down

0 comments on commit d0aff9c

Please sign in to comment.