Committer: wisest-owl
LJSUP-13388: Add ability to add a custom option to selectU trunk/cgi-bin/weblib.pl
Modified: trunk/cgi-bin/weblib.pl =================================================================== --- trunk/cgi-bin/weblib.pl 2012-12-06 15:28:40 UTC (rev 23437) +++ trunk/cgi-bin/weblib.pl 2012-12-07 08:56:41 UTC (rev 23438) @@ -196,7 +196,7 @@ 'class' => 'hideable', }, ## We loaded all users in LJ::get_authas_list(). Here we use their singletons. - map { my $u = LJ::load_user ($_); ($_, $u->display_name) } @list) . " "; + (map { my $u = LJ::load_user ($_); ($_, $u->display_name) } @list), @{$opts->{'add_fields'}} ) . " "; $ret .= $opts->{'button_tag'} . LJ::html_submit(undef, $opts->{'button'} || $BML::ML{'web.authas.btn'}) . $opts->{'button_close_tag'}; return $ret; }