Code

reworked printer ppd selection
[gosa.git] / plugins / admin / systems / selectUserToPrinterDialog.tpl
1 <h2><img alt="" src="images/house.png" align="middle">&nbsp;{t}Select entry{/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 user/group 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:500px;" size=20 name="gotoPrinter[]" id="gotoPrinter" multiple>
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">
24                                 <p class="contentboxh"><img src="{$infoimage}" align="right" alt="[i]">{t}Information{/t}</p>
25                                 </div>
26                                 <div class="contentboxb">
27                                         <p class="contentboxb">
28                                         {t}This menu allows you to select one or multiple users or groups to add them to the printer. 
29                                                         Having a great number of users, you may want to use the range selectors on top of this list.{/t}
30                                 </p>
31                                 </div>
32                                 <br>
34                                 <div class="contentboxh">
35                                 <p class="contentboxh"><img src="{$launchimage}" align="right" alt="[F]">{t}Filters{/t}</p>
36                                 </div>
37                                 <div class="contentboxb">
38                                 <table summary="" width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
39                                         <tr>
40                                                 <td width="50%">
41                                                         <img alt="" src="{$tree_image}" align=middle>&nbsp;{t}Display members of department{/t}
42                                                 </td>
43                                                 <td>
44                                                         <select name="depselectPrinter" size=1 onChange="mainform.submit()" title="{t}Choose the department the search will be based on{/t}">
45                                                           {html_options options=$deplistPrinter selected=$depselectPrinter}
46                                                         </select>
47                                                 </td>
48                                         </tr>
49                                 </table>
50                                 </div>
51                                 <div class="contentboxb">
52                                 <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
53                                 {$alphabet}
54                                 </table>
55                                         <table summary="" width="100%" style="border-top:1px solid #B0B0B0;">
56                                                         <tr>
57                                                                 <td>
58                                                                         <LABEL for='filter'><img alt="Search" src="{$search_image}" align="middle" title="{t}Display members matching{/t}">
59                                                                         </LABEL>
60                                                                 </td>
61                                                         <td width="99%">
62                                                                         <input id='filter' style='width:99%' type='text' name='regexPrinter' maxlength='20' value='{$regexPrinter}' 
63                                                                                         title='{t}Regular expression for matching member names{/t}' onChange="mainform.submit()">
64                                                                 </td>
65                                                         </tr>
66                                                 </table>
67                                         {$apply}
68                                 </div>
69                 </td>
70         </tr>
71     </table>
73     <p align="right">
74     <input type="submit" name="PrinterSave"     value="{t}Add{/t}">
75     <input type="submit" name="PrinterCancel"   value="{t}Cancel{/t}">
76     </p>