Code

Added label in class name selector for more comfort.
[gosa.git] / gosa-plugins / fai / admin / fai / faiScriptEntry.tpl
1 <input type="hidden" name="SubObjectFormSubmitted" value="1">
2 <table width="100%" summary="{t}FAI script{/t}">
3         <tr>
4                 <td valign="top" width="50%">
5                         <h3>{t}Generic{/t}</h3>
6                                 <table summary="{t}Generic settings{/t}">
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="{t}Priority configuration{/t}" 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 {render acl=$FAIscriptACL}
61             <textarea name="FAIscript" style="width:100%;height:300px;" id="FAIscript"  
62                                 rows="20" cols="120">{$FAIscript}</textarea>
63 {/render}
64 <br>
65 <div>
66 {render acl=$FAIscriptACL}
67         <input type="file" name="ImportFile">&nbsp;
68 {/render}
69 {render acl=$FAIscriptACL}
70         <button type='submit' name='ImportUpload'>{t}Import script{/t}</button>
72 {/render}
73 {render acl=$FAIscriptACL}
74         {$DownMe}
75 {/render}
76 </div>
77 <br>
78 <hr>
79 <div class="plugin-actions">
80 {if !$freeze}
81         <button type='submit' name='SaveSubObject'>{msgPool type=applyButton}</button>&nbsp;
82 {/if}
83         <button type='submit' name='CancelSubObject'>{msgPool type=cancelButton}</button>
84 </div>
85 <!-- Place cursor -->
86 <script language="JavaScript" type="text/javascript">
87   <!-- // First input field on page
88         focus_field('cn','description');
89   -->
90 </script>