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