</tr>
<tr>
<td valign="top">
- <select name="removeselect[]" size="20" id="removeselect" multiple
- onFocus="document.assignform.add.disabled=true;
+ <select name="removeselect[]" size="20" id="removeselect" multiple="multiple"
+ onfocus="document.assignform.add.disabled=true;
document.assignform.remove.disabled=false;
- document.assignform.addselect.selectedIndex=-1;" />
+ document.assignform.addselect.selectedIndex=-1;">
<?php
foreach ($contextusers as $contextuser) {
$fullname = fullname($contextuser, true);
<br />
</td>
<td valign="top">
- <select name="addselect[]" size="20" id="addselect" multiple
- onFocus="document.assignform.add.disabled=false;
+ <label for="addselect"><?php print_string('potentialusers', 'role', $usercount); ?></label>
+ <br />
+ <select name="addselect[]" size="20" id="addselect" multiple="multiple"
+ onfocus="document.assignform.add.disabled=false;
document.assignform.remove.disabled=true;
document.assignform.removeselect.selectedIndex=-1;">
<?php
</select>
<br />
<input type="text" name="searchtext" size="30" value="<?php p($searchtext, true) ?>"
- onFocus ="document.assignform.add.disabled=true;
+ onfocus ="document.assignform.add.disabled=true;
document.assignform.remove.disabled=true;
document.assignform.removeselect.selectedIndex=-1;
document.assignform.addselect.selectedIndex=-1;"