Code

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