Code

Updated table summary
[gosa.git] / gosa-plugins / fai / admin / fai / faiScriptEntry.tpl
1 <input type="hidden" name="SubObjectFormSubmitted" value="1">
2 <table width="100%" summary="">
3         <tr>
4                 <td valign="top" width="50%">
5                         <h3>{t}Generic{/t}</h3>
6                                 <table summary="">
7                                         <tr>
8                                                 <td>
9                                                         {t}Name{/t}{$must}&nbsp;
10                                                 </td>
11                                                 <td>
12 {render acl=$cnACL}
13                                                         <input type='text' value="{$cn}" size="45" maxlength="80" name="cn">
14 {/render}
15                                                 </td>
16                                         </tr>
17                                         <tr>
18                                                 <td>
19                                                         {t}Description{/t}&nbsp;
20                                                 </td>
21                                                 <td>
22 {render acl=$descriptionACL}
23                                                         <input type='text' size="45" maxlength="80" value="{$description}" name="description">
24 {/render}
25                                                 </td>
26                                         </tr>
27                                 </table>
28                 </td>
29                 <td class='left-border'>
31            &nbsp;
32         </td>
33                 <td valign="top">
34                                 <h3>{t}Script attributes{/t}</h3>
35                                 <table summary="" width="100%">
36                                         <tr>
37                                                 <td>
38                                                         <LABEL for="FAIpriority">
39                                                         {t}Priority{/t}
40                                                         </LABEL>
41                                                 </td>
42                                                 <td>
43 {render acl=$FAIpriorityACL}
44                                                     <select id="FAIpriority" name="FAIpriority" title="{t}Choose a priority. Low values result in an earlier, high values in a later execution.{/t}" size=1>
45                                                 {html_options options=$FAIprioritys selected=$FAIpriority}
46                                         </select>
47 {/render}
48                                                 </td>
49                                         </tr>
50                                 </table>
51                 </td>
52         </tr>
53 </table>
54 <hr>
55 <h3>
56         <LABEL for="FAIscript">
57                 {t}Script{/t}
58         </LABEL>
59         </h3>
60 <table summary="" width="99%">
61     <tr>
62         <td>
63 {render acl=$FAIscriptACL}
64             <textarea name="FAIscript" style="width:100%;height:300px;" id="FAIscript"  
65                                 rows="20" cols="120">{$FAIscript}</textarea>
66 {/render}
67         </td>
68     </tr>
69 </table>
70 <br>
71 <div>
72 {render acl=$FAIscriptACL}
73         <input type="file" name="ImportFile">&nbsp;
74 {/render}
75 {render acl=$FAIscriptACL}
76         <button type='submit' name='ImportUpload'>{t}Import script{/t}</button>
78 {/render}
79 {render acl=$FAIscriptACL}
80         {$DownMe}
81 {/render}
82 </div>
83 <br>
84 <div style="align:right;" align="right">
85 {if !$freeze}
86         <button type='submit' name='SaveSubObject'>{msgPool type=applyButton}</button>&nbsp;
88 {/if}
89         <button type='submit' name='CancelSubObject'>{msgPool type=cancelButton}</button>
91 </div>
92 <!-- Place cursor -->
93 <script language="JavaScript" type="text/javascript">
94   <!-- // First input field on page
95         focus_field('cn','description');
96   -->
97 </script>