Code

Updated macro templates
[gosa.git] / gosa-plugins / gofon / gofon / macro / generic.tpl
1 <table width="100%" summary="">
2   <tr>
3     <td>
4                         <table summary="">
5                         <tr>
6                                 <td><LABEL for="cn">{t}Macro name{/t}</LABEL>{$must}</td>
7                                 <td>
8 {render acl=$cnACL}
9                                         <input type='text' name="cn" id="id" size=13 maxlength=13 value="{$cn}" title="{t}Macro name{/t}">
10 {/render}
11                                 </td>
12                         </tr>
13                         <tr>
14                                 <td><LABEL for="displayName">{t}Display name{/t}</LABEL>{$must}</td>
15                                 <td>
16 {render acl=$displayNameACL}
17                                         <input name="displayName" id="displayName" size=35 maxlength=60 value="{$displayName}" type='text' 
18                                                 title="{t}Macro name to be displayed{/t}">
19 {/render}
20                                 </td>
21                         </tr>
22                         <tr>
23                                         <td colspan=2>
24                                         </td>
25                                 </tr>
26                         <tr>
27                                 <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
28                                 <td>
29                                         {render acl=$baseACL}
30                                           {$base}
31                                         {/render}
32                                 </td>
33                         </tr>
34                         </table>
35                 </td>
36                 <td class='left-border'>
37                      &nbsp;
38                 </td>
39                 <td style="vertical-align:top;">
40                         <table summary="">
41                         <tr>
42                                 <td><LABEL for="description">{t}Description{/t}</LABEL></td>
43                                 <td>
44 {render acl=$descriptionACL}
45                                         <input type='text' name="description" id="description" size=35 maxlength=80 value="{$description}">
46 {/render}
47                                 </td>
48                         </tr>
49                         <tr>
50                                 <td colspan=2>
51 {render acl=$goFonMacroVisibleACL}
52                                         <input type="checkbox" name="goFonMacroVisible" size=35 maxlength=60 value="1" 
53                                                 {$goFonMacroVisibleChecked}> {t}Visible for user{/t}
54 {/render}
55                                 </td>
56                         </tr>
57                         </table>
58                 </td>
59         </tr>
60 </table>
61 <hr>
62 <br>
63 {t}Macro text{/t}
64 <br>
65 {render acl=$goFonMacroContentACL}
66 <textarea name="goFonMacroContent" style="width:99%;height:300px;font-size:14px;font-family:Arial;">{$goFonMacroContent}</textarea>
67 {/render}
69 <input type='hidden' name='gofonMacroGenericPosted' value='1'>
71 <!-- Place cursor -->
72 <script language="JavaScript" type="text/javascript">
73   <!-- // First input field on page
74         focus_field('cn');
75   -->
76 </script>