Code

Followup commit for #2000
[gosa.git] / trunk / gosa-plugins / goto / admin / systems / goto / selectUserToPrinterDialog.tpl
1     <input type="hidden" name="dialogissubmitted" value="1">
3         <table summary="{t}Select printer to add{/t}" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
4         <tr>
5             <td style="width:600px">
6                                 <div class="contentboxh" style="height:20px;">
7                                 <p class="contentboxh" style="font-size:12px">
8                                         <b><LABEL for="gotoPrinter">{t}Select entries to add{/t}</LABEL></b>
9                                 </p>
10                                 </div>
11                                 <div class="contentboxb">
12                                 <p class="contentboxb" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
13                                 <select style="width:600px;height:450px;" size=20 name="gotoPrinter[]" id="gotoPrinter" multiple>
14                                 {html_options values=$gotoPrinterKeys output=$gotoPrinters}
15                                 <option disabled>&nbsp;</option>
16                                  </select><br>
17                                         </p>
18                                 </div>
19             </td>
20             <td valign="top">
21                                 <div class="contentboxh" style="height:20px">
22                                 <p class="contentboxh" style="font-size:12px"><img src="{$launchimage}" align="right" alt="[F]">{t}Filters{/t}</p>
23                                 </div>
24                                 <div class="contentboxb">
25                                 <table summary="" style="width:100%;border-top:1px solid #B0B0B0;background-color:#F8F8F8">
26                                 {$alphabet}
27                                 </table>
28                                         <table summary="" width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
29                                                 <tr>
30                                                         <td>
31                                                                 <input type='checkbox' name='SubSearch' value='1' title='{t}Select to search within subtrees{/t}' onClick='document.mainform.submit();' {$subtree}>&nbsp;{t}Search in subtrees{/t}
32                                                         </td>
33                                                 </tr>
34                                         </table>
35                                 <table summary="" width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
36                                         <tr>
37                                                 <td>
38                                                         <label for="dspselectPrinter"><img class="center" alt="" src="{$tree_image}" align="middle" title="{t}Display members of department{/t}"></label>
39                                                 </td>
40                                                 <td style="width:99%">
41                                                         <select style="width:99%" name="depselectPrinter" size=1 onChange="mainform.submit()" title="{t}Choose the department the search will be based on{/t}">
42                                                           {html_options options=$deplistPrinter selected=$depselectPrinter}
43                                                         </select>
44                                                 </td>
45                                         </tr>
46                                 </table>
47                                         <table summary="" width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
48                                                         <tr>
49                                                                 <td>
50                                                                         <LABEL for='filter'><img class="center" alt="Search" src="{$search_image}" align="middle" title="{t}Display members matching{/t}">
51                                                                         </LABEL>
52                                                                 </td>
53                                                         <td width="99%">
54                                                                         <input id='filter' style='width:99%' type='text' name='regexPrinter' maxlength='20' value='{$regexPrinter}' 
55                                                                                         title='{t}Regular expression for matching member names{/t}' onChange="mainform.submit()">
56                                                                 </td>
57                                                         </tr>
58                                                 </table>
59                                         {$apply}
60                                 </div>
61                 </td>
62         </tr>
63     </table>
65         <p class="seperator">&nbsp;</p>
66     <p align="right">
67     <input type="submit" name="PrinterSave"     value="{msgPool type=addButton}">
68     <input type="submit" name="PrinterCancel"   value="{msgPool type=cancelButton}">
69     </p>