Code

Added branches container for old stuff
[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                         <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 {render acl=$cnACL}
13                                                         <input 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 size="45" maxlength="80" value="{$description}" name="description">
24 {/render}
25                                                 </td>
26                                         </tr>
27                                 </table>
28                 </td>
29                 <td style="border-left: 1px solid rgb(160, 160, 160);">
30            &nbsp;
31         </td>
32                 <td valign="top">
33                                 <h2><img class="center" alt="" src="plugins/fai/images/fai_script.png" align="middle" title="{t}Properties{/t}">&nbsp;{t}Script attributes{/t}</h2>
34                                 <table summary="" width="100%">
35                                         <tr>
36                                                 <td>
37                                                         <LABEL for="FAIpriority">
38                                                         {t}Priority{/t}
39                                                         </LABEL>
40                                                 </td>
41                                                 <td>
42 {render acl=$FAIpriorityACL}
43                                                     <select id="FAIpriority" name="FAIpriority" title="{t}Choose a priority. Low values result in an earlier, high values in a later execution.{/t}">
44                                                 {html_options options=$FAIprioritys selected=$FAIpriority}
45                                         </select>
46 {/render}
47                                                 </td>
48                                         </tr>
49                                 </table>
50                 </td>
51         </tr>
52 </table>
53 <p class="seperator">&nbsp;</p>
54 <h2><img class="center" alt="" src="plugins/fai/images/fai_script.png" align="middle" title="{t}Script attributes{/t}">&nbsp;
55         <LABEL for="FAIscript">
56                 {t}Script{/t}
57         </LABEL>
58         </h2>
59 <table summary="" width="99%">
60     <tr>
61         <td>
62 {render acl=$FAIscriptACL}
63             <textarea name="FAIscript" style="width:100%;height:300px;" id="FAIscript"  
64                                 rows="20" cols="120">{$FAIscript}</textarea>
65 {/render}
66         </td>
67     </tr>
68 </table>
69 <br>
70 <div>
71 {render acl=$FAIscriptACL}
72         <input type="file" name="ImportFile">&nbsp;
73 {/render}
74 {render acl=$FAIscriptACL}
75         <input type="submit" name="ImportUpload" value="{t}Import script{/t}">
76 {/render}
77 {render acl=$FAIscriptACL}
78         {$DownMe}
79 {/render}
80 </div>
81 <br>
82 <div style="align:right;" align="right">
83 {if !$freeze}
84         <input type="submit" value="{msgPool type=applyButton}"         name="SaveSubObject">&nbsp;
85 {/if}
86         <input type="submit" value="{msgPool type=cancelButton}"        name="CancelSubObject">
87 </div>
88 <!-- Place cursor -->
89 <script language="JavaScript" type="text/javascript">
90   <!-- // First input field on page
91         focus_field('cn','description');
92   -->
93 </script>