Code

Added checkbox which allows subsearch
[gosa.git] / plugins / admin / groups / group_objects.tpl
1 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
2 <tr>
3   <td style="vertical-align:top; width:600px">
4    <div class="contentboxh" style="height:20px;">
5     <p class="contentboxh" style="font-size:12px">
6      <b><LABEL for="users">{t}Select users to add{/t}</LABEL> {$hint}</b>
7     </p>
8    </div>
9    <div class="contentboxb">
10     <p class="contentboxb" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
11      <select id="users" style="width:600px; height:450px; margin-top:4px;" name="users[]" size="15" multiple>
12       {html_options options=$users}
13      </select>
14      <input type=hidden name="edit_helper">
15     </p>
16    </div>
17   </td>
18   <td style="vertical-align:top;">
19    <div class="contentboxh" style="height:20px;">
20     <p class="contentboxh" style="font-size:12px"><img src="{$launchimage}" align="right" alt="[F]"><b>{t}Filters{/t}</b></p>
21    </div>
22    <div class="contentboxb">
23      <table summary="" style="width:100%;border-top:1px solid #B0B0B0;background-color:#F8F8F8">
24       {$alphabet}
25      </table>
26     <table summary="" width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
27                 <tr>
28                         <td>
29                                 <input type=checkbox name="SubSearchGroup"  value="1" {if $SubSearchGroup == 1} checked {/if} 
30                                          onClick="mainform.submit()" title="{t}Select to see servers{/t}">{t}Search within subtree{/t}<br>
31                         </td>
32                 </tr>   
33         </table>
34     <table summary="" width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
35                 <tr>
36                         <td>
37                                 <img alt="" src="{$tree_image}" align=middle title="{t}Display users of department{/t}">
38                                 &nbsp;
39                                 <select name="dselect" id="dselect" size=1 onChange="mainform.submit()" 
40                                         title="{t}Choose the department the search will be based on{/t}">
41                                 {html_options options=$deplist selected=$dselect}
42                         </select>
43                         </td>
44                 </tr>
45         </table>
46     <table summary="" width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8"><tr><td style="width:18px"><img alt="" src="{$search_image}" align=middle title="{t}Display users matching{/t}"></td>
47     <td><input type='text' name='regex' maxlength='20' style='width:99%' value='{$regex}' title='{t}Regular expression for matching user names{/t}' onChange="mainform.submit()"></td></tr></table>
48    {$apply}
49    </div>
50   </td>
51 </tr>
52 </table>
54 <p class="plugbottom">
55   <input type=submit name="add_users_finish" value="{t}Add{/t}">
56   &nbsp;
57   <input type=submit name="add_users_cancel" value="{t}Cancel{/t}">
58 </p>