1 {if $object == "server"}
2 <table summary="{t}Paste server{/t}">
3 <tr>
4 <td><LABEL for="cn">{t}Server name{/t}</LABEL>{$must}</td>
5 <td>
6 <input type='text' name="cn" id="cn" size=20 maxlength=60 value="{$cn}">
7 </td>
8 </tr>
9 </table>
10 {/if}
11 {if $object == "workstation"}
12 <table summary="{t}Paste workstation{/t}">
13 <tr>
14 <td><LABEL for="cn">{t}workstation name{/t}</LABEL>{$must}</td>
15 <td>
16 <input type='text' name="cn" id="cn" size=20 maxlength=60 value="{$cn}">
17 </td>
18 </tr>
19 </table>
20 {/if}
21 {if $object == "terminal"}
22 <table summary="{t}Paste terminal{/t}">
23 <tr>
24 <td><LABEL for="cn">{t}Terminal name{/t}</LABEL>{$must}</td>
25 <td>
26 <input type='text' name="cn" id="cn" size=20 maxlength=60 value="{$cn}">
27 </td>
28 </tr>
29 </table>
30 {/if}
31 {if $object == "printer"}
32 <table summary="{t}Paste printer{/t}">
33 <tr>
34 <td><LABEL for="cn">{t}Printer name{/t}</LABEL>{$must}</td>
35 <td>
36 <input type='text' name="cn" id="cn" size=20 maxlength=60 value="{$cn}">
37 </td>
38 </tr>
39 </table>
40 {/if}
41 {if $object == "component"}
42 <table summary="{t}Paste network component{/t}">
43 <tr>
44 <td><LABEL for="cn">{t}Component name{/t}</LABEL>{$must}</td>
45 <td>
46 <input type='text' name="cn" id="cn" size=20 maxlength=60 value="{$cn}">
47 </td>
48 </tr>
49 </table>
50 {/if}