Code

[COSMETIC] Most of the imgs are now centered vertically in most browsers.
[gosa.git] / plugins / personal / environment / selectPrinterDialog.tpl
1 <h2><img class="center" alt="" src="images/select_printer.png" align="middle">&nbsp;{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">
16                                 {html_options values=$gotoPrinterKeys output=$gotoPrinters}
17                                 <option disabled>&nbsp;</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>&nbsp;
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="" 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 printers matching{/t}">
44                                                                         </LABEL>
45                                                                 </td>
46                                                         <td width="99%">
47                                                                         <input id='filter' style='width:99%' type='text' name='regexPrinter' maxlength='20' value='{$regexPrinter}' 
48                                                                                         title='{t}Regular expression for matching printer names{/t}' onChange="mainform.submit()">
49                                                                 </td>
50                                                         </tr>
51                                                 </table>
52                                         {$apply}
53                                 </div>
54                 </td>
55         </tr>
56     </table>
58     <p class="seperator">&nbsp;</p>
59     <p align="right">
60     <input type="submit" name="PrinterSave"     value="{t}Add{/t}">
61     <input type="submit" name="PrinterCancel"   value="{t}Cancel{/t}">
62     </p>
63 <script language="JavaScript" type="text/javascript">
64   <!-- // First input field on page
65   document.mainform.gotoPrinter.focus();
66   -->
67 </script>