Code

Updated object movement.
[gosa.git] / plugins / admin / fai / faiTemplateEntry.tpl
1 <input type="hidden" name="SubObjectFormSubmitted" value="1">
3 <h2><img class="middle" alt="" src="images/forward.png" title="{t}Generic{/t}">&nbsp;{t}Generic{/t}</h2>
4 <table width="100%" summary="">
5 <tr>
6         <td width="50%">
7                 {t}Name{/t}{$must}&nbsp;
8 {render acl=$cnACL}
9                 <input value="{$cn}" name="cn" size="45" maxlength="80">&nbsp;&nbsp;
10 {/render}
11         </td>
12         <td>
13                 {t}Description{/t}&nbsp;
14 {render acl=$descriptionACL}
15                 <input size="45" maxlength="80" value="{$description}" name="description">
16 {/render}
17         </td>
18 </tr>
19 </table>
21 <p class="seperator">&nbsp;</p>
23 <table width="100%" summary="">
24 <tr>
25   <td colspan=2><h2><img class="middle" alt="" src="images/fai_template.png" title="{t}Template attributes{/t}">&nbsp;{t}Template attributes{/t}</h2></td>
26 </tr>
27 <tr>
28   <td style="vertical-align:top;width:50%;border-right:1px solid #B0B0B0">
29    <table summary="">
30     <tr>
31                 <td style="vertical-align:top">
32                         <LABEL for="FAItemplateFile">
33                                 {t}File{/t}{$must}&nbsp;
34                         </LABEL>
35                         </td>
36                 <td style="vertical-align:top" class="center">
37                         {$status}
38                         {if $bStatus}
39                           <a href="getbin.php?rand={$rand}">
40                                 <img class="center" alt="{t}Save template{/t}..." title="{t}Save template{/t}..." src="images/save.png" border="0" />
41                           </a>
42                         {/if}
43                         <br>
44                         <br>
45 {render acl=$FAItemplateFileACL}
46                         <input type="file" name="FAItemplateFile" value="{$FAItemplateFile}" id="FAItemplateFile">
47 {/render}
48 {render acl=$FAItemplateFileACL}
49                         &nbsp;<input type="submit" value="{t}Upload{/t}" name="TmpFileUpload">
50 {/render}
51                         <br>
52                         <br>
53                         </td>
54         </tr><tr>
55                         <td>
56                                 <LABEL for="FAItemplatePath">
57                                         {t}Destination path{/t}{$must}&nbsp;
58                                 </LABEL>
59                                 </td>
60                         <td>
61 {render acl=$FAItemplatePathACL}
62                                 <input type="text" name="FAItemplatePath" value="{$FAItemplatePath}" id="FAItemplatePath" size="45">
63 {/render}
64                                 </td>
65                 </tr>
66                 </table>
67         </td>
68         <td>
69           <table summary="">
70                 <tr>
71         
72                 <td>
73                         <LABEL for="user">
74                                 {t}Owner{/t}{$must}&nbsp;
75                         </LABEL>
76                         </td>
77                 <td>
78 {render acl=$FAIownerACL}
79                         <input type="text" name="user" value="{$user}" id="user" size="15">
80 {/render}
81                 </td>
82         </tr><tr>
83                 <td style="vertical-align:top">
84                         <LABEL for="group">
85                                 {t}Group{/t}{$must}&nbsp;
86                         </LABEL>
87                         </td>
88                 <td>
89 {render acl=$FAIownerACL}
90                         <input type="text" name="group" value="{$group}" id="group" size="15">
91 {/render}
92                         <br>
93                         <br>
94                 </td>
95         </tr><tr>
96                 <td style="vertical-align:top">{t}Access{/t}{$must}&nbsp; </td>
97                 <td>
98           <table summary="" style="border:1px solid #B0B0B0">
99                <colgroup width="55" span="3">
100                 </colgroup>
101                 <tr>
102                         <th>{t}Class{/t}</th>
103                         <th>{t}Read{/t}</th>
104                         <th>{t}Write{/t}</th>
105                         <th>{t}Execute{/t}</th>
106                         <th>&nbsp;</th>
107                         <th>{t}Special{/t}</th>
108                         <th>&nbsp;</th>
109                 </tr>
110                 <tr><td>{t}User{/t}</td>
111 {render acl=$FAImodeACL}
112                         <td align="center"><input type="checkbox" name="u4" value="4" {$u4}></td>
113 {/render}
114 {render acl=$FAImodeACL}
115                         <td align="center"><input type="checkbox" name="u2" value="2" {$u2}></td>
116 {/render}
117 {render acl=$FAImodeACL}
118                         <td align="center"><input type="checkbox" name="u1" value="1" {$u1}></td>
119 {/render}
120                         <td>&nbsp;</td>
121 {render acl=$FAImodeACL}
122                         <td align="center"><input type="checkbox" name="s4" value="4" {$s4}></td>
123 {/render}
124                         <td>({t}SUID{/t})</td>
125                         </tr>
127                 <tr><td>{t}Group{/t}</td>
128 {render acl=$FAImodeACL}
129                         <td align="center"><input type="checkbox" name="g4" value="4" {$g4}></td>
130 {/render}
131 {render acl=$FAImodeACL}
132                         <td align="center"><input type="checkbox" name="g2" value="2" {$g2}></td>
133 {/render}
134 {render acl=$FAImodeACL}
135                         <td align="center"><input type="checkbox" name="g1" value="1" {$g1}></td>
136 {/render}
137                         <td>&nbsp;</td>
138 {render acl=$FAImodeACL}
139                         <td align="center"><input type="checkbox" name="s2" value="2" {$s2}></td>
140 {/render}
141                         <td>({t}SGID{/t})</td>
142                         </tr>
144                 <tr><td>{t}Others{/t}</td>
145 {render acl=$FAImodeACL}
146                         <td align="center"><input type="checkbox" name="o4" value="4" {$o4}></td>
147 {/render}
148 {render acl=$FAImodeACL}
149                         <td align="center"><input type="checkbox" name="o2" value="2" {$o2}></td>
150 {/render}
151 {render acl=$FAImodeACL}
152                         <td align="center"><input type="checkbox" name="o1" value="1" {$o1}></td>
153 {/render}
154                         <td>&nbsp;</td>
155 {render acl=$FAImodeACL}
156                         <td align="center"><input type="checkbox" name="s1" value="1" {$s1}></td>
157 {/render}
158                         <td>({t}sticky{/t})</td>
159         </tr></table>
160         
161                 </td></tr></table>
162         </td>
163 </tr>
164 <tr>
165 <td colspan=2>
166 <br>
167 <p class="seperator">&nbsp;</p>
168 <br>
169 <div style="align:right;" align="right">
170         <input type="submit" value="{t}Apply{/t}"       name="SaveSubObject">&nbsp;
171         <input type="submit" value="{t}Cancel{/t}"      name="CancelSubObject">
172 </div>
173 </td>
174 </tr>
175 </table>
177 <input type='hidden' name='FAItemplateEntryPosted' value='1'>
179 <!-- Place cursor -->
180 <script language="JavaScript" type="text/javascript">
181   <!-- // First input field on page
182   document.mainform.cn.focus();
183   -->
184 </script>