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