usemenuforusers: multiple Cc proposal and code

Martin d'Anjou Martin.Danjou at neterion.com
Fri Jun 10 19:48:50 UTC 2005


Hi,

I have tried a minor change on my bugzilla installation to allow selection 
of multiple users in Cc: fields when entering/editing bugs.

The multiple Cc involves simple a simple change to userselect.html.tmpl:

[% IF Param("usemenuforusers") %]
<select name="[% name FILTER html %]"
  [% IF multiple %] multiple
                    size="[% multiple_size FILTER html %]"
  [% END %]
  [% IF onchange %] onchange="[% onchange FILTER html %]" [% END %]
  [% IF accesskey %] accesskey="[% accesskey FILTER html %]" [% END %]
>
... no changes to rest of code in userselect.html.tmpl

Where ever userselect is used in the templates to create a Cc list, you 
can add the following two lines to get a list where multiple users can be 
picked:

multiple => 1
multiple_size => 5   or a value you like for your install

Should I post this to https://bugzilla.mozilla.org/show_bug.cgi?id=251669

Regards,
Martin




More information about the developers mailing list