Code

[COSMETIC] Most of the imgs are now centered vertically in most browsers.
[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>
7                                         <tr>
8                                                 <td>
9                                                         {t}Name{/t}{$must}&nbsp;
10                                                 </td>
11                                                 <td>
12                                                         <input value="{$cn}" size="45" maxsize="80" name="cn">
13                                                 </td>
14                                         </tr>
15                                         <tr>
16                                                 <td>
17                                                         {t}Description{/t}&nbsp;
18                                                 </td>
19                                                 <td>
20                                                         <input size="45" maxsize="80" value="{$description}" name="description">
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 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}">
39                                                 {html_options values=$FAIprioritys output=$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 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">&nbsp;
63         <input type="submit" name="ImportUpload" value="{t}Import script{/t}">
64 </div>
65 <br>
66 <div style="align:right;" align="right">
67         <input type="submit" value="{t}Apply{/t}"       name="SaveSubObject">&nbsp;
68         <input type="submit" value="{t}Cancel{/t}"      name="CancelSubObject">
69 </div>
70 <!-- Place cursor -->
71 <script language="JavaScript" type="text/javascript">
72   <!-- // First input field on page
73   document.mainform.cn.focus();
74   -->
75 </script>