Code

<h2> => </h3>
[gosa.git] / gosa-plugins / fai / admin / fai / faiTemplateEntry.tpl
1 <input type="hidden" name="SubObjectFormSubmitted" value="1">
3 <h3><img class="middle" alt="" src="images/forward.png" title="{t}Generic{/t}">&nbsp;{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}&nbsp;
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}&nbsp;
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 <p class="seperator">&nbsp;</p>
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}">&nbsp;{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}:&nbsp; {$status}
70         {if $bStatus}
71           <a href="{$plug}&amp;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}&amp;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}:&nbsp; <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                           <input type="submit" value="{t}Upload{/t}" name="TmpFileUpload">
96 {/render}
97                   </td>
98     </tr>
99         </table>
100         </td>
101         <td>
102           <table summary="">
103                 <tr>
104         
105                 <td>
106                         <LABEL for="user">
107                                 {t}Owner{/t}{$must}&nbsp;
108                         </LABEL>
109                         </td>
110                 <td>
111 {render acl=$FAIownerACL}
112                         <input type="text" name="user" value="{$user}" id="user" size="15">
113 {/render}
114                 </td>
115         </tr><tr>
116                 <td style="vertical-align:top">
117                         <LABEL for="group">
118                                 {t}Group{/t}{$must}&nbsp;
119                         </LABEL>
120                         </td>
121                 <td>
122 {render acl=$FAIownerACL}
123                         <input type="text" name="group" value="{$group}" id="group" size="15">
124 {/render}
125                         <br>
126                         <br>
127                 </td>
128         </tr><tr>
129                 <td style="vertical-align:top">{t}Access{/t}{$must}&nbsp; </td>
130                 <td>
131           <table summary="" style="border:1px solid #B0B0B0">
132                <colgroup width="55" span="3">
133                 </colgroup>
134                 <tr>
135                         <th>{t}Class{/t}</th>
136                         <th>{t}Read{/t}</th>
137                         <th>{t}Write{/t}</th>
138                         <th>{t}Execute{/t}</th>
139                         <th>&nbsp;</th>
140                         <th>{t}Special{/t}</th>
141                         <th>&nbsp;</th>
142                 </tr>
143                 <tr><td>{t}User{/t}</td>
144 {render acl=$FAImodeACL}
145                         <td align="center"><input type="checkbox" name="u4" value="4" {$u4}></td>
146 {/render}
147 {render acl=$FAImodeACL}
148                         <td align="center"><input type="checkbox" name="u2" value="2" {$u2}></td>
149 {/render}
150 {render acl=$FAImodeACL}
151                         <td align="center"><input type="checkbox" name="u1" value="1" {$u1}></td>
152 {/render}
153                         <td>&nbsp;</td>
154 {render acl=$FAImodeACL}
155                         <td align="center"><input type="checkbox" name="s4" value="4" {$s4}></td>
156 {/render}
157                         <td>({t}SUID{/t})</td>
158                         </tr>
160                 <tr><td>{t}Group{/t}</td>
161 {render acl=$FAImodeACL}
162                         <td align="center"><input type="checkbox" name="g4" value="4" {$g4}></td>
163 {/render}
164 {render acl=$FAImodeACL}
165                         <td align="center"><input type="checkbox" name="g2" value="2" {$g2}></td>
166 {/render}
167 {render acl=$FAImodeACL}
168                         <td align="center"><input type="checkbox" name="g1" value="1" {$g1}></td>
169 {/render}
170                         <td>&nbsp;</td>
171 {render acl=$FAImodeACL}
172                         <td align="center"><input type="checkbox" name="s2" value="2" {$s2}></td>
173 {/render}
174                         <td>({t}SGID{/t})</td>
175                         </tr>
177                 <tr><td>{t}Others{/t}</td>
178 {render acl=$FAImodeACL}
179                         <td align="center"><input type="checkbox" name="o4" value="4" {$o4}></td>
180 {/render}
181 {render acl=$FAImodeACL}
182                         <td align="center"><input type="checkbox" name="o2" value="2" {$o2}></td>
183 {/render}
184 {render acl=$FAImodeACL}
185                         <td align="center"><input type="checkbox" name="o1" value="1" {$o1}></td>
186 {/render}
187                         <td>&nbsp;</td>
188 {render acl=$FAImodeACL}
189                         <td align="center"><input type="checkbox" name="s1" value="1" {$s1}></td>
190 {/render}
191                         <td>({t}sticky{/t})</td>
192         </tr></table>
193         
194                 </td></tr></table>
195         </td>
196 </tr>
197 <tr>
198 <td colspan=2>
199 <br>
200 <p class="seperator">&nbsp;</p>
201 <br>
202 <div style="align:right;" align="right">
203 {if !$freeze}
204         <input type="submit" value="{msgPool type=applyButton}"         name="SaveSubObject">&nbsp;
205 {/if}
206         <input type="submit" value="{msgPool type=cancelButton}"        name="CancelSubObject">
207 </div>
208 </td>
209 </tr>
210 </table>
212 <input type='hidden' name='FAItemplateEntryPosted' value='1'>
214 <!-- Place cursor -->
215 <script language="JavaScript" type="text/javascript">
216   <!-- // First input field on page
217         focus_field('cn','description');
218   -->
219 </script>