1 {if $multiple_support}
2 <input type="hidden" value="1" name="group_mulitple_edit">
3 {/if }
6 <table summary="" style="width:100%;">
7 <tr>
8 <td style="width:50%; vertical-align:top;">
9 <table summary="" style="width:100%">
10 <tr>
11 <td><LABEL for="cn">{t}Group name{/t}</LABEL>{$must}</td>
12 <td>
13 {if $multiple_support}
14 <input id="dummy1" name="dummy1" size=25 maxlength=60 value="{t}Multiple edit{/t}" disabled>
15 {else}
16 {render acl=$cnACL}
17 <input id="cn" name="cn" size=25 maxlength=60 value="{$cn}" title="{t}Posix name of the group{/t}">
18 {/render}
19 {/if}
20 </td>
21 </tr>
22 <tr>
23 <td>
24 <LABEL for="description">{t}Description{/t}</LABEL>
25 </td>
26 <td>
27 {render acl=$descriptionACL checkbox=$multiple_support checked=$use_description}
28 <input id="description" name="description" size=40 maxlength=80 value="{$description}" title="{t}Descriptive text for this group{/t}">
29 {/render}
30 </td>
31 </tr>
32 <tr>
33 <td colspan=2>
34 <div style="height:15px;"></div>
35 </td>
36 </tr>
37 <tr>
38 <td>
39 <LABEL for="base">{t}Base{/t}</LABEL>{$must}
40 </td>
41 <td>
42 {render acl=$baseACL checkbox=$multiple_support checked=$use_base}
43 <select id="base" size="1" name="base" title="{t}Choose subtree to place group in{/t}">
44 {html_options options=$bases selected=$base_select}
45 </select>
46 {/render}
48 {render acl=$baseACL disable_picture='images/folder_gray.png'}
49 <input type="image" name="chooseBase" src="images/lists/folder.png" class="center" title="{t}Select a base{/t}">
50 {/render}
51 </td>
52 </tr>
53 <tr>
54 <td colspan=2> <div style="height:15px; width:100%; border-bottom:1px solid #909090;"></div> </td>
55 </tr>
56 <tr>
57 <td colspan=2> <div style="height:15px; width:100%;"></div> </td>
58 </tr>
59 {if $multiple_support}
61 {else}
62 <tr>
63 <td colspan=2>
64 {render acl=$gidNumberACL}
65 <input type=checkbox name="force_gid" value="1" title="{t}Normally IDs are autogenerated, select to specify manually{/t}"
66 {$force_gid} onclick="changeState('gidNumber')">
67 {/render}
68 <LABEL for="gidNumber">{t}Force GID{/t}</LABEL>
69
70 {render acl=$gidNumberACL}
71 <input name="gidNumber" size=9 maxlength=9 id="gidNumber" {$forceMode} value="{$gidNumber}" title="{t}Forced ID number{/t}">
72 {/render}
73 </td>
74 </tr>
75 {/if}
77 {if $samba3 ne ""}
79 {if $multiple_support}
80 <tr>
81 <td colspan=2>
82 {render acl=$sambaGroupTypeACL checkbox=$multiple_support checked=$use_smbgroup}
83 <input class="center" type=checkbox name="smbgroup" value="1" {$smbgroup}>{t}Select to create a samba conform group{/t}
84 {/render}
85 </td>
86 </tr>
87 <tr>
88 <td colspan=2>
89 {render acl=$sambaGroupTypeACL checkbox=$multiple_support checked=$use_groupType}
90 <select size="1" name="groupType">
91 {html_options options=$groupTypes selected=$groupType}
92 </select>
93 {/render}
94
95 <LABEL for="">{t}in domain{/t}</LABEL>
96
98 {render acl=$sambaDomainNameACL checkbox=$multiple_support checked=$use_sambaDomainName}
99 <select id="sambaDomainName" size="1" name="sambaDomainName">
100 {html_options values=$sambaDomains output=$sambaDomains selected=$sambaDomainName}
101 </select>
102 {/render}
103 </td>
104 </tr>
106 {else}
107 <tr>
108 <td colspan=2>
109 {render acl=$sambaGroupTypeACL}
110 <input type=checkbox name="smbgroup" value="1" {$smbgroup} title="{t}Select to create a samba conform group{/t}">
111 {/render}
112 {render acl=$sambaGroupTypeACL}
113 <select size="1" name="groupType">
114 {html_options options=$groupTypes selected=$groupType}
115 </select>
116 {/render}
117
118 <LABEL for="">{t}in domain{/t}</LABEL>
119
120 {render acl=$sambaDomainNameACL}
121 <select id="sambaDomainName" size="1" name="sambaDomainName">
122 {html_options values=$sambaDomains output=$sambaDomains selected=$sambaDomainName}
123 </select>
124 {/render}
125 </td>
126 </tr>
127 {/if}
128 {/if}
130 {if $pickupGroup == "true"}
131 <tr>
132 <td colspan=2> <div style="height:15px; width:100%; border-bottom:1px solid #909090;"></div> </td>
133 </tr>
134 <tr>
135 <td colspan=2> <div style="height:15px; width:100%;"></div> </td>
136 </tr>
137 <tr>
138 <td colspan=2>
139 {render acl=$fonGroupACL checkbox=$multiple_support checked=$use_fon_group}
140 <input class="center" type=checkbox name="fon_group" value="1" {$fon_group}>{t}Members are in a phone pickup group{/t}
141 {/render}
142 </td>
143 </tr>
144 {/if}
145 {if $nagios == "true"}
146 <tr>
147 <td colspan=2> <div style="height:15px; width:100%; border-bottom:1px solid #909090;"></div> </td>
148 </tr>
149 <tr>
150 <td colspan=2> <div style="height:15px; width:100%;"></div> </td>
151 </tr>
152 <tr>
153 <td colspan=2>
154 {render acl=$nagiosGroupACL}
155 <input type=checkbox name="nagios_group" value="1" {$nagios_group}>{t}Members are in a nagios group{/t}
156 {/render}
157 </td>
158 </tr>
159 {/if}
160 <tr>
161 <td colspan=2> <div style="height:15px; width:100%; border-bottom:1px solid #909090;"></div> </td>
162 </tr>
163 <tr>
164 <td colspan=2> <div style="height:15px; width:100%;"></div> </td>
165 </tr>
166 <tr>
167 <td colspan="2">
168 {t}Trust mode{/t}
169 {render acl=$trustmodeACL}
170 <select name="trustmode" id="trustmode" size=1
171 onChange="changeSelectState('trustmode', 'wslist');
172 changeSelectState('trustmode', 'add_ws');
173 changeSelectState('trustmode', 'del_ws');">
174 {html_options options=$trustmodes selected=$trustmode}
175 </select>
176 {/render}
177 {render acl=$trustmodeACL}
178 <select style="width:100%" id="wslist" name="workstation_list[]" size=8 multiple {$trusthide}>
179 {html_options values=$workstations output=$workstations}
180 {if $emptyArrAccess}
181 <option disabled> </option>
182 {/if}
183 </select>
184 {/render}
185 <br>
186 {render acl=$trustmodeACL}
187 <input type="submit" id="add_ws" value="{msgPool type=addButton}" name="add_ws" {$trusthide}>
188 {/render}
189 {render acl=$trustmodeACL}
190 <input type="submit" id="del_ws" value="{msgPool type=delButton}" name="delete_ws" {$trusthide}>
191 {/render}
193 </td>
194 </tr>
195 </table>
197 </td>
198 <td style="border-left:1px solid #A0A0A0">
199
200 </td>
202 <td style="vertical-align:top;">
204 <table summary="" style="width:100%">
205 <tr>
206 <td style="vertical-align:top; width:50%">
207 <b><LABEL for="members">{t}Group members{/t}</LABEL></b>
208 <br>
209 {render acl=$memberUidACL}
211 {if $multiple_support}
212 <select style="width:100%; height:380px;" id="members" name="members[]" size=15 multiple>
213 {foreach from=$memberUid_All item=name key=key}
214 <option value="{$key}">{$name} ({t}In all groups{/t})</option>
215 {/foreach}
216 {foreach from=$memberUid_Some item=name key=key}
217 <option value="{$key}" style='color: #888888; background: #DDDDDD;background-color: #DDDDDD;'>{$name} ({t}Not in all groups{/t})</option>
218 {/foreach}
219 </select>
220 {else}
221 <select style="width:100%; height:380px;" id="members" name="members[]" size=15 multiple>
222 {html_options options=$members}
223 <option disabled> </option>
224 </select>
225 {/if}
226 {/render}
227 <br>
228 <input type=submit name="edit_membership" value="{msgPool type=addButton}">
229
230 <input type=submit name="del_users" value="{msgPool type=delButton}">
231 </td>
232 </tr>
233 </table>
234 </td>
236 </tr>
237 </table>
239 <input type="hidden" name="groupedit" value="1">
241 <!-- Place cursor -->
242 <script language="JavaScript" type="text/javascript">
243 <!-- // First input field on page
244 focus_field('cn');
245 -->
246 </script>