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%">
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 type='text' id="dummy1" name="dummy1" size=25 maxlength=60 value="{t}Multiple edit{/t}" disabled>
15 {else}
16 {render acl=$cnACL}
17 <input type='text' 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 type='text' 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 {$base}
44 {/render}
45 </td>
46 </tr>
47 <tr>
48 <td colspan=2> <div style="height:15px; width:100%; border-bottom:1px solid #909090;"></div> </td>
49 </tr>
50 <tr>
51 <td colspan=2> <div style="height:15px; width:100%;"></div> </td>
52 </tr>
53 {if $multiple_support}
55 {else}
56 <tr>
57 <td colspan=2>
58 {render acl=$gidNumberACL}
59 <input type=checkbox name="force_gid" value="1" title="{t}Normally IDs are autogenerated, select to specify manually{/t}"
60 {$force_gid} onclick="changeState('gidNumber')">
61 {/render}
62 <LABEL for="gidNumber">{t}Force GID{/t}</LABEL>
63
64 {render acl=$gidNumberACL}
65 <input type='text' name="gidNumber" size=9 maxlength=9 id="gidNumber" {$forceMode} value="{$gidNumber}" title="{t}Forced ID number{/t}">
66 {/render}
67 </td>
68 </tr>
69 {/if}
71 {if $multiple_support}
72 <tr>
73 <td colspan=2>
74 {render acl=$sambaGroupTypeACL checkbox=$multiple_support checked=$use_smbgroup}
75 <input class="center" type=checkbox name="smbgroup" value="1" {$smbgroup}>{t}Select to create a samba conform group{/t}
76 {/render}
77 </td>
78 </tr>
79 <tr>
80 <td colspan=2>
81 {render acl=$sambaGroupTypeACL checkbox=$multiple_support checked=$use_groupType}
82 <select size="1" name="groupType">
83 {html_options options=$groupTypes selected=$groupType}
84 </select>
85 {/render}
86
87 <LABEL for="">{t}in domain{/t}</LABEL>
88
90 {render acl=$sambaDomainNameACL checkbox=$multiple_support checked=$use_sambaDomainName}
91 <select id="sambaDomainName" size="1" name="sambaDomainName">
92 {html_options values=$sambaDomains output=$sambaDomains selected=$sambaDomainName}
93 </select>
94 {/render}
95 </td>
96 </tr>
98 {else}
99 <tr>
100 <td colspan=2>
101 {render acl=$sambaGroupTypeACL}
102 <input type=checkbox name="smbgroup" value="1" {$smbgroup} title="{t}Select to create a samba conform group{/t}">
103 {/render}
104 {render acl=$sambaGroupTypeACL}
105 <select size="1" name="groupType">
106 {html_options options=$groupTypes selected=$groupType}
107 </select>
108 {/render}
109
110 <LABEL for="">{t}in domain{/t}</LABEL>
111
112 {render acl=$sambaDomainNameACL}
113 <select id="sambaDomainName" size="1" name="sambaDomainName">
114 {html_options values=$sambaDomains output=$sambaDomains selected=$sambaDomainName}
115 </select>
116 {/render}
117 </td>
118 </tr>
119 {/if}
121 {if $pickupGroup == "true"}
122 <tr>
123 <td colspan=2> <div style="height:15px; width:100%; border-bottom:1px solid #909090;"></div> </td>
124 </tr>
125 <tr>
126 <td colspan=2> <div style="height:15px; width:100%;"></div> </td>
127 </tr>
128 <tr>
129 <td colspan=2>
130 {render acl=$fonGroupACL checkbox=$multiple_support checked=$use_fon_group}
131 <input class="center" type=checkbox name="fon_group" value="1" {$fon_group}>{t}Members are in a phone pickup group{/t}
132 {/render}
133 </td>
134 </tr>
135 {/if}
136 {if $nagios == "true"}
137 <tr>
138 <td colspan=2> <div style="height:15px; width:100%; border-bottom:1px solid #909090;"></div> </td>
139 </tr>
140 <tr>
141 <td colspan=2> <div style="height:15px; width:100%;"></div> </td>
142 </tr>
143 <tr>
144 <td colspan=2>
145 {render acl=$nagiosGroupACL checkbox=$multiple_support checked=$use_nagios_group}
146 <input class="center" type=checkbox name="nagios_group" value="1" {$nagios_group}>{t}Members are in a nagios group{/t}
147 {/render}
148 </td>
149 </tr>
150 {/if}
151 <tr>
152 <td colspan=2> <div style="height:15px; width:100%; border-bottom:1px solid #909090;"></div> </td>
153 </tr>
154 <tr>
155 <td colspan=2> <div style="height:15px; width:100%;"></div> </td>
156 </tr>
157 <tr>
158 <td colspan=2>{$trustModeDialog}</td>
159 </tr>
160 </table>
162 </td>
163 <td class='left-border'>
165
166 </td>
168 <td>
170 <table summary="" style="width:100%">
171 <tr>
172 <td style="width:50%">
173 <b><LABEL for="members">{t}Group members{/t}</LABEL></b>
174 <br>
176 {if $multiple_support}
177 {render acl=$memberUidACL}
178 <select style="width:100%; height:380px;" id="members" name="members[]" size=15 multiple>
179 {foreach from=$memberUid_All item=name key=key}
180 <option value="{$key}">{$name} ({t}In all groups{/t})</option>
181 {/foreach}
182 {foreach from=$memberUid_Some item=name key=key}
183 <option value="{$key}" style='color: #888888; background: #DDDDDD;background-color: #DDDDDD;'>{$name} ({t}Not in all groups{/t})</option>
184 {/foreach}
185 </select>
186 {/render}
187 {else}
188 {render acl=$memberUidACL}
189 {$memberList}
190 {/render}
191 {/if}
192 <br>
193 {render acl=$memberUidACL}
194 <button type='submit' name='edit_membership'>{msgPool type=addButton}</button>
196 {/render}
197
198 {render acl=$memberUidACL}
199 <button type='submit' name='del_users'>{msgPool type=delButton}</button>
201 {/render}
202 </td>
203 </tr>
204 </table>
205 </td>
207 </tr>
208 </table>
210 <input type="hidden" name="groupedit" value="1">
212 <!-- Place cursor -->
213 <script language="JavaScript" type="text/javascript">
214 <!-- // First input field on page
215 focus_field('cn');
216 -->
217 </script>