Code

Fixed group copy & paste
[gosa.git] / plugins / admin / groups / generic.tpl
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=60 {$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         <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
27      </td>
28     </tr>
29     <tr>
30       <td colspan=2> <div style="height:15px; width:100%; border-bottom:1px solid #909090;"></div> </td>
31     </tr>
32     <tr>
33       <td colspan=2> <div style="height:15px; width:100%;"></div> </td>
34     </tr>
35     <tr>
36      <td colspan=2>
37       <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>
38       &nbsp;
39       <input name="gidNumber" size=5 maxlength=5 id="gidNumber" {$gidNumberACL} {$forceMode} value="{$gidNumber}" title="{t}Forced ID number{/t}">
40      </td>
41     </tr>
43     {if $samba3 ne ""}
44     <tr>
45      <td colspan=2>
46       <input type=checkbox name="smbgroup" value="1" {$smbgroup} {$smbgroupACL} title="{t}Select to create a samba conform group{/t}">
47       <select size="1" name="groupType" {$sambaDomainNameACL}>
48        {html_options options=$groupTypes selected=$groupType}
49       </select>
50       &nbsp;
51       <LABEL for="">{t}in domain{/t}</LABEL>
52       &nbsp;
53       <select id="sambaDomainName" size="1" name="sambaDomainName" {$sambaDomainNameACL}>
54        {html_options values=$sambaDomains output=$sambaDomains selected=$sambaDomainName}
55       </select>
56      </td>
57     </tr>
58     {/if}
59         {if $pickupGroup == "true"}
60     <tr>
61       <td colspan=2> <div style="height:15px; width:100%; border-bottom:1px solid #909090;"></div> </td>
62     </tr>
63     <tr>
64       <td colspan=2> <div style="height:15px; width:100%;"></div> </td>
65     </tr>
66     <tr>
67      <td colspan=2>
68       <input type=checkbox name="fon_group" value="1" {$fon_group} {$fon_groupACL}>{t}Members are in a phone pickup group{/t}
69      </td>
70     </tr>
71         {/if}
72         {if $nagios == "true"}
73     <tr>
74       <td colspan=2> <div style="height:15px; width:100%; border-bottom:1px solid #909090;"></div> </td>
75     </tr>
76     <tr>
77       <td colspan=2> <div style="height:15px; width:100%;"></div> </td>
78     </tr>
79     <tr>
80      <td colspan=2>
81       <input type=checkbox name="nagios_group" value="1" {$nagios_group} {$nagios_groupACL}>{t}Members are in a nagios group{/t}
82      </td>
83     </tr>
84         {/if}
85    </table>
87   </td>
88   <td style="border-left:1px solid #A0A0A0">
89    &nbsp;
90   </td>
92   <td style="vertical-align:top;">
94    <table summary="" style="width:100%">
95     <tr>
96      <td style="vertical-align:top; width:50%">
97       <b><LABEL for="members">{t}Group members{/t}</LABEL></b>
98       <br>
99       <select style="width:100%; height:450px;" id="members" name="members[]" size=15 multiple>
100        {html_options options=$members}
101                 <option disabled>&nbsp;</option>
102       </select>
103       <br>
104       <input type=submit name="edit_membership" value="{t}Add{/t}" {$membersACL}>
105       &nbsp;
106       <input type=submit name="del_users" value="{t}Delete{/t}" {$membersACL}>
107      </td>
108     </tr> 
109    </table>
110   </td>
112  </tr>
113 </table>
115 <!-- Place cursor -->
116 <script language="JavaScript" type="text/javascript">
117   <!-- // First input field on page
118   document.mainform.cn.focus();
119   -->
120 </script>