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