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