Code

Layout improvements for generic view
[gosa.git] / plugins / gofon / macro / generic.tpl
1 <table width="100%">
2   <tr>
3     <td>
4                         <table>
5                         <tr>
6                                 <td>{t}Macro name{/t}{$must}</td>
7                                 <td><input name="cn" size=25 maxlength=60 value="{$cn}" title="{t}Macro name{/t}"></td>
8                         </tr>
9                         <tr>
10                                 <td>{t}Display name{/t}</td>
11                                 <td>
12                                         <input name="displayName" size=35 maxlength=60 value="{$displayName}" title="{t}Macro name to be displayed{/t}">
13                                 </td>
14                         </tr>
15                         <tr>
16                                         <td colspan=2><div style="height:15px;">
17                                         </td>
18                                 </tr>
19                         <tr>
20                                 <td>{t}Base{/t}{$must}</td>
21                                 <td>
22                                            <select size="1" name="base" title="{t}Choose subtree to place application in{/t}">
23                                                         {html_options options=$bases selected=$base_select}
24                                            </select>
25                                 </td>
26                         </tr>
27                         </table>
28                 </td>
29                 <td style="vertical-align:top;">
30                         <table>
31                         <tr>
32                                 <td>{t}Description{/t}</td>
33                                 <td>
34                                         <input name="description" size=35 maxlength=60 value="{$description}">
35                                 </td>
36                         </tr>
37                         <tr>
38                                 <td colspan=2>
39                                         <input type="checkbox" name="goFonMacroVisible" size=35 maxlength=60 value="1" {$goFonMacroVisibleChecked}> {t}Visible for user{/t}
40                                 </td>
41                         </tr>
42                         </table>
43                 </td>
44         </tr>
45 </table>
46 <br>
47 {t}Macro text{/t}
48 <br>
49 <textarea name="goFonMacroContent" style="width:99%;height:300px;font-size:14px;font-family:Arial;">{$goFonMacroContent}</textarea>
51 <!-- Place cursor -->
52 <script language="JavaScript" type="text/javascript">
53   <!-- // First input field on page
54   document.mainform.cn.focus();
55   -->
56 </script>