Code

789dac439c54939cdc64178f6630d9c684d496fe
[gosa.git] / gosa-plugins / fai / admin / fai / faiTemplateEntry.tpl
1 <input type="hidden" name="SubObjectFormSubmitted" value="1">
3 <h2><img class="middle" alt="" src="images/forward.png" title="{t}Generic{/t}">&nbsp;{t}Generic{/t}</h2>
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><h2><img class="middle" alt="" src="plugins/fai/images/fai_template.png" title="{t}Template attributes{/t}">&nbsp;{t}Template attributes{/t}</h2></td>
57 </tr>
58 <tr>
59   <td style="vertical-align:top;width:50%;border-right:1px solid #B0B0B0">
60    <table summary="">
61     <tr>
62                 <td style="vertical-align:top">
63                         <LABEL for="FAItemplateFile">
64                                 {t}File{/t}{$must}&nbsp;
65                         </LABEL>
66                         </td>
67                 <td style="vertical-align:top" class="center">
68                         {$status}
69                         {if $bStatus}
70                           <a href="{$plug}&amp;getFAItemplate">
71                                 <img class="center" alt="{t}Save template{/t}..." title="{t}Save template{/t}..." src="images/save.png" border="0" />
72                           </a>
73                         {/if}
74                         <br>
75                         <br>
76 {render acl=$FAItemplateFileACL}
77                         <input type="file" name="FAItemplateFile" value="" id="FAItemplateFile">
78 {/render}
79 {render acl=$FAItemplateFileACL}
80                         &nbsp;<input type="submit" value="{t}Upload{/t}" name="TmpFileUpload">
81 {/render}
82                         <br>
83                         <br>
84                         </td>
85         </tr><tr>
86                         <td>
87                                 {t}Full path{/t}&nbsp;
88                                 </td>
89                         <td>
90 {render acl=$FAItemplatePathACL}
91                                 <i>{$FAItemplatePath}</i>
92 {/render}
93                                 </td>
94                 </tr>
95                 </table>
96         </td>
97         <td>
98           <table summary="">
99                 <tr>
100         
101                 <td>
102                         <LABEL for="user">
103                                 {t}Owner{/t}{$must}&nbsp;
104                         </LABEL>
105                         </td>
106                 <td>
107 {render acl=$FAIownerACL}
108                         <input type="text" name="user" value="{$user}" id="user" size="15">
109 {/render}
110                 </td>
111         </tr><tr>
112                 <td style="vertical-align:top">
113                         <LABEL for="group">
114                                 {t}Group{/t}{$must}&nbsp;
115                         </LABEL>
116                         </td>
117                 <td>
118 {render acl=$FAIownerACL}
119                         <input type="text" name="group" value="{$group}" id="group" size="15">
120 {/render}
121                         <br>
122                         <br>
123                 </td>
124         </tr><tr>
125                 <td style="vertical-align:top">{t}Access{/t}{$must}&nbsp; </td>
126                 <td>
127           <table summary="" style="border:1px solid #B0B0B0">
128                <colgroup width="55" span="3">
129                 </colgroup>
130                 <tr>
131                         <th>{t}Class{/t}</th>
132                         <th>{t}Read{/t}</th>
133                         <th>{t}Write{/t}</th>
134                         <th>{t}Execute{/t}</th>
135                         <th>&nbsp;</th>
136                         <th>{t}Special{/t}</th>
137                         <th>&nbsp;</th>
138                 </tr>
139                 <tr><td>{t}User{/t}</td>
140 {render acl=$FAImodeACL}
141                         <td align="center"><input type="checkbox" name="u4" value="4" {$u4}></td>
142 {/render}
143 {render acl=$FAImodeACL}
144                         <td align="center"><input type="checkbox" name="u2" value="2" {$u2}></td>
145 {/render}
146 {render acl=$FAImodeACL}
147                         <td align="center"><input type="checkbox" name="u1" value="1" {$u1}></td>
148 {/render}
149                         <td>&nbsp;</td>
150 {render acl=$FAImodeACL}
151                         <td align="center"><input type="checkbox" name="s4" value="4" {$s4}></td>
152 {/render}
153                         <td>({t}SUID{/t})</td>
154                         </tr>
156                 <tr><td>{t}Group{/t}</td>
157 {render acl=$FAImodeACL}
158                         <td align="center"><input type="checkbox" name="g4" value="4" {$g4}></td>
159 {/render}
160 {render acl=$FAImodeACL}
161                         <td align="center"><input type="checkbox" name="g2" value="2" {$g2}></td>
162 {/render}
163 {render acl=$FAImodeACL}
164                         <td align="center"><input type="checkbox" name="g1" value="1" {$g1}></td>
165 {/render}
166                         <td>&nbsp;</td>
167 {render acl=$FAImodeACL}
168                         <td align="center"><input type="checkbox" name="s2" value="2" {$s2}></td>
169 {/render}
170                         <td>({t}SGID{/t})</td>
171                         </tr>
173                 <tr><td>{t}Others{/t}</td>
174 {render acl=$FAImodeACL}
175                         <td align="center"><input type="checkbox" name="o4" value="4" {$o4}></td>
176 {/render}
177 {render acl=$FAImodeACL}
178                         <td align="center"><input type="checkbox" name="o2" value="2" {$o2}></td>
179 {/render}
180 {render acl=$FAImodeACL}
181                         <td align="center"><input type="checkbox" name="o1" value="1" {$o1}></td>
182 {/render}
183                         <td>&nbsp;</td>
184 {render acl=$FAImodeACL}
185                         <td align="center"><input type="checkbox" name="s1" value="1" {$s1}></td>
186 {/render}
187                         <td>({t}sticky{/t})</td>
188         </tr></table>
189         
190                 </td></tr></table>
191         </td>
192 </tr>
193 <tr>
194 <td colspan=2>
195 <br>
196 <p class="seperator">&nbsp;</p>
197 <br>
198 <div style="align:right;" align="right">
199 {if !$freeze}
200         <input type="submit" value="{msgPool type=applyButton}"         name="SaveSubObject">&nbsp;
201 {/if}
202         <input type="submit" value="{msgPool type=cancelButton}"        name="CancelSubObject">
203 </div>
204 </td>
205 </tr>
206 </table>
208 <input type='hidden' name='FAItemplateEntryPosted' value='1'>
210 <!-- Place cursor -->
211 <script language="JavaScript" type="text/javascript">
212   <!-- // First input field on page
213         focus_field('cn','description');
214   -->
215 </script>