Code

ab9c5c15227e746bc6d27decb919533e9354f36a
[gosa.git] / plugins / 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                         <h2><img class="center" alt="" src="images/forward.png" align="middle" title="{t}Generic{/t}">&nbsp;{t}Generic{/t}</h2>
6                                 <table summary="">
7                                         <tr>
8                                                 <td>
9                                                         {t}Name{/t}{$must}&nbsp;
10                                                 </td>
11                                                 <td>
12                                                         <input value="{$cn}" size="45" maxlength="80" name="cn"  {$cnACL}>
13                                                 </td>
14                                         </tr>
15                                         <tr>
16                                                 <td>
17                                                         {t}Description{/t}&nbsp;
18                                                 </td>
19                                                 <td>
20                                                         <input size="45" maxlength="80" value="{$description}" name="description" {$descriptionACL}>
21                                                 </td>
22                                         </tr>
23                                 </table>
24                 </td>
25                 <td style="border-left: 1px solid rgb(160, 160, 160);">
26            &nbsp;
27         </td>
28                 <td valign="top">
29                                 <h2><img class="center" alt="" src="images/fai_script.png" align="middle" title="{t}Properties{/t}">&nbsp;{t}Script attributes{/t}</h2>
30                                 <table summary="" width="100%">
31                                         <tr>
32                                                 <td>
33                                                         <LABEL for="FAIpriority">
34                                                         {t}Priority{/t}
35                                                         </LABEL>
36                                                 </td>
37                                                 <td>
38                                                     <select name="FAIpriority" title="{t}Choose a priority{/t}" {$FAIpriorityACL}>
39                                                 {html_options options=$FAIprioritys selected=$FAIpriority}
40                                         </select>
41                                                 </td>
42                                         </tr>
43                                 </table>
44                 </td>
45         </tr>
46 </table>
47 <p class="seperator">&nbsp;</p>
48 <h2><img class="center" alt="" src="images/fai_script.png" align="middle" title="{t}Script attributes{/t}">&nbsp;
49         <LABEL for="FAIscript">
50                 {t}Script{/t}
51         </LABEL>
52         </h2>
53 <table summary="" width="99%">
54     <tr>
55         <td>
56             <textarea name="FAIscript" style="width:100%;height:300px;" id="FAIscript"  >{$FAIscript}</textarea>
57         </td>
58     </tr>
59 </table>
60 <br>
61 <div>
62         <input type="file" name="ImportFile"  {$FAIscriptACL}>&nbsp;
63         <input type="submit" name="ImportUpload" value="{t}Import script{/t}" {$FAIscriptACL}>
64         {$DownMe}
65 </div>
66 <br>
67 <div style="align:right;" align="right">
68         <input type="submit" value="{t}Apply{/t}"       name="SaveSubObject" {$cnACL}>&nbsp;
69         <input type="submit" value="{t}Cancel{/t}"      name="CancelSubObject">
70 </div>
71 <!-- Place cursor -->
72 <script language="JavaScript" type="text/javascript">
73   <!-- // First input field on page
74   document.mainform.cn.focus();
75   -->
76 </script>