diff --git a/plugins/personal/environment/hotplugDialog.tpl b/plugins/personal/environment/hotplugDialog.tpl
index ec8bff1b13ce0c9e295137394d0bb010370f6b7d..ddc810599953a6f929492efe39cba8a2e0ebc778 100644 (file)
-<h2><img alt="" src="images/hotplug.png" align="middle"> {t}Add hotplug devices{/t}</h2>
+<h2><img class="center" alt="" src="images/hotplug.png" align="middle"> {t}Add hotplug devices{/t}</h2>
<input type="hidden" name="dialogissubmitted" value="1">
</div>
<div class="contentboxb">
<p class="contentboxb" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
- <select style="width:600px;height:450px" size=20 name="hotplugName" id="hotplugName">
- {html_options values=$hotplugDeviceKeys output=$hotplugDevices}
+ <select style="width:600px;height:450px" size=20 name="hotplugName[]" id="hotplugName" multiple>
+ {html_options values=$hotplugDeviceKeys output=$hotplugDevices}
<option disabled> </option>
</select><br>
</p>
<table summary="" width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
<tr>
<td>
- <img alt="" src="{$tree_image}" align=middle>
+ <img class="center" alt="" src="{$tree_image}" align=middle>
<select name="depselectHot" size=1 onChange="mainform.submit()" title="{t}Choose the department the search will be based on{/t}">
{html_options options=$deplistHot selected=$depselectHot}
</select>
<table summary="" width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
<tr>
<td>
- <LABEL for='filter'><img alt="Search" src="{$search_image}" align="middle" title="{t}Display users matching{/t}">
+ <LABEL for='filter'><img class="center" alt="Search" src="{$search_image}" align="middle" title="{t}Display users matching{/t}">
</LABEL>
</td>
<td width="99%">
<input type="submit" name="HotPlugSave" value="{t}Add{/t}">
<input type="submit" name="HotPlugCancel" value="{t}Cancel{/t}">
</p>
-
+<script language="JavaScript" type="text/javascript">
+ <!-- // First input field on page
+ document.mainform.hotplugName.focus();
+ -->
+</script>