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><input {$disable_cn} name="cn" id="id" size=13 maxlength=13 value="{$cn}" {$cnACL} title="{t}Macro name{/t}"></td>
8 </tr>
9 <tr>
10 <td><LABEL for="displayName">{t}Display name{/t}</LABEL>{$must}</td>
11 <td>
12 <input {$displayNameACL} name="displayName" id="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>
17 </td>
18 </tr>
19 <tr>
20 <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
21 <td>
22 <select size="1" id="base" name="base" title="{t}Choose subtree to place macro in{/t}" {$baseACL}>
23 {html_options options=$bases selected=$base_select}
24 <option disabled> </option>
25 </select>
26 {if $baseACL == ""}
27 <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
28 {else}
29 <img src="images/folder_gray.png" class="center" title="{t}Select a base{/t}">
30 {/if}
31 </td>
32 </tr>
33 </table>
34 </td>
35 <td style="border-left:1px solid #A0A0A0">
36
37 </td>
38 <td style="vertical-align:top;">
39 <table summary="">
40 <tr>
41 <td><LABEL for="description">{t}Description{/t}</LABEL></td>
42 <td>
43 <input name="description" id="description" size=35 maxlength=80 value="{$description}" {$descriptionACL}>
44 </td>
45 </tr>
46 <tr>
47 <td colspan=2>
48 <input type="checkbox" name="goFonMacroVisible" size=35 maxlength=60 value="1" {$goFonMacroVisibleACL} {$goFonMacroVisibleChecked}> {t}Visible for user{/t}
49 </td>
50 </tr>
51 </table>
52 </td>
53 </tr>
54 </table>
55 <p class="seperator"> </p>
56 <br>
57 {t}Macro text{/t}
58 <br>
59 <textarea name="goFonMacroContent" style="width:99%;height:300px;font-size:14px;font-family:Arial;" {$goFonMacroContentACL}>{$goFonMacroContent}</textarea>
61 <!-- Place cursor -->
62 <script language="JavaScript" type="text/javascript">
63 <!-- // First input field on page
64 document.mainform.cn.focus();
65 -->
66 </script>