1 <h2><img class="center" alt="" src="images/select_printer.png" align="middle"> {t}Add printer devcies{/t}</h2>
3 <input type="hidden" name="dialogissubmitted" value="1">
5 <table summary="{t}Select printer to add{/t}" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
6 <tr>
7 <td width="50%">
8 <div class="contentboxh" style="height:20px;">
9 <p class="contentboxh" style="font-size:12px">
10 <b><LABEL for="gotoPrinter">{t}Select printer 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="gotoPrinter[]" id="gotoPrinter" multiple>
16 {html_options values=$gotoPrinterKeys output=$gotoPrinters}
17 <option disabled> </option>
18 </select><br>
19 </p>
20 </div>
21 </td>
22 <td valign="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>
34 <select name="depselectPrinter" size=1 onChange="mainform.submit()" title="{t}Choose the department the search will be based on{/t}">
35 {html_options options=$deplistPrinter selected=$depselectPrinter}
36 </select>
37 </td>
38 </tr>
39 </table>
40 <table summary="" style="width:100%;border-top:1px solid #B0B0B0;background-color:#F8F8F8">
41 <tr><td>
42 <input type=checkbox name="subtrees" value="1" {$subtrees} onClick="mainform.submit()" title="{t}Select to search within subtrees{/t}">{t}Search in subtrees{/t}
43 </tr></td>
44 </table>
45 <table summary="" width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
46 <tr>
47 <td>
48 <LABEL for='filter'><img class="center" alt="Search" src="{$search_image}" align="middle" title="{t}Display printers matching{/t}">
49 </LABEL>
50 </td>
51 <td width="99%">
52 <input id='filter' style='width:99%' type='text' name='regexPrinter' maxlength='20' value='{$regexPrinter}'
53 title='{t}Regular expression for matching printer names{/t}' onChange="mainform.submit()">
54 </td>
55 </tr>
56 </table>
57 {$apply}
58 </div>
59 </td>
60 </tr>
61 </table>
63 <p class="seperator"> </p>
64 <p align="right">
65 <input type="submit" name="PrinterSave" value="{t}Add{/t}">
66 <input type="submit" name="PrinterCancel" value="{t}Cancel{/t}">
67 </p>
68 <script language="JavaScript" type="text/javascript">
69 <!-- // First input field on page
70 focus_field('gotoPrinter');
71 -->
72 </script>