addcdf47de13c7a96732413086d2bac734e3dbcc
1 <table summary="" style="width:100%;">
2 <tr>
3 <td style="width:50%; vertical-align:top;">
4 <input type="hidden" name="groupedit" value="1">
5 <table summary="" style="width:100%">
6 <tr>
7 <td><LABEL for="cn">{t}Group name{/t}</LABEL>{$must}</td>
8 <td>
9 <input id="cn" name="cn" size=25 maxlength=60 {$cnACL} value="{$cn}" title="{t}Posix name of the group{/t}">
10 </td>
11 </tr>
12 <tr>
13 <td><LABEL for="description"> {t}Description{/t}</LABEL></td>
14 <td><input id="description" name="description" size=40 maxlength=80 {$descriptionACL} value="{$description}" title="{t}Descriptive text for this group{/t}">
15 </td>
16 </tr>
17 <tr>
18 <td colspan=2> <div style="height:15px;"></div> </td>
19 </tr>
20 <tr>
21 <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
22 <td>
23 <select id="base" size="1" name="base" {$baseACL} title="{t}Choose subtree to place group in{/t}">
24 {html_options options=$bases selected=$base_select}
25 </select>
26 {if $baseACL==""}
27 <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
28 {else}
29 <img src="images/folder_gray.png" class="center" title="{t}Select a base{/t}">
30 {/if}
31 </td>
32 </tr>
33 <tr>
34 <td colspan=2> <div style="height:15px; width:100%; border-bottom:1px solid #909090;"></div> </td>
35 </tr>
36 <tr>
37 <td colspan=2> <div style="height:15px; width:100%;"></div> </td>
38 </tr>
39 <tr>
40 <td colspan=2>
41 <input type=checkbox name="force_gid" value="1" title="{t}Normally IDs are autogenerated, select to specify manually{/t}" {$force_gid} {$force_gidACL} onclick="changeState('gidNumber')"><LABEL for="gidNumber">{t}Force GID{/t}</LABEL>
42
43 <input name="gidNumber" size=5 maxlength=5 id="gidNumber" {$gidNumberACL} {$forceMode} value="{$gidNumber}" title="{t}Forced ID number{/t}">
44 </td>
45 </tr>
47 {if $samba3 ne ""}
48 <tr>
49 <td colspan=2>
50 <input type=checkbox name="smbgroup" value="1" {$smbgroup} {$smbgroupACL} title="{t}Select to create a samba conform group{/t}">
51 <select size="1" name="groupType" {$sambaDomainNameACL}>
52 {html_options options=$groupTypes selected=$groupType}
53 </select>
54
55 <LABEL for="">{t}in domain{/t}</LABEL>
56
57 <select id="sambaDomainName" size="1" name="sambaDomainName" {$sambaDomainNameACL}>
58 {html_options values=$sambaDomains output=$sambaDomains selected=$sambaDomainName}
59 </select>
60 </td>
61 </tr>
62 {/if}
63 {if $pickupGroup == "true"}
64 <tr>
65 <td colspan=2> <div style="height:15px; width:100%; border-bottom:1px solid #909090;"></div> </td>
66 </tr>
67 <tr>
68 <td colspan=2> <div style="height:15px; width:100%;"></div> </td>
69 </tr>
70 <tr>
71 <td colspan=2>
72 <input type=checkbox name="fon_group" value="1" {$fon_group} {$fon_groupACL}>{t}Members are in a phone pickup group{/t}
73 </td>
74 </tr>
75 {/if}
76 {if $nagios == "true"}
77 <tr>
78 <td colspan=2> <div style="height:15px; width:100%; border-bottom:1px solid #909090;"></div> </td>
79 </tr>
80 <tr>
81 <td colspan=2> <div style="height:15px; width:100%;"></div> </td>
82 </tr>
83 <tr>
84 <td colspan=2>
85 <input type=checkbox name="nagios_group" value="1" {$nagios_group} {$nagios_groupACL}>{t}Members are in a nagios group{/t}
86 </td>
87 </tr>
88 {/if}
89 </table>
91 </td>
92 <td style="border-left:1px solid #A0A0A0">
93
94 </td>
96 <td style="vertical-align:top;">
98 <table summary="" style="width:100%">
99 <tr>
100 <td style="vertical-align:top; width:50%">
101 <b><LABEL for="members">{t}Group members{/t}</LABEL></b>
102 <br>
103 <select style="width:100%; height:380px;" id="members" name="members[]" size=15 multiple>
104 {html_options options=$members}
105 <option disabled> </option>
106 </select>
107 <br>
108 <input type=submit name="edit_membership" value="{t}Add{/t}" {$membersACL}>
109
110 <input type=submit name="del_users" value="{t}Delete{/t}" {$membersACL}>
111 </td>
112 </tr>
113 </table>
114 </td>
116 </tr>
117 </table>
119 <!-- Place cursor -->
120 <script language="JavaScript" type="text/javascript">
121 <!-- // First input field on page
122 document.mainform.cn.focus();
123 -->
124 </script>