Code

Updated listing table summary
[gosa.git] / gosa-plugins / fai / admin / fai / faiTemplateEntry.tpl
1 <input type="hidden" name="SubObjectFormSubmitted" value="1">
3 <h3>{t}Generic{/t}</h3>
4 <table width="100%" summary="">
5 <tr>
6   <td style='width:50%;padding-right:10px;' class='right-border'>
8                 <table style='width:100%;'>
9                   <tr>
10                     <td>
11                 {t}File name{/t}{$must}&nbsp;
12                     </td>
13                     <td style='width:100%;'>
14 {render acl=$cnACL}
15                       <input style='width:100%;' value="{$templateFile}" 
16             name="templateFile" maxlength="80">
17 {/render}
18                     </td>
19             </tr>
20                   <tr>
21                           <td>
22                                   <LABEL for="templatePath">
23                                         {t}Destination path{/t}{$must}&nbsp;
24                                   </LABEL>
25                           </td>
26                           <td>
27 {render acl=$FAItemplatePathACL}
28                                   <input style='width:100%;' type="text" name="templatePath" 
29             value="{$templatePath}" id="templatePath" >
30 {/render}
31                                 </td>
32       </tr>
33                 </table>
34         </td>
35   <td>
37                 <table style='width:100%;'>
38       <tr>
39         <td>
41           {t}Description{/t}
42         </td>
43         <td style='width:100%;'>
44 {render acl=$descriptionACL}
45                       <input  style='width:100%;' maxlength="80" 
46             value="{$description}" name="description">
47 {/render}
48               </td>
49       </tr>
50     </table>
51   </td>
52 </tr>
53 </table>
55 <hr>
57 <table width="100%" summary="">
58 <tr>
59   <td colspan=2>
60     <h3>
61       <img class="center" alt="" 
62         src="plugins/fai/images/fai_template.png" 
63         title="{t}Template attributes{/t}">&nbsp;{t}Template attributes{/t}
64     </h3>
65   </td>
66 </tr>
67 <tr>
68   <td style='width:50%;' class='right-border'>
70   <table summary="">
71     <tr>
72       <td>
73         {t}File{/t}{$must}:&nbsp; {$status}
74         {if $bStatus}
75           <a href="{$plug}&amp;getFAItemplate">
76           <img class="center" alt="{t}Save template{/t}..." 
77             title="{t}Save template{/t}..." src="images/save.png" border="0" />
78           </a>
79           <a href="{$plug}&amp;editFAItemplate">
80           <img class="center" alt="{t}Edit template{/t}..." 
81             title="{t}Edit template{/t}..." src="images/lists/edit.png" border="0" />
82           </a>
83         {/if}
84       </td>
85     </tr>
86     {if $bStatus}
87     <tr>
88       <td>
89                     {t}Full path{/t}:&nbsp; <i>{$FAItemplatePath}</i>
90       </td>
91     </tr>
92     {/if}
93     <tr>
94                   <td class='center'>
96 {render acl=$FAItemplateFileACL}
97                           <input type="file" name="FAItemplateFile" value="" id="FAItemplateFile">
98 {/render}
99 {render acl=$FAItemplateFileACL}
100                           <button type='submit' name='TmpFileUpload'>{t}Upload{/t}</button>
102 {/render}
103                   </td>
104     </tr>
105         </table>
106         </td>
107         <td>
108           <table summary="">
109                 <tr>
110         
111                 <td>
112                         <LABEL for="user">
113                                 {t}Owner{/t}{$must}&nbsp;
114                         </LABEL>
115                         </td>
116                 <td>
117 {render acl=$FAIownerACL}
118                         <input type="text" name="user" value="{$user}" id="user" size="15">
119 {/render}
120                 </td>
121         </tr><tr>
122                 <td>
124                         <LABEL for="group">
125                                 {t}Group{/t}{$must}&nbsp;
126                         </LABEL>
127                         </td>
128                 <td>
129 {render acl=$FAIownerACL}
130                         <input type="text" name="group" value="{$group}" id="group" size="15">
131 {/render}
132                         <br>
133                         <br>
134                 </td>
135         </tr><tr>
136                 <td>{t}Access{/t}{$must}&nbsp; 
137 </td>
138                 <td>
139           <table summary="">
141                <colgroup width="55" span="3">
142                 </colgroup>
143                 <tr>
144                         <th>{t}Class{/t}</th>
145                         <th>{t}Read{/t}</th>
146                         <th>{t}Write{/t}</th>
147                         <th>{t}Execute{/t}</th>
148                         <th>&nbsp;</th>
149                         <th>{t}Special{/t}</th>
150                         <th>&nbsp;</th>
151                 </tr>
152                 <tr><td>{t}User{/t}</td>
153 {render acl=$FAImodeACL}
154                         <td align="center"><input type="checkbox" name="u4" value="4" {$u4}></td>
155 {/render}
156 {render acl=$FAImodeACL}
157                         <td align="center"><input type="checkbox" name="u2" value="2" {$u2}></td>
158 {/render}
159 {render acl=$FAImodeACL}
160                         <td align="center"><input type="checkbox" name="u1" value="1" {$u1}></td>
161 {/render}
162                         <td>&nbsp;</td>
163 {render acl=$FAImodeACL}
164                         <td align="center"><input type="checkbox" name="s4" value="4" {$s4}></td>
165 {/render}
166                         <td>({t}SUID{/t})</td>
167                         </tr>
169                 <tr><td>{t}Group{/t}</td>
170 {render acl=$FAImodeACL}
171                         <td align="center"><input type="checkbox" name="g4" value="4" {$g4}></td>
172 {/render}
173 {render acl=$FAImodeACL}
174                         <td align="center"><input type="checkbox" name="g2" value="2" {$g2}></td>
175 {/render}
176 {render acl=$FAImodeACL}
177                         <td align="center"><input type="checkbox" name="g1" value="1" {$g1}></td>
178 {/render}
179                         <td>&nbsp;</td>
180 {render acl=$FAImodeACL}
181                         <td align="center"><input type="checkbox" name="s2" value="2" {$s2}></td>
182 {/render}
183                         <td>({t}SGID{/t})</td>
184                         </tr>
186                 <tr><td>{t}Others{/t}</td>
187 {render acl=$FAImodeACL}
188                         <td align="center"><input type="checkbox" name="o4" value="4" {$o4}></td>
189 {/render}
190 {render acl=$FAImodeACL}
191                         <td align="center"><input type="checkbox" name="o2" value="2" {$o2}></td>
192 {/render}
193 {render acl=$FAImodeACL}
194                         <td align="center"><input type="checkbox" name="o1" value="1" {$o1}></td>
195 {/render}
196                         <td>&nbsp;</td>
197 {render acl=$FAImodeACL}
198                         <td align="center"><input type="checkbox" name="s1" value="1" {$s1}></td>
199 {/render}
200                         <td>({t}sticky{/t})</td>
201         </tr></table>
202         
203                 </td></tr></table>
204         </td>
205 </tr>
206 <tr>
207 <td colspan=2>
208 <br>
209 <hr>
210 <br>
211 <div style="align:right;" align="right">
212 {if !$freeze}
213         <button type='submit' name='SaveSubObject'>{msgPool type=applyButton}</button>&nbsp;
215 {/if}
216         <button type='submit' name='CancelSubObject'>{msgPool type=cancelButton}</button>
218 </div>
219 </td>
220 </tr>
221 </table>
223 <input type='hidden' name='FAItemplateEntryPosted' value='1'>
225 <!-- Place cursor -->
226 <script language="JavaScript" type="text/javascript">
227   <!-- // First input field on page
228         focus_field('cn','description');
229   -->
230 </script>