Code

ddc810599953a6f929492efe39cba8a2e0ebc778
[gosa.git] / plugins / personal / environment / hotplugDialog.tpl
1 <h2><img class="center" alt="" src="images/hotplug.png" align="middle">&nbsp;{t}Add hotplug devices{/t}</h2>
3     <input type="hidden" name="dialogissubmitted" value="1">
5         <table summary="{t}Hotplug management{/t}" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 cellspacing=2>
6         <tr>
7             <td width="50%" style="vertical-align:top;">
8                                 <div class="contentboxh" style="height:20px;">
9                                 <p class="contentboxh" style="font-size:12px">
10                                         <b><LABEL for="hotplugName">{t}Select hotplug device to add{/t}</LABEL></b>
11                                 </p>
12                                 </div>
13                                 <div class="contentboxb">
14                                 <p class="contentboxb" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
15                                                 <select style="width:600px;height:450px" size=20 name="hotplugName[]" id="hotplugName" multiple>
16                                                         {html_options values=$hotplugDeviceKeys output=$hotplugDevices}
17                                                 <option disabled>&nbsp;</option>
18                                                 </select><br>
19                                         </p>
20                                 </div>
21             </td>
22                         <td style="vertical-align:top;">
23                 <div class="contentboxh" style="height:20px">
24                     <p class="contentboxh" style="font-size:12px"><img src="{$launchimage}" align="right" alt="[F]">{t}Filters{/t}</p>
25                 </div>
26                 <div class="contentboxb">
27                     <table summary="" style="width:100%;border-top:1px solid #B0B0B0;background-color:#F8F8F8">
28                     {$alphabet}
29                     </table>
30                 <table summary="" width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
31                     <tr>
32                         <td>
33                             <img class="center" alt="" src="{$tree_image}" align=middle>&nbsp;
34                             <select name="depselectHot" size=1 onChange="mainform.submit()" title="{t}Choose the department the search will be based    on{/t}">
35                               {html_options options=$deplistHot selected=$depselectHot}
36                             </select>
37                         </td>
38                     </tr>
39                 </table>
40                         <table summary="" width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
41                             <tr>
42                                 <td>
43                                     <LABEL for='filter'><img class="center" alt="Search" src="{$search_image}" align="middle" title="{t}Display users matching{/t}">
44                                     </LABEL>
45                                 </td>
46                                 <td width="99%">
47                                     <input id='filter' style='width:99%' type='text' name='regexHot' maxlength='20' value='{$regexHot}'
48                                             title='{t}Regular expression for        matching hotplugs{/t}' onChange="mainform.submit()">
49                                 </td>
50                             </tr>
51                         </table>
52                     {$apply}
53                 </div>
54             </td>
57                 </tr>
58         </table>
60     <p class="seperator">&nbsp;</p>
62     <p align="right">
63     <input type="submit" name="HotPlugSave"     value="{t}Add{/t}">
64     <input type="submit" name="HotPlugCancel"   value="{t}Cancel{/t}">
65     </p>
66 <script language="JavaScript" type="text/javascript">
67   <!-- // First input field on page
68   document.mainform.hotplugName.focus();
69   -->
70 </script>